Whether you must get off the plane during a layover depends on the type of stop. On a standard connection, you must disembark the first aircraft and board a completely different plane at a new gate. On a "technical stop" or a "direct flight" with one stop (where the flight number stays the same), the airline may occasionally allow passengers to stay on board while others disembark, but in 2026, it is increasingly common for security regulations to require all passengers to exit so the cabin can be fully cleaned and security-checked. If you are on an international layover, you will almost always disembark to either go through "Transit Security" or, if you are entering the country, clear Customs and Immigration. You are generally free to leave the airport during a long layover (typically 6+ hours is recommended), provided you have the necessary visas for that country. Just remember that if you leave the terminal, you must clear security again to return to your gate, so always factor in at least two hours for the return process.