Having 7 hours between flights does not automatically mean you can step into the city. Passing border control treats you as entering the country—even for a 2-hour coffee run.
Airside (Staying Inside): If both flights are on a single ticket and your bags are checked through, you stay in the international transit zone without clearing passport control. Most nationalities do not need a visa for airside transit (exceptions include the US, Canada, and certain UK/Schengen transit nationalities).
Landside (Leaving the Airport): Stepping outside to visit the city—or collecting checked bags on a separate-ticket self-transfer—requires full entry eligibility for that country.
Travelers from 54 eligible countries (including the US, UK, Canada, Australia, and most EU nations) transiting through major Chinese hubs to a third country or region (e.g., London → Shanghai → Tokyo) can exit the airport visa-free for up to 240 hours with a confirmed onward ticket.
United States & Canada: Neither country has sterile airside transit zones. Every passenger—even on a 2-hour international connection—must clear full immigration (ESTA, eTA, or visa) and re-check bags.
United Kingdom & Schengen Hubs: Exiting Heathrow (LHR), Frankfurt (FRA), Amsterdam (AMS), or Paris (CDG) requires standard visitor entry clearance (such as the UK Electronic Travel Authorisation for visa-exempt visitors).
Hubs like Dubai (DXB), Doha (DOH), Istanbul (IST), and Singapore (SIN) offer visa-free entry or streamlined Visa-Free Transit Facilities (VFTF) for dozens of passports, making 6-to-10-hour city excursions straightforward.