Seems obvious, but some places require that your passport is still valid up to 6 months after your visit. Plus you need to ensure you have space on the pages for stamps.