Find Cheap Flights from San Francisco to Madrid Barajas (SFO - MAD)

Search hundreds of travel sites at once for deals on flights to Madrid Barajas

Sat 2/17
Sat 2/24
Any month
Compare vs. KAYAK |

Good to Know

Low Season:
March
Best time to beat the crowds
3%
expected price decrease
High Season:
July
Most popular time to fly
16%
expected price increase
Average Price:
$1019
(avg. price over the last 2 weeks)
Good Deal:
$885
or less (round trip)

When to Book Flights from San Francisco to Madrid Barajas

Average price per month
Flight prices as travel date approaches
-1 day
-2 days

Top tips for Finding a Cheap Flight

Looking for a cheap flight? 25% of our users found flights on this route for $885 or less.
The cheapest flight from San Francisco to Madrid Barajas was found 39 days before departure, on average.
Book at least 4 weeks before departure in order to get a below-average price.
High season is considered to be June, July and August. The cheapest month to fly is March.
Morning departure is around 4% more expensive than an evening flight, on average*.
*Average of the lowest prices shown in KAYAK’s search results for departures within the next 30 days

FAQs for Booking San Francisco to Madrid Barajas Flights

How long does a flight from San Francisco to Madrid Barajas take?
An average nonstop flight takes 11h 05m, covering a distance of 5799 miles.
Which airlines provide the cheapest flights from San Francisco to Madrid Barajas?
In the past 3 days, the cheapest round-trip tickets were found on Finnair ($593), British Airways ($623) and Iberia ($632).
Do I need a passport to fly between San Francisco and Madrid Barajas?
Yes.
What’s the cheapest day of the week to fly San Francisco to Madrid Barajas?
For San Francisco to Madrid Barajas, Wednesday is the cheapest day to fly on average and Saturday is the most expensive. Flying from Madrid Barajas back to San Francisco, the best deals are generally found on Thursday, with Sunday being the most expensive.

Book cheap flights from San Francisco to Madrid Barajas (round-trip)

Airports
Origin
San Francisco
$593
only
$593
Destination
Madrid
$593
only
$593
Wed, Apr 25
SFO
MAD
11h 20m
Wed, May 16
MAD
SFO
12h 45m
Trip: 22 days
7.7GoodShow reviews
Overall 7.7 Good
Based on 2905 reviews
Overall
7.9
Boarding
8.0
Comfort
7.5
Crew
8.3
Entertainment
7.3
Food
7.2
LHR
HEL
Excellent 10.0

Great service on biz class, comfortable seat, quiet airplane (A350).

I liked it all.

HEL
NRT
Excellent 9.3

I really enjoyed the whole flight - Finnair is definitely one of the best airlines.

I wish there was a bigger choice of classical music in the entertainment program.

HEL
LHR
Excellent 10.0

I think this airline has an attention to detail and level of service which surpasses most other airlines. Whilst remaining competitive these factors make traveling with Finnair a far more comfortable and attractive proposition for me. In addition, Helsinki airport must be one of the best around.

LED
HEL
Excellent 9.2

I liked that there was a smaller airplane on LED - HEL route: it gives more "feeling of flying" than the bigger planes do.

I didn't like the fact that it was not indicated in advance (when the tickets are sold) that LED - HEL route is operated by a different airline, even though that airline is a Finnair's partner. It would have been better to have a complete information up front. But the airplane and crew were excellent.

HEL
TXL
Okay 5.6

my luggage was misplaced and I didnt have it for 3 days.

Wed, Aug 22
SFO
MAD
11h 05m
Fri, Aug 31
MAD
SFO
12h 45m
Trip: 10 days
7.3GoodShow reviews
Overall 7.3 Good
Based on 15361 reviews
Overall
7.5
Boarding
7.6
Comfort
7.2
Crew
8.0
Entertainment
7.0
Food
6.9
BCN
LHR
Okay 4.6

Arm rest not going up for 11 hour flight not good . Trash not collected

MAN
LHR
Excellent 10.0

New plane. Good leg room. Good service overall.

LHR
AMS
Good 6.0

Carrier was small. Crew could have been more helpful and courteous.

BWI
LHR
Good 6.0

Sitting in exist row with leg room

Seats are small, not enough elbow space. Movie selection was bad.

LHR
MAD
Excellent 9.6

Cabin Crew flight data punctuality

That I had to PAY for water to drink that was not tap water No room for my carry-on in overhead bins...took some arranging.

Fri, Apr 27
SFO
MAD
11h 20m
Sun, May 6
MAD
SFO
32h 05m
Trip: 10 days
7.2GoodShow reviews
Overall 7.2 Good
Based on 3480 reviews
Overall
7.4
Boarding
7.5
Comfort
7.1
Crew
7.8
Entertainment
7.1
Food
6.7
OAK
BCN
Excellent 8.0

Good organization and time on flight.

In 10 hours never offered water.

ORD
MAD
Excellent 10.0

I loved being offered newspapers before takeoff. in-flight entertainment had a good selection, food was good, and there was a decent amount of space on this flight because it was relatively empty.

ORD
MAD
Good 7.6

The business class seat was extremely comfortable.

The touch-screen was very difficult to navigate. It didn't respond very well when touched.

MAD
JFK
Mediocre 2.0

Almost nothing!

Seats small and uncomfortable. My seat did not recline for 8 1/2-9 hours (middle seat-even after told it was a good seat). My sons entertainment screen did not work for the last 3 1/2 hours. The stewardess’ didn’t even respond to the call light and after myself and sister walked back there, nothing was done. Stewardess’ sat and talked in the back and never walked around. When the finally brought drinks, never even asked why the light was on. They also were extremely unfriendly because our incoming flight from Malaga was late . All 4 pieces of luggage missed the flight and in NYC we had to ask for robes to sleep in and tooth brushes. we felt horrible flying the next day. Three pieces of luggage came 2 days later that we had to go back to airport to get. The fourth was delivered one week later with only 3 wheels!

BCN
OAK
Excellent 9.0

Very friendly

Food

Fri, Mar 2
SFO
MAD
31h 05m
Wed, Mar 7
MAD
SFO
32h 58m
Trip: 6 days
Overall 0.0 Poor
Based on 0 reviews
Tue, Jul 17
SFO
MAD
16h 05m
Tue, Sep 11
MAD
SFO
16h 45m
Trip: 57 days
7.8GoodShow reviews
Overall 7.8 Good
Based on 16027 reviews
Overall
8.0
Boarding
8.1
Comfort
7.8
Crew
8.4
Entertainment
7.5
Food
7.4
GDL
ATL
Excellent 9.0

Staff was great!

No TV for movies.

SJC
SLC
Excellent 8.8

Good clean aircraft. Fairly comfortable seats. Even had a power outlet in my row. Not too bad for an aircraft from the late 70s.

for some reason, i had to pay to gate check a bag. It didnt seem like anyone else did while boarding my flight.

BOS
JFK
Excellent 9.3

The volume controls on the tv we’re pretty poor. Was either too loud or too soft with only 5-6 volume settings.

DTW
YOW
Excellent 9.3

Please see above. Sherry was amazing

Plane was small and older but it was a short flight

ATL
JNB
Okay 4.0

Aircraft seemed shabby despite refresh of Comfort Plus, food was really mediocre. Steer clear of the Asian Veg option.

Mon, Jul 16
SFO
MAD
11h 05m
Wed, Jul 25
MAD
SFO
12h 45m
Trip: 10 days
7.2GoodShow reviews
Overall 7.2 Good
Based on 28211 reviews
Overall
7.4
Boarding
7.5
Comfort
7.1
Crew
7.8
Entertainment
6.7
Food
6.7
DFW
FLL
Excellent 8.0

No issues at all

N/A

CLT
ILM
Mediocre 3.0

Three hours delay. I paid for a upgrade to first class. But because of the flight change i didn't get to keep my upgrade and I had to beg for a refund. I have had two trips in the past 5 days and all flights have been anywhere from 1 to 3 hours late. Worst experience with AA I have had in a long time.

LHR
ORD
Mediocre 2.0

Nothing really. I will never book from Kayak ever

Everything

LAS
DFW
Excellent 8.0

Flight was punctual and service was good.

Gate change

SJU
MIA
Excellent 9.3

New onboard entertainment

Wed, Feb 28
SFO
MAD
37h 25m
Tue, Mar 6
MAD
SFO
37h 25m
$1129
Trip: 7 days
8.0ExcellentShow reviews
Overall 8.0 Excellent
Based on 17979 reviews
Overall
8.0
Boarding
7.9
Comfort
7.8
Crew
8.3
Entertainment
8.1
Food
7.9
IST
LHR
Excellent 9.0

Food was great so was service

All was good

IST
NKC
Good 6.0

Boarding process chaotic due to conflicting flow of movement in the aisle. People don't like to step aside to let others pass. Additionally some of carry on luggage was oversized and should have been checked into the cargo hold. When flight landed in Nouakchott an announcement should have been made so that the Dakar passengers allowed the NKC ones to deplane, AND the NKC passengers should have been advised to have their boarding passes out for inspection. This caused a backlog in the jetbridge. AND no announcement regarding local time.

IAH
IST
Excellent 9.0

Food

Leg room especially between Houston and Istanbul fo

IST
ORD
Excellent 10.0

Pilot was operating nicely, temperature was acceptable,

Cabin crews should pay more attention to elder people,

IST
SFO
Good 6.6

The entertainment, the food, the free wine.

The small space of the economy seating area. It was very crowded and the staff wasn’t too keen on taking plates from passengers after they’ve eaten so often we were stuck with our trays and couldn’t get up or move. Boarding was a pain from Istanbul. The security check was chaotic and I wish they had a more sanitary way of checking everyone’s bags instead of using the same pair of gloves to search every passenger’s bag and do a body check.

Wed, May 16
SFO
MAD
11h 20m
Wed, May 30
MAD
SFO
12h 45m
Trip: 15 days
7.7GoodShow reviews
Overall 7.7 Good
Based on 2905 reviews
Overall
7.9
Boarding
8.0
Comfort
7.5
Crew
8.3
Entertainment
7.3
Food
7.2
HEL
NRT
Excellent 9.3

I really enjoyed the whole flight - Finnair is definitely one of the best airlines.

I wish there was a bigger choice of classical music in the entertainment program.

HEL
TXL
Okay 5.6

my luggage was misplaced and I didnt have it for 3 days.

LHR
HEL
Excellent 10.0

Great service on biz class, comfortable seat, quiet airplane (A350).

I liked it all.

HEL
JFK
Okay 4.0

Staff wasn’t helpful and gave false information

HEL
LHR
Excellent 10.0

I think this airline has an attention to detail and level of service which surpasses most other airlines. Whilst remaining competitive these factors make traveling with Finnair a far more comfortable and attractive proposition for me. In addition, Helsinki airport must be one of the best around.

Wed, May 16
SFO
MAD
11h 20m
Wed, May 30
MAD
SFO
12h 45m
Trip: 15 days
7.7GoodShow reviews
Overall 7.7 Good
Based on 2905 reviews
Overall
7.9
Boarding
8.0
Comfort
7.5
Crew
8.3
Entertainment
7.3
Food
7.2
LHR
HEL
Excellent 10.0

Great service on biz class, comfortable seat, quiet airplane (A350).

I liked it all.

LED
HEL
Excellent 9.2

I liked that there was a smaller airplane on LED - HEL route: it gives more "feeling of flying" than the bigger planes do.

I didn't like the fact that it was not indicated in advance (when the tickets are sold) that LED - HEL route is operated by a different airline, even though that airline is a Finnair's partner. It would have been better to have a complete information up front. But the airplane and crew were excellent.

WAW
HEL
Excellent 8.6

Nice crew. Basic services. Early arrival.

JFK
HEL
Excellent 8.3

it was just okay. nothing spectacular.

my luggage was misplaced and I didnt have it for 3 days.

HEL
TXL
Okay 5.6

my luggage was misplaced and I didnt have it for 3 days.

Tue, Jul 17
SFO
MAD
15h 35m
Tue, Sep 11
MAD
SFO
16h 16m
Trip: 57 days
7.2GoodShow reviews
Overall 7.2 Good
Based on 3480 reviews
Overall
7.4
Boarding
7.5
Comfort
7.1
Crew
7.8
Entertainment
7.1
Food
6.7
ORD
MAD
Excellent 10.0

I loved being offered newspapers before takeoff. in-flight entertainment had a good selection, food was good, and there was a decent amount of space on this flight because it was relatively empty.

JFK
MAD
Excellent 8.0

Our seats was almost the last seat of all our flights, even we checked in very early.

JFK
MAD
Good 6.0

I paid for wifi and I could not use it. There was a problem with the connexion. So, I paid for nothing

MAD
JFK
Mediocre 2.0

Almost nothing!

Seats small and uncomfortable. My seat did not recline for 8 1/2-9 hours (middle seat-even after told it was a good seat). My sons entertainment screen did not work for the last 3 1/2 hours. The stewardess’ didn’t even respond to the call light and after myself and sister walked back there, nothing was done. Stewardess’ sat and talked in the back and never walked around. When the finally brought drinks, never even asked why the light was on. They also were extremely unfriendly because our incoming flight from Malaga was late . All 4 pieces of luggage missed the flight and in NYC we had to ask for robes to sleep in and tooth brushes. we felt horrible flying the next day. Three pieces of luggage came 2 days later that we had to go back to airport to get. The fourth was delivered one week later with only 3 wheels!

MAD
AGP
Excellent 8.0

Our seats was almost the last seat of all our flights, even we checked in very early.

Sat, Jul 21
SFO
MAD
18h 10m
Sat, Aug 11
MAD
SFO
19h 42m
Trip: 22 days
7.3GoodShow reviews
Overall 7.3 Good
Based on 15361 reviews
Overall
7.5
Boarding
7.6
Comfort
7.2
Crew
8.0
Entertainment
7.0
Food
6.9
YUL
LHR
Excellent 8.6

On time and staff

Too little space for seating!

LHR
AMS
Good 6.0

Carrier was small. Crew could have been more helpful and courteous.

LHR
SFO
Excellent 8.3

Flight was delayed by an hour.

LHR
MAD
Excellent 9.6

Cabin Crew flight data punctuality

That I had to PAY for water to drink that was not tap water No room for my carry-on in overhead bins...took some arranging.

MAN
LHR
Excellent 10.0

New plane. Good leg room. Good service overall.

Wed, Jun 6
SFO
MAD
11h 20m
Wed, Jun 20
MAD
SFO
12h 45m
Trip: 15 days
7.7GoodShow reviews
Overall 7.7 Good
Based on 2905 reviews
Overall
7.9
Boarding
8.0
Comfort
7.5
Crew
8.3
Entertainment
7.3
Food
7.2
HEL
BKK
Excellent 10.0

Super quiet and comfortable flight, dedicated service, punctuality.

I liked it all.

LED
HEL
Excellent 9.2

I liked that there was a smaller airplane on LED - HEL route: it gives more "feeling of flying" than the bigger planes do.

I didn't like the fact that it was not indicated in advance (when the tickets are sold) that LED - HEL route is operated by a different airline, even though that airline is a Finnair's partner. It would have been better to have a complete information up front. But the airplane and crew were excellent.

HEL
NRT
Excellent 9.3

I really enjoyed the whole flight - Finnair is definitely one of the best airlines.

I wish there was a bigger choice of classical music in the entertainment program.

HEL
TXL
Okay 5.6

my luggage was misplaced and I didnt have it for 3 days.

HEL
LHR
Excellent 10.0

I think this airline has an attention to detail and level of service which surpasses most other airlines. Whilst remaining competitive these factors make traveling with Finnair a far more comfortable and attractive proposition for me. In addition, Helsinki airport must be one of the best around.

Wed, Feb 28
SFO
MAD
18h 45m
Wed, Mar 7
MAD
SFO
22h 04m
Trip: 8 days
Overall 0.0 Poor
Based on 0 reviews
Sat, Jun 9
SFO
MAD
27h 41m
Sun, Jun 17
MAD
SFO
20h 08m
Trip: 9 days
7.2GoodShow reviews
Overall 7.2 Good
Based on 3480 reviews
Overall
7.4
Boarding
7.5
Comfort
7.1
Crew
7.8
Entertainment
7.1
Food
6.7
JFK
MAD
Good 6.0

I paid for wifi and I could not use it. There was a problem with the connexion. So, I paid for nothing

BCN
OAK
Excellent 9.0

Very friendly

Food

ORD
MAD
Good 7.6

The business class seat was extremely comfortable.

The touch-screen was very difficult to navigate. It didn't respond very well when touched.

ORD
MAD
Good 7.6

The crew members were all very kind!

Unfortunately, the wifi was not working the entire 8-hour flight.

MAD
JFK
Mediocre 2.0

Almost nothing!

Seats small and uncomfortable. My seat did not recline for 8 1/2-9 hours (middle seat-even after told it was a good seat). My sons entertainment screen did not work for the last 3 1/2 hours. The stewardess’ didn’t even respond to the call light and after myself and sister walked back there, nothing was done. Stewardess’ sat and talked in the back and never walked around. When the finally brought drinks, never even asked why the light was on. They also were extremely unfriendly because our incoming flight from Malaga was late . All 4 pieces of luggage missed the flight and in NYC we had to ask for robes to sleep in and tooth brushes. we felt horrible flying the next day. Three pieces of luggage came 2 days later that we had to go back to airport to get. The fourth was delivered one week later with only 3 wheels!

Tue, Jun 5
SFO
MAD
16h 15m
Thu, Jun 14
MAD
SFO
17h 11m
Trip: 10 days
7.7GoodShow reviews
Overall 7.7 Good
Based on 2905 reviews
Overall
7.9
Boarding
8.0
Comfort
7.5
Crew
8.3
Entertainment
7.3
Food
7.2
LED
HEL
Good 6.5

Nice crew that were helpful.

Small plane, cramped seating.

HEL
JFK
Okay 4.0

Staff wasn’t helpful and gave false information

HEL
LHR
Excellent 10.0

I think this airline has an attention to detail and level of service which surpasses most other airlines. Whilst remaining competitive these factors make traveling with Finnair a far more comfortable and attractive proposition for me. In addition, Helsinki airport must be one of the best around.

WAW
HEL
Excellent 8.6

Nice crew. Basic services. Early arrival.

JFK
HEL
Excellent 10.0

Very nice staff. Probably one of the best flights

Wed, Jun 6
SFO
MAD
11h 20m
Wed, Jun 20
MAD
SFO
12h 45m
Trip: 15 days
7.7GoodShow reviews
Overall 7.7 Good
Based on 2905 reviews
Overall
7.9
Boarding
8.0
Comfort
7.5
Crew
8.3
Entertainment
7.3
Food
7.2
HEL
NRT
Excellent 9.3

I really enjoyed the whole flight - Finnair is definitely one of the best airlines.

I wish there was a bigger choice of classical music in the entertainment program.

WAW
HEL
Excellent 8.6

Nice crew. Basic services. Early arrival.

JFK
HEL
Excellent 10.0

Very nice staff. Probably one of the best flights

HEL
JFK
Okay 4.0

Staff wasn’t helpful and gave false information

SVO
HEL
Good 6.5

The flight did eventually take off, unlike a few others leaving around the same time.

We were delayed several hours and were never told why. Mostly there were no Aeroflot staff at the gate to ask. When there was, they said they couldn't help us because our flight was a codeshare with FinnAir. At the last minute they switched gates, sending us all scurrying.

Fri, Jun 15
SFO
MAD
18h 45m
Fri, Jul 6
MAD
SFO
19h 42m
Trip: 22 days
7.3GoodShow reviews
Overall 7.3 Good
Based on 15361 reviews
Overall
7.5
Boarding
7.6
Comfort
7.2
Crew
8.0
Entertainment
7.0
Food
6.9
LHR
ATL
Good 7.3

The staff were professional. Boarding was orderly. The flight was smooth. The lavatories were clean.

As a tall man, even with an entire row to myself, it was impossible to be comfortable. I had to fold myself like origami to fit. My head and neck was pitched forward, even with the seat back reclined. You got me, next time I’ll spring for business class.

BWI
LHR
Good 6.0

Sitting in exist row with leg room

Seats are small, not enough elbow space. Movie selection was bad.

YYZ
LHR
Excellent 8.3

Customer service.

Entertainment need more movies

LAX
LHR
Excellent 9.0

Punctuality Happy demeanor of cabin crew Meal and Wine Service to standard class passengers Safety Video!! :-)

the actual meal was not very good. I would prefer an option of dried fruit and nuts and a big water

MAN
LHR
Excellent 10.0

New plane. Good leg room. Good service overall.

Sat, Jul 14
SFO
MAD
22h 50m
Sun, Jul 29
MAD
SFO
20h 08m
$1053
Trip: 16 days
7.3GoodShow reviews
Overall 7.3 Good
Based on 15361 reviews
Overall
7.5
Boarding
7.6
Comfort
7.2
Crew
8.0
Entertainment
7.0
Food
6.9
LAX
LHR
Excellent 9.0

Punctuality Happy demeanor of cabin crew Meal and Wine Service to standard class passengers Safety Video!! :-)

the actual meal was not very good. I would prefer an option of dried fruit and nuts and a big water

MAN
LHR
Excellent 10.0

New plane. Good leg room. Good service overall.

LHR
ATL
Good 7.3

The staff were professional. Boarding was orderly. The flight was smooth. The lavatories were clean.

As a tall man, even with an entire row to myself, it was impossible to be comfortable. I had to fold myself like origami to fit. My head and neck was pitched forward, even with the seat back reclined. You got me, next time I’ll spring for business class.

YYZ
LHR
Excellent 8.3

Customer service.

Entertainment need more movies

YUL
LHR
Excellent 8.6

On time and staff

Too little space for seating!

Sat, Mar 24
SFO
MAD
15h 05m
Sun, Apr 1
MAD
SFO
16h 43m
$1451
Trip: 9 days
7.2GoodShow reviews
Overall 7.2 Good
Based on 3480 reviews
Overall
7.4
Boarding
7.5
Comfort
7.1
Crew
7.8
Entertainment
7.1
Food
6.7
JFK
MAD
Excellent 8.0

Our seats was almost the last seat of all our flights, even we checked in very early.

OAK
BCN
Excellent 8.0

Good organization and time on flight.

In 10 hours never offered water.

JFK
MAD
Good 6.0

I paid for wifi and I could not use it. There was a problem with the connexion. So, I paid for nothing

ORD
MAD
Good 7.6

The crew members were all very kind!

Unfortunately, the wifi was not working the entire 8-hour flight.

ORD
MAD
Good 7.6

The business class seat was extremely comfortable.

The touch-screen was very difficult to navigate. It didn't respond very well when touched.

Show more results

San Francisco to Madrid Barajas Flight Information

Avg. Flight Duration 12h 00m
Flights Arrive in Madrid Barajas
Flights Depart from San Francisco
Flight Price $593
Distance 5799 miles
Airlines Finnair, British Airways, Iberia, Delta, American Airlines, Turkish Airlines
*
Prices are per person and are for e–tickets and include all taxes & fees in USD.

We attempt to get accurate prices, however, prices are not guaranteed.

Here's why:

We’re not the seller.
At KAYAK we don’t set the prices, so it’s not possible for us to guarantee what other companies are selling.

We compile tonnes of data for you
Our service lets you quickly and easily compare results from hundreds of travel sites at once. In this sense, KAYAK is a search engine and we can't guarantee prices we find.

Why aren’t prices accurate 100% of the time?
Prices on airline seats, hotel rooms and car rentals can change frequently. Several people may also be trying to buy the same travel option simultaneously. As a result, you may find, on occasion, that certain prices are no longer available.

If you have more questions or if you have a bad price to report to us,
please send us an and someone from our team will get back to you promptly.

^
The fares displayed include all taxes and fees for economy class travel and were found by the provider in the last 72 hours. Seats are limited and may not be available on all flights and days. Fares are subject to change and may not be available on all flights or dates of travel. Some carriers charge additional fees for extra checked bags. Please check the carriers' sites.