You will need to have at least six months left on your passport to travel to an EU country (much like you do now to travel to some non-EU countries) if we leave with no deal. And if you renewed your passport before it expired, then any extra months won't count either. In other words, your passport should not be any older than nine years and six months when you travel.