The guards at Buckingham Palace and St James Palace are on duty for 24 or 48 hours. During that time a Guardsman will have 2 hours on sentry duty and then 4 hours off.