Airports & layovers

Connecting at San Francisco (SFO): Airside Walkways, International Gates and Customs

How to connect at SFO: all terminals linked airside, the long walk between International A and G, and the customs steps after a flight from abroad.

By the Way4Fly travel desk · · 4 min read

Travelers walking through a bright post-security connector between terminals at San Francisco International Airport

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:

  1. Immigration. US citizens and permanent residents can often move faster with Global Entry or the Mobile Passport Control app.
  2. Baggage claim. Collect every checked bag, including any tagged through to another city.
  3. Customs. Declare what you need to; see what to declare at US customs.
  4. 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.
  5. 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.

Frequently asked questions

Are all SFO terminals connected after security?

Yes. Since the final phase of Harvey Milk Terminal 1 opened in 2024, all SFO terminals and boarding areas are linked airside, so you can walk between them without going through security again. The one gap is between International A and International G, which have no direct link.

Can you walk from International Terminal A to G at SFO airside?

Not directly. A and G have no airside link to each other, so you either walk the long way around through Terminals 1, 2 and 3, or leave security, cross the International Terminal main hall and rescreen at the other side.

Do I have to go through security again at SFO after an international flight?

Yes, if SFO is your first US airport. After immigration, baggage claim, customs and bag recheck, connecting passengers exit to the public area and clear security before their next flight.

Is the SFO AirTrain inside security?

No. The AirTrain runs landside, linking terminals, garages, the rental car center and BART. On a same-ticket connection, walk airside instead of leaving security for the AirTrain.

Which terminal does United use at SFO?

United uses Terminal 3 for domestic flights and International Terminal G for its long-haul flights and many Star Alliance partners. Check your boarding pass or the United app on the day, as gates can change.

Ready to compare live fares?

Every Way4Fly route guide loads live fares for that city pair, and the travel desk is open 24/7 if you would rather talk it through.

All articles

Way4Fly travel agent

24/7 travel help

Call a Way4Fly travel specialist