Question: how long in advance do you need to renew your passport?
Answer: Six months before your next planned trip (as you wouldn't need more than six months of validity before that trip). Seven months before the passport expiry date if you don't have a trip planned but want to ensure you will always have at least six months validity left for that unexpected last-minute holiday.