The optimal booking time for domestic flights is usually one to three months before departure and three to five months for international flights.