Madrid

$402+ Cheap flights from San Francisco (SFO) to Madrid, Spain (MAD)

This is the cheapest one-way flight price found by a Cheapflights user in the last 72 hours by searching for a flight departing on 7/7. Fares are subject to change and may not be available on all flights or dates of travel.
SFO — MAD
Apr 9 — Apr 161
We work with more than 300 partners to bring you better travel deals

Find cheap flights from San Francisco to Madrid with Cheapflights

1. Tell us where you want to go

Enter your travel information like dates, passengers, trip type (one-way or round trip), and preferred cabin class then click “Find deals”

2. Select your favorite providers

We find the providers serving your travel needs. Choose up to four travel providers to compare side-by-side for flights, hotels, or car rentals.

3. Compare prices and book

Review each provider’s pricing and select the best option for you! Book through your favorite provider’s website for a seamless experience.

Cheapflights Tip: The best prices from San Francisco to Madrid Barajas are usually found in February or January, booked 35 days in advance, depart on a Tuesday or Monday and return on a Wednesday

Cheap flight deals from San Francisco to Madrid

Discover tips and strategies to find the most affordable flight options for your journey from San Francisco (SFO) to Madrid (MAD). Learn about various techniques such as flexible date searches, comparing prices across and setting up price alerts. Use these methods to find the cheapest flights available for your travel needs. Data last updated April 4, 2025.

Most accurate provider

FlightHub
3 stars

Most trusted provider

FlightHub
3 stars

Round-trip from

$582
(Finnair)

One-way from

$404
(Kiwi.com)

Popular in

June

Cheapest in

February

Average price

$736

Good round-trip deal

$1,031 or less

Good one-way deal

$656 or less
Provider with most accurate pricing for San Francisco-Madrid Barajas flight deals.
Provider most trusted by Cheapflights users for San Francisco-Madrid Barajas flights.
From San Francisco to Madrid Barajas
One-way flight from San Francisco to Madrid Barajas
Highest demand for flights based on searches. 22% potential increase in price ($238 potential increase over avg. RT price).
Cheapest flight prices on average. 4% potential price decrease ($32 potential savings vs. average RT price).
Average for round-trip flights in April 2025
Price to beat on a round-trip flight from San Francisco to Madrid Barajas.
Price to beat on a one-way flight from San Francisco to Madrid Barajas.

Find flight deals from San Francisco to Madrid

Cheapest flights from San Francisco to Madrid
Explore the most affordable flight options available from San Francisco to Madrid. Find the lowest fares from popular airlines and budget airlines, with prices last updated on April 4, 2025.

This Justfly.com deal was found by Cheapflights users on 4/3. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Justfly.com is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Mon 10/204:35 pmSFO - MAD
2 stops30h 15mAir Canada
Mon 11/312:15 pmMAD - SFO
1 stop18h 36mAir Canada
Deal found 4/3$581
This Finnair deal was found by Cheapflights users on 4/3. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Finnair is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Tue 5/65:45 pmSFO - MAD
Nonstop11h 25mFinnair
Tue 5/204:20 pmMAD - SFO
1 stop16h 46mFinnair
Deal found 4/3$582
This Orbitz deal was found by Cheapflights users on 4/3. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Orbitz is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Wed 5/74:20 pmSFO - MAD
1 stop14h 55mBritish Airways
Tue 5/1312:35 pmMAD - SFO
Nonstop12h 35mBritish Airways
Deal found 4/3$583
This Scandinavian Airlines deal was found by Cheapflights users on 4/2. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Scandinavian Airlines is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Tue 8/197:40 pmSFO - MAD
1 stop31h 30mScandinavian Airlines
Thu 9/1112:55 pmMAD - SFO
1 stop36h 35mScandinavian Airlines
Deal found 4/2$587
This Cheapflightsfares deal was found by Cheapflights users on 4/4. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Cheapflightsfares is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Sun 10/198:10 pmSFO - MAD
1 stop15h 10mIberia
Sun 10/267:40 amMAD - SFO
1 stop16h 20mIberia
Deal found 4/4$590
This United deal was found by Cheapflights users on 4/3. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure United is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Mon 4/148:20 amSFO - MAD
1 stop13h 20mUnited Airlines
Tue 5/612:45 pmMAD - SFO
2 stops40h 17mUnited Airlines
Deal found 4/3$594
This Delta deal was found by Cheapflights users on 4/2. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Delta is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Wed 8/137:00 amSFO - MAD
1 stop15h 50mDelta
Fri 9/512:40 pmMAD - SFO
1 stop17h 28mDelta
Deal found 4/2$595
This American Airlines deal was found by Cheapflights users on 4/4. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure American Airlines is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Tue 4/158:35 amSFO - MAD
1 stop16h 00mAmerican Airlines
Thu 4/244:40 pmMAD - SFO
1 stop15h 29mAmerican Airlines
Deal found 4/4$596
This Kiwi.com deal was found by Cheapflights users on 4/4. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Kiwi.com is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Tue 5/67:30 pmSFO - MAD
1 stop14h 15mSWISS
Wed 5/2110:05 amMAD - SFO
2 stops38h 30mSWISS
Deal found 4/4$606
This Air France deal was found by Cheapflights users on 4/3. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Air France is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Sun 4/133:05 pmSFO - MAD
1 stop23h 05mAir France
Wed 4/3010:05 amMAD - SFO
1 stop17h 02mAir France
Deal found 4/3$608
This KLM deal was found by Cheapflights users on 4/3. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure KLM is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Wed 4/231:45 pmSFO - MAD
1 stop24h 40mKLM
Mon 4/285:10 pmMAD - SFO
1 stop27h 35mKLM
Deal found 4/3$633
This Air Canada deal was found by Cheapflights users on 4/3. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Air Canada is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Tue 4/296:00 amSFO - MAD
2 stops15h 40mMultiple Airlines
Wed 5/76:00 amMAD - SFO
2 stops18h 35mMultiple Airlines
Deal found 4/3$637

Cheapflights Fare Finder

Customize your flight search to find flights from San Francisco to Madrid that fit within your specific budget. Explore options based on user searches and filter the results based on your desired price range. Find flights that match your budget for a cost-effective journey. Over the last 7 days, Cheapflights users made 2,558,603 searches. Data last updated April 4, 2025.
Use the filters below to find and compare flights from San Francisco to Madrid that are best for you.

Fly from

San Francisco

Fly to

Madrid

Route

Depart

Return

Price

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Tue 5/6

5:45 pm-2:10 pm

Nonstop11h 25m

Madrid Barajas

Tue 5/20

4:20 pm-12:06 am

1 stop16h 46m

$582

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Wed 5/7

4:20 pm-4:15 pm

1 stop14h 55m

Madrid Barajas

Tue 5/13

12:35 pm-4:10 pm

Nonstop12h 35m

$583

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Tue 8/19

7:40 pm-12:10 pm

1 stop31h 30m

Madrid Barajas

Thu 9/11

12:55 pm-4:30 pm

1 stop36h 35m

$587

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Mon 4/14

8:20 am-6:40 am

1 stop13h 20m

Madrid Barajas

Tue 5/6

12:45 pm-8:02 pm

2 stops40h 17m

$594

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Wed 8/13

6:00 am-9:35 am

1 stop18h 35m

Madrid Barajas

Tue 9/9

10:05 am-5:36 pm

1 stop16h 31m

$595

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Tue 4/15

8:35 am-9:35 am

1 stop16h 00m

Madrid Barajas

Thu 4/24

4:40 pm-11:09 pm

1 stop15h 29m

$596

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Tue 5/6

7:30 pm-6:45 pm

1 stop14h 15m

Madrid Barajas

Wed 5/21

10:05 am-3:35 pm

2 stops38h 30m

$606

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Mon 4/14

3:05 pm-4:45 pm

1 stop16h 40m

Madrid Barajas

Tue 4/29

10:05 am-6:07 pm

1 stop17h 02m

$608

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Sun 5/4

12:05 pm-6:40 am

2 stops33h 35m

Madrid Barajas

Thu 5/22

12:30 pm-11:11 pm

2 stops19h 41m

$620

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Wed 4/23

1:45 pm-11:25 pm

1 stop24h 40m

Madrid Barajas

Mon 4/28

5:10 pm-11:45 am

1 stop27h 35m

$633

Flights are sorted by cheapest round-trip flights first.

Deals found on 4/3

Showing 1-10 of 37 results
1
2
3
4

Compare providers for flights from San Francisco to Madrid

Provider information is updated monthly. Please note that these providers often have deals for this flight, but the availability may vary on a day-by-day basis on Cheapflights.
Use the table below to compare price accuracy, trust ratings, and cancellation policies for each provider offering flight deals from San Francisco to Madrid in April.
ProviderPrice AccuracyTrust Score*
ExpediaPrice Accuracy1 starTrust Score*3 stars
AranGrantPrice Accuracy3 starsTrust Score*1 star
FlightHubPrice Accuracy3 starsTrust Score*3 stars
eDreamsPrice Accuracy3 starsTrust Score*3 stars
Justfly.comPrice Accuracy3 starsTrust Score*3 stars
FlightsMojoPrice Accuracy-Trust Score*3 stars
GotogatePrice Accuracy3 starsTrust Score*3 stars
Kiwi.comPrice Accuracy3 starsTrust Score*2 stars
ScholarTripPrice Accuracy3 starsTrust Score*3 stars
GurufarePrice Accuracy3 starsTrust Score*3 stars

*The Trust Score is based on feedback from users after their booking experience. It measures overall satisfaction, helping us identify issues like hidden fees, problems during the ticketing process, and the quality of customer service. This score is our best indicator of the provider's quality and reliability.

  • Most accurate provider: When it comes to deals on San Francisco-Madrid flights, users find the pricing of FlightHub to be most consistent on Cheapflights vs. FlightHub Users can find the same prices on San Francisco-Madrid flight deals on Cheapflights vs. FlightHub >95% of the time. Price accuracy is based on data collected from San Francisco-Madrid flight searches over the past month and is updated monthly.
  • Most trusted provider: When it comes to deals on San Francisco-Madrid flights, Cheapflights users trust FlightHub the most. FlightHub has received a user feedback score of 3 out of 3 stars (3 being the best), meaning they have been trusted the most by Cheapflights users looking for San Francisco-Madrid flight deals. Provider user feedback score is based on Cheapflights searches over the past month and is updated monthly.

Best time to book a flight from San Francisco to Madrid

Have a flexible travel schedule? Discover the best time to fly to Madrid from San Francisco with our price prediction graph.
Estimated round-trip price
Rates are based on past data. Find the cheapest month and day to book your flight based on your travel requirements, then search for cheap deals.

Cheapflights Insights

Everything you need to know about your flight from San Francisco to Madrid

How far ahead should I book a flight from San Francisco to Madrid?

Use this chart to determine the optimal time to book a round-trip flight from San Francisco to Madrid. Price data was last updated on March 28, 2025.

To ensure you get the cheapest price possible for a flight from San Francisco to Madrid, you should look to book at least 35 days in advance of your intended travel date. The price of your flight may increase if you delay and leave booking until a week or so before departure.

What is the cheapest month to book a flight from San Francisco to Madrid?

Currently, November is the cheapest month in which you can book a flight from San Francisco to Madrid (average of $543). Flying from San Francisco to Madrid in June is currently the most expensive (average of $1,101). There are several factors that can impact the price of a flight, so comparing airlines, departure airports and flight times can provide users with more options.

What is the cheapest time of day to fly from SFO to MAD?

Find hourly flight availability from San Francisco to Madrid. Discover flight options and departure times throughout the day, allowing you to choose a departure time that suits your schedule. Data last updated April 4, 2025.

Unlike in the afternoon, when flights are generally more expensive, you can save up to 40% on flights from San Francisco to Madrid by exploring options for tickets in the evening.

What is the cheapest day to fly from San Francisco to Madrid?

Use this chart to determine the cheapest time to fly round-trip from San Francisco to Madrid. Price data was last updated on December 16, 2024.

Travelers seeking maximum savings on their San Francisco to Madrid flight should consider departing on Saturday evenings when fares are most often at their lowest. Friday afternoons flights should be avoided if possible as fares are typically the most expensive at this time.

Rainfall in Madrid by month

Plan your trip to Madrid by taking into account the average rainfall totals by month.

In terms of precipitation, rainfall in Madrid ranges from 0.4 - 2.4 inches per month. November is typically the wettest month, when rainfall can reach 2.4 in. July is typically the driest time to visit Madrid when rainfall is around 0.4 in.

Temperature in Madrid by month

Plan your trip to Madrid by taking into account the average temperature totals by month.

If weather is an important factor for your trip to Madrid, use this chart to help with planning. For those seeking warmer temperatures, July is the ideal time of year to visit, when temperatures reach an average of 77.0 F. Travelers looking to avoid the cold should look outside of January, when temperatures are typically at their lowest (around 41.0 F).

Reviews of airlines servicing Madrid

Get insights into the airlines that provide service to Madrid. Read reviews, discover amenities, and learn about the overall travel experience offered by airlines. Use this information to make informed decisions when choosing an airline for your flight to Madrid. Reviews last updated April 4, 2025.
To help decide which airline to fly from San Francisco to Madrid, see what other customers have to say about Delta, KLM and Finnair. You can also see how each airline compares in terms of entertainment options, comfort, food, crew/service, and boarding process.
8.0
Very good

Boarding

8.2

Overall

8.0

Comfort

8.0

Food

7.3

Entertainment

7.9

Crew

8.5

Reviews

1 / 20
10.0
Excellent

Aaron,Oct 2024

LAX - LHR

This was a flight operated by Virgin Atlantic in their Upper Class cabin. Overall, an outstanding experience.
8.0
Very good
8.0
Very good

Boarding

8.2

Overall

8.0

Comfort

8.0

Food

7.3

Entertainment

7.9

Crew

8.5

Reviews

1 / 20
10.0
Excellent

Aaron,Oct 2024

LAX - LHR

This was a flight operated by Virgin Atlantic in their Upper Class cabin. Overall, an outstanding experience.
8.0
Very good

Boarding

8.2

Overall

8.0

Comfort

8.0

Food

7.3

Entertainment

7.9

Crew

8.5

Reviews

1 / 20
10.0
Excellent

Aaron,Oct 2024

LAX - LHR

This was a flight operated by Virgin Atlantic in their Upper Class cabin. Overall, an outstanding experience.
8.0
Very good

Boarding

8.2

Overall

8.0

Comfort

8.0

Food

7.3

Entertainment

7.9

Crew

8.5

Reviews

1 / 20
10.0
Excellent

Aaron,Oct 2024

LAX - LHR

This was a flight operated by Virgin Atlantic in their Upper Class cabin. Overall, an outstanding experience.
8.0
Very good

Boarding

8.2

Overall

8.0

Comfort

8.0

Food

7.3

Entertainment

7.9

Crew

8.5

Reviews

1 / 20
10.0
Excellent

Aaron,Oct 2024

LAX - LHR

This was a flight operated by Virgin Atlantic in their Upper Class cabin. Overall, an outstanding experience.
8.0
Very good

Boarding

8.2

Overall

8.0

Comfort

8.0

Food

7.3

Entertainment

7.9

Crew

8.5

Reviews

1 / 20
10.0
Excellent

Aaron,Oct 2024

LAX - LHR

This was a flight operated by Virgin Atlantic in their Upper Class cabin. Overall, an outstanding experience.

Related info for your journey

Find useful and relevant information for your journey from San Francisco to Madrid. Access travel guides, tips, and recommendations to enhance your travel experience. Get information about local attractions, weather, transportation options, and more.
  • How popular is this San Francisco to Madrid flight route?

  • What are the cheapest airlines flying from San Francisco to Madrid round-trip?

    Cheapflights users have booked flights from San Francisco to Madrid round-trip from $582. Other airlines that can offer you cheap pricing are British Airways, from $583, and Iberia, from $585. Finnair is 27% cheaper than the average price of flights available within the next 90 days to this destination.

  • What are the cheapest airlines to fly from San Francisco to Madrid one-way?

    The cheapest airlines for a one-way flight from San Francisco to Madrid are Vueling ($404), Iberia ($406), and TAP AIR PORTUGAL ($419).

  • What are the cheapest flights from San Francisco to Madrid?

    The cheapest flight price from San Francisco to Madrid is $520. On average you can expect to pay $2,559. The most popular route, (San Francisco - Madrid Barajas), can usually be booked for $485.

  • Where are the most common layover locations when flying from San Francisco to Madrid?

  • What are some popular things to do or see while on a layover in London?

    If you're on a layover in London and looking for things to do, consider visiting Hyde Park, Piccadilly Circus, or Buckingham Palace. Travelers on a layover in London can visit Hyde Park, Piccadilly Circus, and Buckingham Palace, by traveling 12.5 mi, 14.1 mi, and 13.7 mi, respectively after landing at London Heathrow. Travelers can book a car rental at London Heathrow for about $40 per day to make their sightseeing more efficient.

  • What are some popular points of interest to see during a layover in Lisbon?

    The majority of Lisbon visitors spend their time at Chiado, Praça do Marquês de Pombal, and Centro Cultural de Belém. Chiado, Praça do Marquês de Pombal, and Centro Cultural de Belém can be visited by traveling about 4.5 mi, 3.6 mi, and 6.8 mi respectively from Lisbon Humberto Delgado. Those looking to explore during their layover in Lisbon can rent a car from Lisbon Humberto Delgado for about $21 per day.

  • What are points of interest worth seeing during a layover in Dallas?

    Dallas travelers tend to visit American Airlines Center, Dos Equis Pavilion, and Dallas World Aquarium more than any other attractions. American Airlines Center, Dos Equis Pavilion, and Dallas World Aquarium can be accessed by traveling approximately 15.0 mi, 18.3 mi, and 15.5 mi, respectively from Dallas/Fort Worth. Travelers in need of a car in Dallas can rent one for about $58 per day.

  • Where are the least popular layover locations for San Francisco to Madrid flights?

  • Can I find deals for flights from San Francisco to Madrid that include hotel bookings?

    Yes. In addition to deals on San Francisco to Madrid flights, Cheapflights offers vacation packages that include both flights and hotel.

  • How can I find direct flights from San Francisco to Madrid?

    After entering your origin and destination, apply the non-stop filter on the search result page to find direct flights from San Francisco to Madrid.

  • Can I find deals for business class flights from San Francisco to Madrid?

    Yes. Cheapflights offers flight deals from San Francisco to Madrid by cabin class. In addition to browsing deals, you can also filter by cabin class on the search results page after making a search.

  • What is the cheapest month to book a flight from San Francisco to Madrid?

    Currently, November is the cheapest month in which you can book a flight from San Francisco to Madrid (average of $543). Flying from San Francisco to Madrid in June is currently the most expensive (average of $1,101). There are several factors that can impact the price of a flight, so comparing airlines, departure airports and flight times can provide users with more options.

See more FAQs

Traveling to a place near San Francisco?

Book flights to San Francisco if you plan to visit one of these locations
Segovia
Fuenlabrada

Browse thousands of different options on Cheapflights for your next trip

Toggle through the tabs below to find thousands of options on Cheapflights for your next trip.

Top 10 airlines flying from San Francisco to Madrid

Discover the top 10 airlines that operate flights from San Francisco to Madrid. Compare their services, reliability, and customer satisfaction ratings to choose the airline that best suits your travel preferences and needs. Over the last 7 days, Cheapflights users made 2,558,603 searches. Data last updated April 4, 2025.
AirlineCheapestAverageFlexibilityOn-time
TAP AIR PORTUGALCheapest$375Average$464FlexibilityNo cancel feeOn-timeN/A
Virgin AtlanticCheapest$470Average$575FlexibilityNo cancel feeOn-time72%
ITA AirwaysCheapest$477Average$783FlexibilityNo cancel feeOn-time81%
Scandinavian AirlinesCheapest$481Average$669FlexibilityNo cancel feeOn-time77%
DeltaCheapest$505Average$811FlexibilityNo cancel feeOn-timeN/A
British AirwaysCheapest$512Average$719FlexibilityNo cancel feeOn-time70%
SWISSCheapest$512Average$737FlexibilityNo cancel feeOn-time79%
Air CanadaCheapest$515Average$856FlexibilityNo cancel feeOn-time67%
LufthansaCheapest$526Average$1,006FlexibilityNo cancel feeOn-time76%
KLMCheapest$532Average$707FlexibilityNo cancel feeOn-time75%

100% Free

Cheapflights is completely free to use, so you can start saving the moment you arrive.

Book with Flexibility

Our users can plan ahead with confidence and find flights with no change fees

Travel Smart

Millions of people come to us for their flight needs every year. We help make travel planning easy by providing useful insights and data-driven graphs that can inform your decisions.