You can purchase a travel insurance policy up to the day before you travel. However, our recommendation is to purchase as soon as possible; it doesn’t cost you more and you maximize your benefits.
www.squaremouth.com/travel-advice/what-is-the-latest-date-i-can-purchase-travel-insurance/