William was with the 1st Battalion Welsh Guards at their festive gathering for a holiday beer.
Prince William, who is the honorary colonel, was also present to serve pudding to the younger soldiers at the Windsor base on that day.
He was appointed Colonel of the Welsh Guards two years ago, assuming the role from his parent when he ascended the throne.
"Proud to be their colonel - and to serve pudding to them this year," he posted on his accounts.
"A massive thank you to the troops and their loved ones of the Welsh Guards for everything you do," he added.
Visiting the Welsh Guards has become an annual fixture for the future king, a relationship which dates back his year out when he accompanied them in the jungles of Belize.
He saw them last in the autumn for their weapons practice on Salisbury Plain.
The prince was taken through the training ground and shown equipment, including unmanned aircraft.
The battalion's senior operator rated his handling as "good", adding that the prince "could be trained up".
Earlier, he and the Catherine - who now has her husband's former role as Colonel of the Irish Guards - were at the regiment's March 1st parade in 2023.
After giving addresses, the pair took part in the ceremony of presenting handmade leeks to the troops to wear on their chests.
A Storied Regiment
The 1st Battalion has been prominent in a number of ceremonial events over the decades, including Queen Elizabeth's funeral and the King's 2023 coronation.
They have also been the focus of a number of films and features, including an acclaimed documentary about their tour.