Princes William and Harry formed a human chain to unload sandbags from an Army vehicle as they joined colleagues from the armed forces in helping to defend Datchet from the floods.
The private visit was unannounced but once news of their work spread, they were followed by journalists and cameramen.
Asked by ITV News whether he was enjoying helping, Prince Harry replied: "Not really with you guys around".
More top news
Justin Bieber is being sued for more than £50,000 after allegedly smashing the mobile phone of a man who was filming him.
President Barack Obama and First Lady Michelle Obama have celebrated Star Wars Day by getting down with R2-D2 and some storm troopers.
Police are appealing for information about two sisters aged 12 and five who went missing three days ago.