Browse by airline

A fast, easy-to-use flight route finder

Type in your origin and destination city and we will give you the best flight route options based on flight time and connection time along with airline and airports delays.

Flights from San Francisco to Madrid – Direct & connecting routes

Non-stop airlines Connecting flights Show map Price search

SFO to MAD flights and routes map SFO to MAD – All flight route options from San Francisco International, California, USA to Barajas, Spain. These flights are operated by 28 airlines. Fly non-stop with Iberia or choose from 30 different transit flights. The shortest flight time is 11 hours and 25 minutes. See the full flight schedule and time table, including departure times, airlines and stopover details to find the best option for you.

From
To
USA SFO San Francisco San Francisco, CA, USA
Spain MAD Barajas, Spain
SFO
San Francisco
USASan Francisco, CA, USA
Barajas
SpainMadrid, Spain
MAD

Non-stop route options:

Duration

Iberia
Non-stop with Iberia. 0-1 flights per day.
Tue,Thu & Sat

SHOW SCHEDULE
11h 25m

Tue,Thu & Sat
Iberia
Non-stop with Iberia.
11h 25m
0-1 flights per day.
Tue,Thu & Sat
SHOW SCHEDULE
CHECK PRICE FOR NON-STOP FLIGHTS
Ad

1 stop route options with the same airline:

Duration

Via Charlotte CLT
1 stop with American Airlines. 2 flights per day.

SHOW SCHEDULE
13h 34m

Via Charlotte CLT
1 stop with American Airlines.
13h 34m
2 flights per day.
SHOW SCHEDULE
Via Philadelphia PHL
1 stop with American Airlines. 0-1 flights per day.

SHOW SCHEDULE
14h 08m

Via Philadelphia PHL
1 stop with American Airlines.
14h 08m
0-1 flights per day.
SHOW SCHEDULE
Via Zurich ZRH
1 stop with SWISS. 0-1 flights per day.

SHOW SCHEDULE
14h 20m

Via Zurich ZRH
1 stop with SWISS.
14h 20m
0-1 flights per day.
SWISS.COM
SHOW SCHEDULE
Via Chicago ORD
1 stop with American Airlines.

SHOW SCHEDULE
14h 22m

Via Chicago ORD
1 stop with American Airlines.
14h 22m
SHOW SCHEDULE
Via Dulles IAD
1 stop with United Airlines.

SHOW SCHEDULE
14h 40m

Via Dulles IAD
1 stop with United Airlines.
14h 40m
SHOW SCHEDULE
Via Boston BOS
1 stop with JetBlue Airways.

SHOW SCHEDULE
14h 43m

Via Boston BOS
1 stop with JetBlue Airways.
14h 43m
SHOW SCHEDULE
Via Amsterdam AMS
1 stop with KLM. 0-1 flights per day.

SHOW SCHEDULE
14h 55m

Via Amsterdam AMS
1 stop with KLM.
14h 55m
0-1 flights per day.
SHOW SCHEDULE
Via Dallas DFW
1 stop with American Airlines. 2-3 flights per day.

SHOW SCHEDULE
15h 05m

Via Dallas DFW
1 stop with American Airlines.
15h 05m
2-3 flights per day.
SHOW SCHEDULE
Via New York JFK
1 stop with American Airlines. 1-2 flights per day.

SHOW SCHEDULE
15h 23m

Via New York JFK
1 stop with American Airlines.
15h 23m
1-2 flights per day.
SHOW SCHEDULE
Via Toronto YYZ
1 stop with Air Canada. 0-1 flights per day.
Only sundays

SHOW SCHEDULE
15h 30m

Only sundays
Via Toronto YYZ
1 stop with Air Canada.
15h 30m
0-1 flights per day.
Only sundays
SHOW SCHEDULE
Via Washington DCA
1 stop with United Airlines.
Only saturdays

SHOW SCHEDULE
15h 30m

Only saturdays
Via Washington DCA
1 stop with United Airlines.
15h 30m
Only saturdays
SHOW SCHEDULE
Via Paris CDG
1 stop with Air France. 1-2 flights per day.

SHOW SCHEDULE
15h 35m

Via Paris CDG
1 stop with Air France.
15h 35m
1-2 flights per day.
SHOW SCHEDULE
Via Lisbon LIS
1 stop with TAP Portugal. 0-1 flights per day.

SHOW SCHEDULE
15h 45m

Via Lisbon LIS
1 stop with TAP Portugal.
15h 45m
0-1 flights per day.
SHOW SCHEDULE
Via New York JFK
1 stop with Delta Air Lines. 2 flights per day.

SHOW SCHEDULE
15h 50m

Via New York JFK
1 stop with Delta Air Lines.
15h 50m
2 flights per day.
SHOW SCHEDULE
Via Miami MIA
1 stop with American Airlines.

SHOW SCHEDULE
15h 55m

Via Miami MIA
1 stop with American Airlines.
15h 55m
SHOW SCHEDULE
Via Montreal YUL
1 stop with Air Canada. 0-1 flights per day.
Tue,Thu & Sun

SHOW SCHEDULE
15h 58m

Tue,Thu & Sun
Via Montreal YUL
1 stop with Air Canada.
15h 58m
0-1 flights per day.
Tue,Thu & Sun
SHOW SCHEDULE
Via London LHR
1 stop with British Airways. 1-2 flights per day.

SHOW SCHEDULE
16h 00m

Via London LHR
1 stop with British Airways.
16h 00m
1-2 flights per day.
SHOW SCHEDULE
Via Barcelona BCN
1 stop with Iberia. 0-1 flights per day.

SHOW SCHEDULE
16h 10m

Via Barcelona BCN
1 stop with Iberia.
16h 10m
0-1 flights per day.
IBERIA.COM
SHOW SCHEDULE
Via Frankfurt FRA
1 stop with Lufthansa. 0-1 flights per day.

SHOW SCHEDULE
16h 25m

Via Frankfurt FRA
1 stop with Lufthansa.
16h 25m
0-1 flights per day.
SHOW SCHEDULE
Via New York EWR
1 stop with United Airlines. 2 flights per day.

SHOW SCHEDULE
16h 50m

Via New York EWR
1 stop with United Airlines.
16h 50m
2 flights per day.
SHOW SCHEDULE
Via Rome FCO
1 stop with ITA Airways. 0-1 flights per day.
Only saturdays

SHOW SCHEDULE
16h 55m

Only saturdays
Via Rome FCO
1 stop with ITA Airways.
16h 55m
0-1 flights per day.
Only saturdays
SHOW SCHEDULE
Via Atlanta ATL
1 stop with Delta Air Lines. 0-1 flights per day.
Mon,Wed & Fri

SHOW SCHEDULE
17h 00m

Mon,Wed & Fri
Via Atlanta ATL
1 stop with Delta Air Lines.
17h 00m
0-1 flights per day.
Mon,Wed & Fri
SHOW SCHEDULE
Via Dublin DUB
1 stop with Aer Lingus. 0-1 flights per day.
Only wednesdays

SHOW SCHEDULE
17h 30m

Only wednesdays
Via Dublin DUB
1 stop with Aer Lingus.
17h 30m
0-1 flights per day.
Only wednesdays
SHOW SCHEDULE
Via Munich MUC
1 stop with Lufthansa. 0-1 flights per day.

SHOW SCHEDULE
18h 00m

Via Munich MUC
1 stop with Lufthansa.
18h 00m
0-1 flights per day.
SHOW SCHEDULE
Via Mexico City MEX
1 stop with Aeromexico. 1-2 flights per day.

SHOW SCHEDULE
20h 41m

Via Mexico City MEX
1 stop with Aeromexico.
20h 41m
1-2 flights per day.
SHOW SCHEDULE
SELECT DATE & CHECK PRICE
Ad

1 stop route options with codeshare or different airlines:

Duration

Via Charlotte CLT With American Airlines & Finnair 2 flights per day.
CODESHARE

SHOW SCHEDULE
13h 34m

Via Charlotte CLT
13h 34m
With American Airlines & Finnair 2 flights per day.
CODESHARE
SHOW SCHEDULE
Via Toronto YYZ With Air Canada & Lufthansa 0-1 flights per day.
CODESHARE

SHOW SCHEDULE
14h 00m

Via Toronto YYZ
14h 00m
With Air Canada & Lufthansa 0-1 flights per day.
CODESHARE
SHOW SCHEDULE
Via Philadelphia PHL With American Airlines & Finnair 0-1 flights per day.
CODESHARE

SHOW SCHEDULE
14h 08m

Via Philadelphia PHL
14h 08m
With American Airlines & Finnair 0-1 flights per day.
CODESHARE
SHOW SCHEDULE
Via Chicago ORD 1 stop with American Airlines. 0-1 flights per day.
CODESHARE

SHOW SCHEDULE
14h 22m

Via Chicago ORD
14h 22m
1 stop with American Airlines. 0-1 flights per day.
CODESHARE
SHOW SCHEDULE
Via Lisbon LIS With TAP Portugal & Iberia 0-1 flights per day.
Wed & Fri

SHOW SCHEDULE
14h 55m

Wed & Fri
Via Lisbon LIS
14h 55m
With TAP Portugal & Iberia 0-1 flights per day.
Wed & Fri
SHOW SCHEDULE
Via Dallas DFW With American Airlines & Finnair 2-5 flights per day.
CODESHARE

SHOW SCHEDULE
15h 02m

Via Dallas DFW
15h 02m
With American Airlines & Finnair 2-5 flights per day.
CODESHARE
SHOW SCHEDULE
Via New York JFK 1 stop with American Airlines. 1-2 flights per day.
CODESHARE

SHOW SCHEDULE
15h 23m

Via New York JFK
15h 23m
1 stop with American Airlines. 1-2 flights per day.
CODESHARE
SHOW SCHEDULE
Via Dulles IAD With Alaska Airlines & American Airlines
CODESHARE

SHOW SCHEDULE
15h 30m

Via Dulles IAD
15h 30m
With Alaska Airlines & American Airlines
CODESHARE
SHOW SCHEDULE
Via London LHR 1 stop with American Airlines. 1-2 flights per day.
CODESHARE

SHOW SCHEDULE
15h 35m

Via London LHR
15h 35m
1 stop with American Airlines. 1-2 flights per day.
CODESHARE
SHOW SCHEDULE
Via Paris ORY With Air Caraibes & Iberia 0-1 flights per day.
Mon & Thu
CODESHARE

SHOW SCHEDULE
15h 35m

Mon & Thu
Via Paris ORY
15h 35m
With Air Caraibes & Iberia 0-1 flights per day.
Mon & Thu
CODESHARE
SHOW SCHEDULE
Via Miami MIA 1 stop with American Airlines. 0-1 flights per day.
CODESHARE

SHOW SCHEDULE
15h 55m

Via Miami MIA
15h 55m
1 stop with American Airlines. 0-1 flights per day.
CODESHARE
SHOW SCHEDULE
Via Montreal YUL With Air Canada & Lufthansa 0-1 flights per day.
Tue,Thu & Sun
CODESHARE

SHOW SCHEDULE
15h 58m

Tue,Thu & Sun
Via Montreal YUL
15h 58m
With Air Canada & Lufthansa 0-1 flights per day.
Tue,Thu & Sun
CODESHARE
SHOW SCHEDULE
Via Paris CDG With Air France & Iberia 0-1 flights per day.

SHOW SCHEDULE
16h 05m

Via Paris CDG
16h 05m
With Air France & Iberia 0-1 flights per day.
IBERIA.COM
SHOW SCHEDULE
Via Barcelona BCN With American Airlines & Iberia 0-2 flights per day.
CODESHARE

SHOW SCHEDULE
16h 10m

Via Barcelona BCN
16h 10m
With American Airlines & Iberia 0-2 flights per day.
CODESHARE
SHOW SCHEDULE
Via New York EWR With Alaska Airlines & American Airlines 1-2 flights per day.
CODESHARE

SHOW SCHEDULE
16h 15m

Via New York EWR
16h 15m
With Alaska Airlines & American Airlines 1-2 flights per day.
CODESHARE
SHOW SCHEDULE
Via Munich MUC With Lufthansa & Iberia 0-1 flights per day.

SHOW SCHEDULE
16h 25m

Via Munich MUC
16h 25m
With Lufthansa & Iberia 0-1 flights per day.
IBERIA.COM
SHOW SCHEDULE
Via Atlanta ATL 1 stop with Air France. 0-1 flights per day.
CODESHARE

SHOW SCHEDULE
16h 45m

Via Atlanta ATL
16h 45m
1 stop with Air France. 0-1 flights per day.
CODESHARE
SHOW SCHEDULE
Via Rome FCO With ITA Airways & Iberia 0-1 flights per day.
Only saturdays

SHOW SCHEDULE
17h 05m

Only saturdays
Via Rome FCO
17h 05m
With ITA Airways & Iberia 0-1 flights per day.
Only saturdays
SHOW SCHEDULE
Via Boston BOS With Alaska Airlines & American Airlines 0-1 flights per day.
CODESHARE

SHOW SCHEDULE
17h 05m

Via Boston BOS
17h 05m
With Alaska Airlines & American Airlines 0-1 flights per day.
CODESHARE
SHOW SCHEDULE
Via Ontario ONT With United Airlines & American Airlines 0-1 flights per day.
Wed,Fri & Sun
CODESHARE

SHOW SCHEDULE
17h 17m

Wed,Fri & Sun
Via Ontario ONT
17h 17m
With United Airlines & American Airlines 0-1 flights per day.
Wed,Fri & Sun
CODESHARE
SHOW SCHEDULE
Via Amsterdam AMS 1 stop with Delta Air Lines. 0-1 flights per day.
CODESHARE

SHOW SCHEDULE
17h 20m

Via Amsterdam AMS
17h 20m
1 stop with Delta Air Lines. 0-1 flights per day.
CODESHARE
SHOW SCHEDULE
Via Washington DCA With Alaska Airlines & American Airlines 0-1 flights per day.
Only saturdays
CODESHARE

SHOW SCHEDULE
17h 25m

Only saturdays
Via Washington DCA
17h 25m
With Alaska Airlines & American Airlines 0-1 flights per day.
Only saturdays
CODESHARE
SHOW SCHEDULE
Via Los Angeles LAX 1 stop with American Airlines. 0-1 flights per day.
Wed,Fri & Sun
CODESHARE

SHOW SCHEDULE
17h 30m

Wed,Fri & Sun
Via Los Angeles LAX
17h 30m
1 stop with American Airlines. 0-1 flights per day.
Wed,Fri & Sun
CODESHARE
SHOW SCHEDULE
Via Dublin DUB With Aer Lingus & Iberia 0-1 flights per day.
Only wednesdays
CODESHARE

SHOW SCHEDULE
17h 30m

Only wednesdays
Via Dublin DUB
17h 30m
With Aer Lingus & Iberia 0-1 flights per day.
Only wednesdays
CODESHARE
SHOW SCHEDULE
Via Zurich ZRH With SWISS & Iberia 0-1 flights per day.

SHOW SCHEDULE
17h 40m

Via Zurich ZRH
17h 40m
With SWISS & Iberia 0-1 flights per day.
SWISS.COM
SHOW SCHEDULE
Via Frankfurt FRA With Lufthansa & Iberia 1-2 flights per day.
CODESHARE

SHOW SCHEDULE
18h 20m

Via Frankfurt FRA
18h 20m
With Lufthansa & Iberia 1-2 flights per day.
CODESHARE
SHOW SCHEDULE
Via Copenhagen CPH With Scandinavian Airlines & Iberia

SHOW SCHEDULE
18h 20m

Via Copenhagen CPH
18h 20m
With Scandinavian Airlines & Iberia
IBERIA.COM
SHOW SCHEDULE
Via New York LGA With United Airlines & American Airlines 0-1 flights per day.
CODESHARE

SHOW SCHEDULE
19h 00m

Via New York LGA
19h 00m
With United Airlines & American Airlines 0-1 flights per day.
CODESHARE
SHOW SCHEDULE
Via Mexico City MEX With Aeromexico & Iberia 1-2 flights per day.

SHOW SCHEDULE
19h 04m

Via Mexico City MEX
19h 04m
With Aeromexico & Iberia 1-2 flights per day.
IBERIA.COM
SHOW SCHEDULE
Via Cancun CUN With United Airlines & Aeromexico 0-1 flights per day.
CODESHARE

SHOW SCHEDULE
19h 20m

Via Cancun CUN
19h 20m
With United Airlines & Aeromexico 0-1 flights per day.
CODESHARE
SHOW SCHEDULE
SELECT DATE & CHECK PRICE
Find the best prices on hotels and car rental near Barajas

We got great deals on hotels and car rentals near the airport.

Barajas HOTEL PRICES
Barajas CAR-RENTAL
Ad

San Francisco to Madrid flights

There are over 31 airlines and as many as 1813 flights every week to this destination. You can fly non-stop to Madrid (MAD) from San Francisco (SFO) with Iberia but if a stopover option suits you better you can choose to fly via Charlotte, Philadelphia or any other of the 30 alternatives with connectiing airports.

San Francisco to Madrid with Iberia

You can fly non-stop every Tuesday, Thursday or Saturday at 17:45. You also have the option to do a transit flight via Barcelona. Iberia is a member of the air alliance OneWorld.

Note Non-stop flights with Iberia will begin in May 2025.

With American Airlines

American Airlines is a member of the air alliance OneWorld.

Distance & flight times: SFO Airport to Barajas

The shortest flight time between SFO and MAD is 11 hours and 25 minutes.

ViaTotal flight timeLayover timeDistance
Direct11h 25m-5831 miles (9382 km)
CLT Charlotte13h 34m1h 44m6425 miles (10338 km)
PHL Philadelphia14h 8m48m6222 miles (10011 km)
ORD Chicago14h 22m2h 15m6066 miles (9760 km)
LIS Lisbon14h 55m1h 5m6019 miles (9685 km)
DFW Dallas15h 5m4h 11m6451 miles (10380 km)
JFK New York15h 23m1h 50m6194 miles (9966 km)
IAD Dulles15h 30m1h 10m6254 miles (10063 km)
YYZ Toronto15h 30m3h 45m6052 miles (9738 km)
LHR London15h 35m1h 25m6161 miles (9913 km)
CDG Paris15h 35m3h 45m6264 miles (10079 km)
ORY Paris15h 35m3h 30m6252 miles (10059 km)
MIA Miami15h 55m1h 57m7035 miles (11319 km)
YUL Montreal15h 58m2h 25m6015 miles (9678 km)
BCN Barcelona16h 10m1h 15m6290 miles (10121 km)
EWR New York16h 15m--
MUC Munich16h 25m2h 35m6831 miles (10991 km)
ATL Atlanta16h 45m--
FCO Rome16h 55m3h 15m7114 miles (11446 km)
BOS Boston17h 5m4h 14m6132 miles (9866 km)
ONT Ontario17h 17m--
AMS Amsterdam17h 20m4h 25m6401 miles (10299 km)
DCA Washington17h 25m--
LAX Los Angeles17h 30m4h 57m6204 miles (9982 km)
DUB Dublin17h 30m4h 50m6021 miles (9688 km)
ZRH Zurich17h 40m4h 30m6632 miles (10671 km)
CPH Copenhagen18h 20m4h 30m6790 miles (10925 km)
FRA Frankfurt18h 20m5h 0m6604 miles (10626 km)
LGA New York19h 0m--
CUN Cancun19h 20m4h 28m7393 miles (11895 km)
MEX Mexico City20h 41m2h 25m7557 miles (12159 km)
The flight times and layover times in the table above are approximate and may vary depending on flight number, aircraft, airline, weather, and time of day.SFO-MAD flight routesSan Francisco to Madrid flight routes illustrated on a map.
Ad
San Francisco - Madrid route map and flight paths
CHECK PRICES FOR SFO - MAD
Quick copy and share this page
URL copied to clipboard!
Ad
Show all destinations from SFO Show all destinations from MAD

From San Francisco to Spain

Below is a list of other destinations to Spain from San Francisco International with either direct flights or 1 stop connections.


From USA to Madrid

Below is a list of other cities in USA with flights to Madrid with either non-stop or connecting flights.

You can fly non-stop from San Francisco (SFO) to Madrid (MAD) with Iberia. The flight takes approximately 11 hours and 25 minutes. If you travel with a connecting flight instead, for example via Charlotte, the total flight time will be 13 hours and 34 minutes.

If you're interested in direct flights, Iberia is available. For flights with stopovers, American Airlines, TAP Portugal, Iberia, Alaska Airlines, Air Canada, Air France, Air Caraibes, Lufthansa, ITA Airways, United Airlines, Delta Air Lines, Aer Lingus, SWISS, Scandinavian Airlines or Aeromexico is also an option.

The flight time between San Francisco (SFO) and Barajas (MAD) is approximately 11 hours and 25 minutes. The distance between the two airports is 6194 miles (or 9966 kilometers).

Yes, you can fly non-stop to MAD from SFO with Iberia.

A codeshare agreement means that cooperating airlines are able to sell seats on each other’s flights. This means that you are able to travel to more destinations than your airline of choice normally offers. Codeshare flights are also beneficial because of the seamless transits you can get with connecting flights from the same airline. The downside of choosing a codeshare flight can be that you in some cases can’t upgrade codeshare flights or use elite benefits.

A connecting or transit flight means that you reach your final destination through two or more flights – in other words a non-direct flight. You will change to a new aircraft after your first flight, this may include moving to another terminal at the airport aswell. The time required to transfer passengers and luggage between flights is called Minimum Connecting Time (MCT) and are always taken into account here on Flightroutes.com.

If you bought your whole flight on a single ticket, the airline will book you on the next available connecting flight.

With connecting flights, checked in luggage is most commonly forwarded to your final destination when buying a single ticket for both flights.

If you miss your connecting flight due to circumstances outside your control such as your first flight being delayed, you should turn to your airline who will provide you with a seat on the next available flight. This is usually done free of charge, and only applies if you purchased your trip as one ticket. If the next connecting flight is the following day, the airline usually provides accommodation and meals.
Ad
Search price