Madrid

$266+ 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 1/27. Fares are subject to change and may not be available on all flights or dates of travel.
SFO — MAD
Nov 26 — Dec 31
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 October, booked 28 days in advance, depart on a Tuesday or Wednesday 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 October 27, 2025.

Most accurate provider

FlightHub
3 stars

Most trusted provider

FlightHub
3 stars

Round-trip from

$460
(KLM)

One-way from

$266
(Kiwi.com)

Popular in

December

Cheapest in

February

Average price

$564

Good round-trip deal

$705 or less

Good one-way deal

$488 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. 5% potential increase in price ($41 potential increase over avg. RT price).
Cheapest flight prices on average. 5% potential price decrease ($38 potential savings vs. average RT price).
Average for round-trip flights in October 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 October 27, 2025.

This Mytrip deal was found by Cheapflights users on 10/25. 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.
Tue 11/49:40 pmSFO - MAD
1 stop16h 55mMultiple Airlines
Tue 12/96:25 amMAD - SFO
2 stops23h 57mMultiple Airlines
Deal found 10/25$460
This Delta deal was found by Cheapflights users on 10/26. 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/246:00 amSFO - MAD
2 stops24h 20mDelta
Thu 12/410:00 amMAD - SFO
2 stops33h 30mDelta
Deal found 10/26$461
This Delta deal was found by Cheapflights users on 10/27. 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 10/2710:50 pmSFO - MAD
1 stop24h 10mDelta
Thu 11/66:00 amMAD - SFO
2 stops20h 45mDelta
Deal found 10/27$462
This CrystalTravel deal was found by Cheapflights users on 10/27. 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 CrystalTravel is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Mon 12/18:25 amSFO - MAD
2 stops18h 20mBrussels Airlines
Wed 12/106:25 amMAD - SFO
2 stops23h 57mBrussels Airlines
Deal found 10/27$463
This oojo deal was found by Cheapflights users on 10/24. 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.
Fri 11/144:40 pmSFO - MAD
1 stop16h 05mScandinavian Airlines
Sat 11/226:35 pmMAD - SFO
1 stop29h 00mScandinavian Airlines
Deal found 10/24$464
This KLM deal was found by Cheapflights users on 10/25. 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 11/31:55 pmSFO - MAD
1 stop14h 45mKLM
Thu 11/1310:00 amMAD - SFO
1 stop17h 29mKLM
Deal found 10/25$465
This Delta deal was found by Cheapflights users on 10/25. 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.
Sun 11/23:40 pmSFO - MAD
1 stop18h 30mDelta
Tue 11/116:00 amMAD - SFO
1 stop16h 25mDelta
Deal found 10/25$466
This Ovago deal was found by Cheapflights users on 10/26. 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 Ovago is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Mon 11/245:30 pmSFO - MAD
1 stop19h 40mBritish Airways
Fri 12/51:15 pmMAD - SFO
1 stop18h 13mBritish Airways
Deal found 10/26$467
This Gurufare deal was found by Cheapflights users on 10/27. 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 Gurufare is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Tue 11/186:30 amSFO - MAD
1 stop17h 25mBritish Airways
Fri 12/51:15 pmMAD - SFO
1 stop18h 13mBritish Airways
Deal found 10/27$468
This Air Canada deal was found by Cheapflights users on 10/26. 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 11/118:25 amSFO - MAD
2 stops18h 20mAir Canada
Fri 11/211:35 pmMAD - SFO
2 stops40h 47mAir Canada
Deal found 10/26$469
This Delta deal was found by Cheapflights users on 10/26. 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 11/510:30 amSFO - MAD
2 stops20h 35mDelta
Wed 11/1210:00 amMAD - SFO
1 stop17h 29mDelta
Deal found 10/26$470
This Delta deal was found by Cheapflights users on 10/25. 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.
Tue 11/412:35 pmSFO - MAD
2 stops20h 05mDelta
Tue 11/116:00 amMAD - SFO
1 stop16h 25mDelta
Deal found 10/25$471

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 October 27, 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 12/9

7:00 am-8:00 am

1 stop16h 00m

Madrid Barajas

Wed 12/24

12:35 pm-10:50 pm

2 stops19h 15m

$462

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Mon 12/1

10:40 pm-8:00 am

2 stops24h 20m

Madrid Barajas

Wed 12/10

1:35 pm-7:00 pm

2 stops38h 25m

$465

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Wed 3/4

5:45 am-11:30 am

2 stops20h 45m

Madrid Barajas

Tue 3/10

6:00 am-2:25 pm

1 stop16h 25m

$471

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Mon 1/12

10:35 am-5:40 pm

2 stops22h 05m

Madrid Barajas

Mon 1/19

1:05 pm-11:50 am

1 stop31h 45m

$472

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Tue 2/24

12:43 am-8:00 am

2 stops22h 17m

Madrid Barajas

Tue 3/10

6:00 am-1:40 pm

1 stop15h 40m

$473

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Wed 2/18

6:50 am-8:00 am

2 stops16h 10m

Madrid Barajas

Wed 2/25

5:55 am-9:22 pm

2 stops24h 27m

$477

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Wed 3/4

5:30 pm-4:55 pm

1 stop14h 25m

Madrid Barajas

Thu 3/12

12:00 pm-7:45 pm

1 stop15h 45m

$483

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Thu 2/12

8:40 pm-8:30 pm

1 stop14h 50m

Madrid Barajas

Wed 2/25

12:50 pm-6:45 pm

1 stop14h 55m

$483

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Fri 11/28

8:40 pm-11:00 am

1 stop29h 20m

Madrid Barajas

Tue 12/9

8:50 pm-3:00 pm

1 stop27h 10m

$483

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Wed 12/3

5:00 am-8:00 am

2 stops18h 00m

Madrid Barajas

Fri 12/12

1:35 pm-9:35 am

2 stops29h 00m

$488

Flights are sorted by cheapest round-trip flights first.

Deals found on 10/24

Showing 1-10 of 24 results
1
2
3

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 October.
ProviderPrice AccuracyTrust Score*
ExpediaPrice Accuracy2 starsTrust Score*3 stars
FlightHubPrice Accuracy3 starsTrust Score*3 stars
eDreamsPrice Accuracy3 starsTrust Score*3 stars
AranGrantPrice Accuracy3 starsTrust Score*3 stars
OvagoPrice Accuracy2 starsTrust Score*2 stars
GotogatePrice Accuracy2 starsTrust Score*2 stars
ScholarTripPrice Accuracy3 starsTrust Score*3 stars
CheapflightsfaresPrice Accuracy3 starsTrust Score*1 star
CheapOairPrice 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 October 24, 2025.

To ensure you get the cheapest price possible for a flight from San Francisco to Madrid, you should look to book at least 28 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, October is the cheapest month in which you can book a flight from San Francisco to Madrid (average of $335). Flying from San Francisco to Madrid in June is currently the most expensive (average of $636). 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 October 27, 2025.

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

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 Tuesday at noon when fares are most often at their lowest. Monday afternoons flights should be avoided if possible as fares are typically the most expensive at this time.

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 October 27, 2025.
Get a feel of what it's like to fly with United Airlines, American Airlines, and TAP AIR PORTUGAL from San Francisco to Madrid by reading reviews from past customers. Users have also rated airlines in terms of entertainment options, comfort, food, crew/service, and boarding process.

Food

6.6

Comfort

7.3

Entertainment

7.1

Overall

7.4

Boarding

7.7

Crew

8.1

Reviews

1 / 20
4.0
Okay

Thomas,Mar 2025

SFO - TPE

When I asked for an extra snack, I got an unhappy look from the stewardess. Geez, does one extra snack really affect the bottom line??

Food

6.6

Comfort

7.3

Entertainment

7.1

Overall

7.4

Boarding

7.7

Crew

8.1

Reviews

1 / 20
4.0
Okay

Thomas,Mar 2025

SFO - TPE

When I asked for an extra snack, I got an unhappy look from the stewardess. Geez, does one extra snack really affect the bottom line??

Food

6.6

Comfort

7.3

Entertainment

7.1

Overall

7.4

Boarding

7.7

Crew

8.1

Reviews

1 / 20
4.0
Okay

Thomas,Mar 2025

SFO - TPE

When I asked for an extra snack, I got an unhappy look from the stewardess. Geez, does one extra snack really affect the bottom line??

Food

6.6

Comfort

7.3

Entertainment

7.1

Overall

7.4

Boarding

7.7

Crew

8.1

Reviews

1 / 20
4.0
Okay

Thomas,Mar 2025

SFO - TPE

When I asked for an extra snack, I got an unhappy look from the stewardess. Geez, does one extra snack really affect the bottom line??

Food

6.6

Comfort

7.3

Entertainment

7.1

Overall

7.4

Boarding

7.7

Crew

8.1

Reviews

1 / 20
4.0
Okay

Thomas,Mar 2025

SFO - TPE

When I asked for an extra snack, I got an unhappy look from the stewardess. Geez, does one extra snack really affect the bottom line??

Food

6.6

Comfort

7.3

Entertainment

7.1

Overall

7.4

Boarding

7.7

Crew

8.1

Reviews

1 / 20
4.0
Okay

Thomas,Mar 2025

SFO - TPE

When I asked for an extra snack, I got an unhappy look from the stewardess. Geez, does one extra snack really affect the bottom line??

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?

  • How long is the flight from San Francisco to Madrid?

    For as low as $471, United Airlines can have you in Madrid from San Francisco in 20h 45m. Airlines will cover a distance of 5794 mi. Both multi-stop and nonstop flights can be found to your destination and back.

  • 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 $330. Other airlines that can offer you cheap pricing are JetBlue, from $395, and Finnair, from $412. TAP AIR PORTUGAL is 56% cheaper than the average price of flights available within the next 90 days to this destination.

  • What are the most reliable airlines from San Francisco to Madrid?

    The top 3 most reliable airlines when flying from San Francisco to Madrid are American Airlines (84%), Qatar Airways (84%) and Alaska Airlines (84%).

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

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

  • 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 Lisbon?

    If you're on a layover in Lisbon and looking for things to do, consider visiting Chiado, Praça do Marquês de Pombal, or Londres. Travelers on a layover in Lisbon can visit Chiado, Praça do Marquês de Pombal, and Londres, by traveling 4.5 mi, 3.6 mi, and 2.3 mi, respectively after landing at Lisbon Humberto Delgado. Travelers can book a car rental at Lisbon Humberto Delgado for about $17 per day to make their sightseeing more efficient.

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

    The majority of London visitors spend their time at Hyde Park, Buckingham Palace, and Piccadilly Circus. Hyde Park, Buckingham Palace, and Piccadilly Circus can be visited by traveling about 12.5 mi, 13.7 mi, and 14.1 mi respectively from London Heathrow. Those looking to explore during their layover in London can rent a car from London Heathrow for about $30 per day.

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

    Montreal travelers tend to visit Centre Bell, Vieux-Port de Montréal, and Notre-Dame Basilica more than any other attractions. Centre Bell, Vieux-Port de Montréal, and Notre-Dame Basilica can be accessed by traveling approximately 9.1 mi, 10.0 mi, and 9.9 mi, respectively from Montreal Pierre Elliott Trudeau Intl. Travelers in need of a car in Montreal can rent one for about $46 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, October is the cheapest month in which you can book a flight from San Francisco to Madrid (average of $335). Flying from San Francisco to Madrid in June is currently the most expensive (average of $636). 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 Madrid?

Book flights to Madrid if you plan to visit one of these locations
Fuenlabrada
Getafe

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 October 27, 2025.
AirlineCheapestAverageFlexibilityOn-time
TAP AIR PORTUGALCheapest$330Average$442FlexibilityNo cancel feeOn-timeN/A
JetBlueCheapest$395Average$856FlexibilityNo cancel feeOn-time62%
FinnairCheapest$412Average$781FlexibilityNo cancel feeOn-time76%
Air CanadaCheapest$414Average$709FlexibilityNo cancel feeOn-time67%
DeltaCheapest$446Average$719FlexibilityNo cancel feeOn-timeN/A
SWISSCheapest$449Average$689FlexibilityNo cancel feeOn-time79%
KLMCheapest$458Average$666FlexibilityNo cancel feeOn-time75%
LufthansaCheapest$471Average$885FlexibilityNo cancel feeOn-time76%
Scandinavian AirlinesCheapest$480Average$674FlexibilityNo cancel feeOn-time77%
Virgin AtlanticCheapest$487Average$652FlexibilityNo cancel feeOn-time72%

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.