Madrid

$366+ 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 5/26. Fares are subject to change and may not be available on all flights or dates of travel.
SFO — MAD
Mar 8 — Mar 151
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.

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 March 3, 2025.

Most accurate provider

FlightHub
3 stars

Most trusted provider

FlightHub
3 stars

Round-trip from

$538
(Mytrip)

One-way from

$366
(Kiwi.com)

Popular in

December

Cheapest in

February

Average price

$674

Good round-trip deal

$879 or less

Good one-way deal

$604 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
High demand for flights, 1% potential price rise
Cheapest flight prices on average. 4% potential price decrease ($31 potential savings vs. average RT price).
Average for round-trip flights in March 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 March 3, 2025.

This Mytrip deal was found by Cheapflights users on 3/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 Mytrip is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Mon 3/175:40 pmSFO - MAD
2 stops20h 20mMultiple Airlines
Wed 4/23:10 pmMAD - SFO
2 stops32h 20mMultiple Airlines
Deal found 3/2$538
This FlightHub deal was found by Cheapflights users on 3/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 FlightHub is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Mon 11/34:40 pmSFO - MAD
1 stop34h 30mScandinavian Airlines
Fri 11/141:00 pmMAD - SFO
1 stop34h 35mScandinavian Airlines
Deal found 3/3$544
This Cheapflightsfares deal was found by Cheapflights users on 3/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 Cheapflightsfares is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Wed 11/55:30 pmSFO - MAD
1 stop16h 00mIberia
Wed 11/1212:35 pmMAD - SFO
1 stop17h 20mIberia
Deal found 3/3$549
This United Airlines deal was found by Cheapflights users on 3/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 United Airlines is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Tue 3/256:30 amSFO - MAD
2 stops19h 05mUnited Airlines
Wed 4/212:45 pmMAD - SFO
2 stops35h 21mUnited Airlines
Deal found 3/2$551
This FlightHub deal was found by Cheapflights users on 3/1. 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 FlightHub is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Tue 4/84:20 pmSFO - MAD
1 stop18h 00mTAP AIR PORTUGAL
Wed 4/235:55 pmMAD - SFO
1 stop29h 35mTAP AIR PORTUGAL
Deal found 3/1$555
This Justfly.com deal was found by Cheapflights users on 3/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 11/31:10 pmSFO - MAD
2 stops35h 25mAir Canada
Fri 11/1412:15 pmMAD - SFO
1 stop18h 36mAir Canada
Deal found 3/3$560
This oojo deal was found by Cheapflights users on 3/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 oojo is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Mon 3/246:30 pmSFO - MAD
1 stop17h 35mBritish Airways
Thu 4/311:35 amMAD - SFO
1 stop20h 44mBritish Airways
Deal found 3/2$571
This Delta deal was found by Cheapflights users on 3/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 Delta is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Mon 11/310:45 pmSFO - MAD
1 stop24h 15mDelta
Tue 11/1810:00 amMAD - SFO
1 stop20h 08mDelta
Deal found 3/3$574
This Kiwi.com deal was found by Cheapflights users on 3/1. 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.
Sun 3/168:25 pmSFO - MAD
1 stop14h 20mSWISS
Tue 4/17:35 pmMAD - SFO
1 stop29h 35mSWISS
Deal found 3/1$577
This KLM deal was found by Cheapflights users on 3/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 KLM is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Mon 3/242:50 pmSFO - MAD
1 stop14h 50mKLM
Thu 4/312:40 pmMAD - SFO
1 stop17h 27mKLM
Deal found 3/2$580
This Lufthansa deal was found by Cheapflights users on 3/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 Lufthansa is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Wed 3/269:35 pmSFO - MAD
1 stop18h 00mLufthansa
Thu 4/36:00 amMAD - SFO
1 stop15h 40mLufthansa
Deal found 3/2$595
This eDestinos deal was found by Cheapflights users on 3/1. 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 eDestinos is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Thu 3/66:50 pmSFO - MAD
1 stop19h 40mTurkish Airlines
Sat 3/226:10 amMAD - SFO
1 stop19h 35mTurkish Airlines
Deal found 3/1$609

Find flights from San Francisco to Madrid within your budget

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 March 3, 2025.

Fly from

San Francisco

Fly to

Madrid

Route

Depart

Return

Price

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Mon 3/17

5:40 pm-10:00 pm

2 stops20h 20m

Madrid Barajas

Wed 4/2

3:10 pm-2:30 pm

2 stops32h 20m

$538

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Tue 3/25

6:30 am-9:35 am

2 stops19h 05m

Madrid Barajas

Wed 4/2

12:45 pm-3:06 pm

2 stops35h 21m

$551

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Tue 4/8

4:20 pm-7:20 pm

1 stop18h 00m

Madrid Barajas

Wed 4/23

5:55 pm-2:30 pm

1 stop29h 35m

$555

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Mon 3/24

10:45 pm-9:35 am

2 stops26h 50m

Madrid Barajas

Tue 4/1

12:45 pm-9:45 pm

1 stop18h 00m

$566

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Mon 3/24

6:30 pm-8:05 pm

1 stop17h 35m

Madrid Barajas

Thu 4/3

11:35 am-11:19 pm

1 stop20h 44m

$571

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Sun 3/16

8:25 pm-6:45 pm

1 stop14h 20m

Madrid Barajas

Tue 4/1

7:35 pm-4:10 pm

1 stop29h 35m

$577

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Mon 3/24

2:50 pm-1:40 pm

1 stop14h 50m

Madrid Barajas

Thu 4/3

12:40 pm-9:07 pm

1 stop17h 27m

$580

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Wed 3/26

9:35 pm-11:35 pm

1 stop18h 00m

Madrid Barajas

Thu 4/3

6:00 am-12:40 pm

1 stop15h 40m

$595

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Tue 5/6

7:40 pm-12:10 pm

1 stop31h 30m

Madrid Barajas

Tue 5/20

12:55 pm-4:30 pm

1 stop36h 35m

$598

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Thu 3/6

6:50 pm-11:30 pm

1 stop19h 40m

Madrid Barajas

Sat 3/22

6:10 am-5:45 pm

1 stop19h 35m

$609

Flights are sorted by cheapest round-trip flights first.

Deals found on 3/2

Showing 1-10 of 33 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 March.
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.

Travel insights for flights from San Francisco to Madrid

Get recent, data-driven insights about flights from San Francisco to Madrid including ideal travel times, pricing trends, and more.

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 February 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,120). 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 March 3, 2025.

Unlike in the afternoon, when flights are generally more expensive, you can save up to 32% 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 March 3, 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

Entertainment

7.9

Food

7.3

Overall

8.0

Comfort

8.0

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

Entertainment

7.9

Food

7.3

Overall

8.0

Comfort

8.0

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

Entertainment

7.9

Food

7.3

Overall

8.0

Comfort

8.0

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

Entertainment

7.9

Food

7.3

Overall

8.0

Comfort

8.0

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

Entertainment

7.9

Food

7.3

Overall

8.0

Comfort

8.0

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

Entertainment

7.9

Food

7.3

Overall

8.0

Comfort

8.0

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 $551. Other airlines that can offer you cheap pricing are TAP AIR PORTUGAL, from $555, and Air Canada, from $566. United Airlines is 31% 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 TAP AIR PORTUGAL ($384), Air Canada ($442), and Vueling ($443).

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

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

  • 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 $37 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.9 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 $18 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 Majestic Theatre more than any other attractions. American Airlines Center, Dos Equis Pavilion, and Majestic Theatre can be accessed by traveling approximately 15.0 mi, 18.3 mi, and 16.1 mi, respectively from Dallas/Fort Worth. Travelers in need of a car in Dallas can rent one for about $50 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,120). 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 March 3, 2025.
AirlineCheapestAverageFlexibilityOn-time
TAP AIR PORTUGALCheapest$375Average$463FlexibilityNo cancel feeOn-timeN/A
ITA AirwaysCheapest$477Average$791FlexibilityNo cancel feeOn-time81%
Scandinavian AirlinesCheapest$481Average$662FlexibilityNo cancel feeOn-time77%
FinnairCheapest$504Average$738FlexibilityNo cancel feeOn-time76%
British AirwaysCheapest$509Average$700FlexibilityNo cancel feeOn-time70%
SWISSCheapest$512Average$751FlexibilityNo cancel feeOn-time79%
DeltaCheapest$514Average$839FlexibilityNo cancel feeOn-timeN/A
Air CanadaCheapest$515Average$842FlexibilityNo cancel feeOn-time67%
United AirlinesCheapest$527Average$910FlexibilityNo cancel feeOn-time69%
LufthansaCheapest$530Average$1,007FlexibilityNo cancel feeOn-time76%
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.