You can book tickets to Hampton Court Palace on the day of your visit at the ticket office. However, it is advisable to book your tickets in advance during peak times, like school holidays and events. This way, you can eliminate the hassle of standing in a long queue on the day of your visit and explore the attraction to the fullest. You can also keep a time slot of half an hour during peak times.