Route brief · SFO → MAD
San Francisco → Madrid
$733
round-trip · too little price history on this route to compare
Jun 4 '27 – Jun 13 '27 · 9 nights
TAP Air Portugal1 stop
Cached fare — the booking search re-prices live before you pay.
Destination briefMADMadridDinner at 10pm, museums at world-class density, and Iberia fare sales that border on typos.Best windowApr–Jun · Sep–OctAirportsBarajas (MAD)All routes into MadridWhen this route gets cheap.
Best time to be in Madrid: Apr–Jun · Sep–Oct. Fare history for this route is still thin, so we make no seasonal call yet.
The cheapest itinerary we are tracking makes one stop and takes about 12.5 hours outbound, on a 9-night trip — ticketed under TAP Air Portugal, which on a connecting fare need not operate every leg. At $733 for 9,318 km each way, that works out to about $39 per 1,000 km flown. That is below the $44 typical of long-haul fares here. Across the 16 departure cities we track at a similar distance from Madrid, this fare ranks 12th — 2.1× the $347 we hold from Miami. That puts it in the cheaper half of the 40 routes of similar length we watch out of San Francisco, where the middle fare is $796. We have 1 month of cached prices for this route so far — not enough to call a fare cheap or expensive, so we publish the price without a percentage.
The 2 days we hold a cached fare for
Tap a date → live search
The median cached fare across this calendar is 4% lower than when tracking began on Aug 8 — $1,006 then versus $967 now, across 4 recorded snapshots. This is a calendar-level trend, so an individual deal above can be lower. The lowest single day we have seen here is $843, on Nov 1.
These are the only days we have a cached price for on this route so far — not the only days it flies. The search above covers any date.
Route facts
- Airports
- SFO · Oakland (OAK) · San José (SJC) ↔ Barajas (MAD)
- Flight time
- ~12.5 hours outbound
- Distance
- ~9,318 km each way
- Airlines on the board
- TAP Air Portugal
- Itineraries
- Connections on current fares
- Best months to visit
- Apr–Jun · Sep–Oct
SF → MAD, answered.
How far in advance should I book SF → Madrid?
We do not publish a number for this, because we cannot measure it yet. Answering it honestly means watching the same departure date on this route over many weeks as it approaches, and that archive is still filling up — so any "book N days ahead" figure here would be borrowed from somewhere else rather than measured. See /guides/what-moves-a-flight-price/ for the levers we can measure.
Are there nonstop flights from San Francisco to Madrid?
The current cheapest fares involve a connection, ticketed under TAP Air Portugal. Nonstop options exist on many dates at higher prices — check the live search for your exact dates.
Are these prices guaranteed?
No — these are cached fares found on real searches (this one on September 1). Airlines reprice constantly, so the booking search re-checks the live price before you pay. Fresher finds are far more likely to still be available.
Next step
Sleeping in Madrid?
Lock the flight first — then compare stays for Jun 4 '27 – Jun 13 '27 · 9 nights.
Browse hotels ↗
Missed it?
Cached fares expire. This route has a feed of its own — follow it and the next SF → MAD drop reaches you as soon as we find it.
Follow SF → MAD