Alby Shale, a 22-year-old from Oxfordshire in southern England, began his marathon stand in the indoor nets at 6:45 am (0545 GMT) yesterday and finally declared his innings at 8:45 am today.
The attempt was in aid of the Rwanda Cricket Stadium Foundation -- a charity set up to build the first proper cricket ground in the African country.
The previous batting record of 25 hours was set in October by Australian batsman Jade Child.
"At the final ball he just sort of collapsed into a heap and everyone piled in on top of him," a spokesman for the attempt told AFP.
More From This Section
"Someone sprayed a bottle of champagne all over the place."
Shale faced around 200 bowlers in his spell at the crease -- including Prime Minister David Cameron, who turned up for a few overs.
The rules set down by Guinness World Records allowed only a five-minute break for every full hour completed -- to refuel and go to the toilet.