Pupils, parents and staff from King Edward's Junior School raised over £1,000 for Epilepsy Action during a sponsored cycle ride at Castle Combe Race Circuit.
A total of 89 cyclists pedalled 939 miles during one afternoon, crushing the record set at last year's fundraising event.
People took part on bikes, scooters and roller skates. The youngest person to take part was three-years-old and the oldest was 70.
Christopher Godwin, from year six cycled round the track fourteen times, pedalling 25.9 miles. The honours for the fastest lap time went to Oscar Shonfeld, from year four, who sped around the track in 6.11 minutes.
Greg Taylor, headteacher at King Edward's Junior School, said: "I cannot thank all of our families enough for taking part in the sponsored cycle.
"There was a buzz in the air as the 89 cyclists, scooterists and roller skaters began their adventure. There were tandem cyclists, single cyclists, adults and children, as well as those out for a leisurely afternoon ride and a cup of tea."