Every terminal at San Francisco International Airport (SFO) is now linked behind security, so a same-ticket domestic connection means walking to your next gate without a second TSA line. The catch is the shape of the airport: the two international boarding areas, A and G, sit at opposite ends of a ring, and there is no direct airside path between them. If you arrive from abroad, you clear US immigration and customs in the International Terminal, recheck your bags and go through security again before you reach your next gate.
How SFO is laid out
SFO's terminals form a ring around the central parking garage. Going around it you pass Harvey Milk Terminal 1, Terminal 2, Terminal 3 and the International Terminal, which has two separate boarding areas, International A and International G. A and G share one main hall on the public side but are not linked to each other behind security.
The last airside connector opened with the final phase of Harvey Milk Terminal 1 in 2024. Since then you can walk between all terminals and boarding areas without leaving security, with one exception: there is no direct airside path between International A and International G.
United, which runs its main West Coast hub here, uses Terminal 3 for domestic flights and International Terminal G for its long-haul flights and many Star Alliance partners. Other airlines are spread over Terminal 1, Terminal 2 and International A. Assignments change, so check your airline app on the day.
Domestic to domestic: walk the ring
On one ticket you stay airside and walk. A few practical points:
- Neighbors are quick. Terminal 2 to Terminal 3, or Terminal 3 to International G, is a short walk through the connectors.
- Opposite sides take longer. Going from one end of Terminal 1 to the far end of Terminal 3 means walking a large part of the ring.
- The AirTrain is landside. SFO's AirTrain links the terminals, garages, rental car center and the BART station, but it runs outside security. Do not leave the secure area to ride it on a same-ticket connection, or you will have to rescreen.
The International A to G problem
Because A and G have no direct airside link, a connection between them, for example from a partner airline at A onto a United flight at G, means either a very long airside walk through every domestic terminal or leaving security, crossing the public hall of the International Terminal, and rescreening at the other side. Which is faster depends on the security line at your departure side. If you have TSA PreCheck and the line at the far side looks short, leaving and rescreening can be the quicker option; otherwise stay airside and keep walking.
This matters most on separate tickets, where you may already have to go landside to check in again.
Arriving from abroad and connecting at SFO
If SFO is your first US airport, international flights arrive at the International Terminal, where you go through US Customs and Border Protection. The order is:
- Immigration. US citizens and permanent residents can often move faster with Global Entry or the Mobile Passport Control app.
- Baggage claim. Collect every checked bag, including any tagged through to another city.
- Customs. Declare what you need to; see what to declare at US customs.
- Bag recheck. Hand connecting bags back to your airline after customs. If they are not tagged through, check them in again at your airline's counter.
- Security again. After customs you are on the public side, so you clear TSA screening before your next flight.
After rescreening you can walk airside to any gate. The general logic of these steps is in clearing customs on a connecting flight at your first US airport; at SFO the point to watch is that your domestic gate may be in Terminal 1 or 2, on the far side of the ring.
Domestic flight in, international flight out
Arriving on a domestic flight and continuing overseas, you stay airside and walk toward International A or G. Check which one before you start walking: heading the wrong way around the ring is the most common way to turn a comfortable connection into a tight one. Long-haul boarding usually starts and closes earlier than on domestic flights.
How much connection time do you need at SFO?
SFO does not publish a single minimum. On one ticket, your airline only sells connections that meet its own minimum for that pair of terminals, and it rebooks you if a late first flight makes you miss the second. When you have a choice:
- Domestic, neighboring terminals: the airline's minimum is usually workable.
- International A to G or the reverse: choose a longer option, because the walk or the rescreen adds real time.
- International arrival to domestic flight: immigration lines vary with how many long-haul flights land together, so a longer layover is worth it.
- Separate tickets: add a wide margin. Our guide to minimum connection times on international layovers explains how airlines set these numbers.
Leaving the airport between flights
On a long layover, BART from the SFO station reaches downtown San Francisco; SFO to downtown San Francisco compares the options. If you are choosing an airport for a Bay Area trip in the first place, see SFO vs Oakland vs San Jose.
If you miss your connection
Use your airline's app or a transfer desk to rebook before you queue for anything else. Our guide on what to do after a missed connection lists your options.