Question: how long do you have to have a passport before you can leave the country?
Answer: Most countries require that a passport be valid for at least six months beyond the completion of a trip. If your passport expires sooner than that, you must apply to renew your passport.