In most countries, flight plans are required for flights under IFR, but may be optional for flying VFR unless crossing international borders. Flight plans are highly recommended, especially when flying over inhospitable areas such as water, as they provide a way of alerting rescuers if the flight is overdue.