Madrid

$398+ 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 9/15. Fares are subject to change and may not be available on all flights or dates of travel.
SFO — MAD
Jul 22 — Jul 291
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 77 days in advance, depart on a Wednesday or Thursday and return on a Monday

Cheap 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 June 22, 2026.

This TAP AIR PORTUGAL deal was found by Cheapflights users on 6/17. 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 TAP AIR PORTUGAL is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Tue 8/187:20 pm
SFO
-
MAD
2 stops20h 00m
TAP AIR PORTUGAL
Sat 8/296:35 am
MAD
-
SFO
1 stop20h 00m
TAP AIR PORTUGAL
Deal found 6/17$869
This KAYAK deal was found by Cheapflights users on 6/16. 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 KAYAK is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Sun 9/207:35 pm
SFO
-
MAD
2 stops52h 45m
SWISS
Mon 9/287:30 pm
MAD
-
SFO
2 stops52h 51m
SWISS
Deal found 6/16$872
This Air Canada deal was found by Cheapflights users on 6/17. 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.
Wed 9/1612:35 am
SFO
-
MAD
2 stops21h 15m
Air Canada
Thu 10/88:20 am
MAD
-
SFO
2 stops19h 21m
Air Canada
Deal found 6/17$873
This Ovago deal was found by Cheapflights users on 6/17. 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.
Tue 9/157:30 pm
SFO
-
MAD
1 stop15h 35m
British Airways
Wed 10/73:25 pm
MAD
-
SFO
1 stop16h 26m
British Airways
Deal found 6/17$875
This Kiwi.com deal was found by Cheapflights users on 6/17. 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.
Mon 7/274:30 pm
SFO
-
MAD
1 stop15h 35m
TAP AIR PORTUGAL
Tue 8/1110:25 pm
MAD
-
SFO
1 stop25h 10m
TAP AIR PORTUGAL
Deal found 6/17$876
This Air Canada deal was found by Cheapflights users on 6/18. 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.
Sat 8/158:10 am
SFO
-
MAD
2 stops18h 40m
Air Canada
Thu 9/176:05 am
MAD
-
SFO
2 stops18h 16m
Air Canada
Deal found 6/18$877
This Air Canada deal was found by Cheapflights users on 6/17. 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.
Wed 9/236:00 am
SFO
-
MAD
2 stops18h 35m
Multiple Airlines
Sun 10/115:55 am
MAD
-
SFO
2 stops18h 26m
Multiple Airlines
Deal found 6/17$878
This Mytrip deal was found by Cheapflights users on 6/16. 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.
Sat 8/224:45 pm
SFO
-
MAD
2 stops20h 35m
Multiple Airlines
Sat 8/293:00 pm
MAD
-
SFO
2 stops32h 40m
Multiple Airlines
Deal found 6/16$879
This Mytrip deal was found by Cheapflights users on 6/17. 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.
Sun 7/121:00 pm
SFO
-
MAD
3 stops35h 35m
WestJet
Thu 7/1610:55 am
MAD
-
SFO
3 stops34h 05m
WestJet
Deal found 6/17$880
This oojo deal was found by Cheapflights users on 6/18. 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.
Thu 9/104:45 pm
SFO
-
MAD
1 stop15h 55m
Scandinavian Airlines
Sat 10/312:50 pm
MAD
-
SFO
1 stop34h 50m
Scandinavian Airlines
Deal found 6/18$881
This Scandinavian Airlines deal was found by Cheapflights users on 6/17. 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.
Mon 8/314:45 pm
SFO
-
MAD
1 stop17h 10m
Scandinavian Airlines
Mon 9/146:30 pm
MAD
-
SFO
2 stops34h 10m
Scandinavian Airlines
Deal found 6/17$882
This FlightHub deal was found by Cheapflights users on 6/18. 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.
Fri 11/207:15 pm
SFO
-
MAD
1 stop19h 15m
TAP AIR PORTUGAL
Mon 11/307:40 am
MAD
-
SFO
1 stop16h 05m
TAP AIR PORTUGAL
Deal found 6/18$883

Find 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 June 22, 2026.

Most accurate provider

FlightHub
3 stars

Most trusted provider

FlightHub
3 stars

Round-trip from

$869
(TAP AIR PORTUGAL)

One-way from

$398
(Kiwi.com)

Popular in

June

Cheapest in

February

Average price

$1,250

Good round-trip deal

$1,107 or less

Good one-way deal

$435 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. 27% potential increase in price ($293 potential increase over avg. RT price).
Cheapest flight prices on average. 5% potential price decrease ($43 potential savings vs. average RT price).
Average for round-trip flights in June 2026
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.

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 June 22, 2026.
Use the filters below to find and compare flights from San Francisco to Madrid that are best for you.

Fly from

Fly to

Route

Depart

Return

Price

Cheapest round-trip
Quickest round-trip

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Sat 8/8

8:10 pm-7:15 pm

1 stop14h 05m

Madrid Barajas

Wed 8/19

6:00 am-11:45 am

1 stop14h 45m

$886

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Mon 8/24

5:50 am-9:55 am

2 stops19h 05m

Madrid Barajas

Mon 9/7

9:50 am-11:58 pm

1 stop23h 08m

$899

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Fri 8/28

4:45 pm-12:00 pm

2 stops34h 15m

Madrid Barajas

Mon 9/14

6:30 pm-2:40 pm

1 stop29h 10m

$905

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Wed 7/29

7:00 am-9:55 am

2 stops17h 55m

Madrid Barajas

Wed 9/2

1:05 pm-11:45 am

1 stop31h 40m

$926

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Sun 8/30

6:00 am-11:30 am

1 stop20h 30m

Madrid Barajas

Fri 9/11

1:30 pm-10:00 pm

1 stop17h 30m

$975

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Sun 8/30

6:00 am-11:30 am

1 stop20h 30m

Madrid Barajas

Thu 9/10

1:30 pm-10:00 pm

1 stop17h 30m

$975

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Sun 8/30

8:10 am-6:50 am

1 stop13h 40m

Madrid Barajas

Fri 9/11

6:00 am-12:40 pm

1 stop15h 40m

$984

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Wed 8/5

2:36 pm-7:15 pm

2 stops19h 39m

Madrid Barajas

Wed 8/12

6:00 am-11:45 am

1 stop14h 45m

$1,014

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Sat 7/18

7:35 pm-10:05 am

1 stop29h 30m

Madrid Barajas

Tue 8/11

8:10 pm-2:35 pm

1 stop27h 25m

$1,021

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Thu 7/30

3:05 pm-3:35 pm

1 stop15h 30m

Madrid Barajas

Sun 8/30

10:25 am-8:19 pm

2 stops18h 54m

$1,040

Flights are sorted by cheapest round-trip flights first.

Deals found on 6/17

Showing 1-10 of 20 resultsSorted by cheapest first
1
2

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 June.
ProviderPrice AccuracyTrust Score*
ExpediaPrice Accuracy1 starTrust Score*3 stars
AranGrantPrice Accuracy3 starsTrust Score*3 stars
FlightHubPrice Accuracy3 starsTrust Score*3 stars
OvagoPrice Accuracy3 starsTrust Score*3 stars
eDreamsPrice Accuracy2 starsTrust Score*3 stars
JustAirTicketPrice Accuracy-Trust Score*1 star
CheapflightsfaresPrice Accuracy2 starsTrust Score*1 star
CheapOairPrice Accuracy3 starsTrust Score*3 stars
MytripPrice Accuracy3 starsTrust Score*3 stars
GotogatePrice Accuracy2 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?

To ensure you get the cheapest price possible for a flight from San Francisco to Madrid, you should look to book at least 76 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, February is the cheapest month in which you can book a flight from San Francisco to Madrid (average of $531). Flying from San Francisco to Madrid in June is currently the most expensive (average of $1,250). 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 June 22, 2026.

When flying from San Francisco to Madrid, the time of day you decide to fly out makes little to no difference towards the overall price you’ll pay on tickets.

How much does it cost to fly round-trip from San Francisco to Madrid?

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 June 22, 2026.
Get a feel of what it's like to fly with United Airlines,TAP AIR PORTUGAL, andIberia 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.

Overall

7.4

Boarding

7.7

Crew

8.1

Comfort

7.3

Food

6.6

Entertainment

7.1

Reviews

1 / 20
4.0
Okay

Dynasty,May 2026

LAX - EWR

The food wasn’t nice - Hosts were not that kind.

Overall

7.4

Boarding

7.7

Crew

8.1

Comfort

7.3

Food

6.6

Entertainment

7.1

Reviews

1 / 20
4.0
Okay

Dynasty,May 2026

LAX - EWR

The food wasn’t nice - Hosts were not that kind.

Overall

7.4

Boarding

7.7

Crew

8.1

Comfort

7.3

Food

6.6

Entertainment

7.1

Reviews

1 / 20
4.0
Okay

Dynasty,May 2026

LAX - EWR

The food wasn’t nice - Hosts were not that kind.

Overall

7.4

Boarding

7.7

Crew

8.1

Comfort

7.3

Food

6.6

Entertainment

7.1

Reviews

1 / 20
4.0
Okay

Dynasty,May 2026

LAX - EWR

The food wasn’t nice - Hosts were not that kind.

Overall

7.4

Boarding

7.7

Crew

8.1

Comfort

7.3

Food

6.6

Entertainment

7.1

Reviews

1 / 20
4.0
Okay

Dynasty,May 2026

LAX - EWR

The food wasn’t nice - Hosts were not that kind.

Overall

7.4

Boarding

7.7

Crew

8.1

Comfort

7.3

Food

6.6

Entertainment

7.1

Reviews

1 / 20
4.0
Okay

Dynasty,May 2026

LAX - EWR

The food wasn’t nice - Hosts were not that kind.

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.
  • What airports do I use to fly from San Francisco to Madrid?

    Booking a flight from San Francisco (SFO) to Madrid Barajas (MAD) is your only option if you wish to fly from San Francisco to Madrid. On a typical day, there are 3 flights from San Francisco to Barajas, all of which are around 11h 15m for a nonstop flight. You can also purchase a plane ticket from 18 airlines when you book a flight from San Francisco to Madrid.

  • How popular is this San Francisco to Madrid flight route?

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

    For as low as $886, Delta can have you in Madrid from San Francisco in 14h 05m. 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 $328. Other airlines that can offer you cheap pricing are JetBlue, from $395, and Air Canada, from $402. TAP AIR PORTUGAL is 58% 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 ($200), Finnair ($318), and British Airways ($336).

  • 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 (60%), Qatar Airways (60%) and Alaska Airlines (60%).

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

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

  • 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 Commerce Square. Travelers on a layover in Lisbon can visit Chiado, Praça do Marquês de Pombal, and Commerce Square, by traveling 4.5 mi, 3.6 mi, and 4.7 mi, respectively after landing at Lisbon Humberto Delgado. Travelers can book a car rental at Lisbon Humberto Delgado for about $21 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 Trafalgar Square. Hyde Park, Buckingham Palace, and Trafalgar Square can be visited by traveling about 12.5 mi, 13.7 mi, and 14.3 mi respectively from London Heathrow. Those looking to explore during their layover in London can rent a car from London Heathrow for about $39 per day.

  • What are points of interest worth seeing during a layover in Frankfurt am Main?

    Frankfurt am Main travelers tend to visit Römerberg, Oper Frankfurt, and Festhalle more than any other attractions. Römerberg, Oper Frankfurt, and Festhalle can be accessed by traveling approximately 7.4 mi, 7.0 mi, and 6.5 mi, respectively from Frankfurt am Main. Travelers in need of a car in Frankfurt am Main can rent one for about $40 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, February is the cheapest month in which you can book a flight from San Francisco to Madrid (average of $531). Flying from San Francisco to Madrid in June is currently the most expensive (average of $1,250). 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
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 June 22, 2026.
AirlineCheapestAverageFlexibilityOn-time
TAP AIR PORTUGALCheapest$328Average$568FlexibilityNo cancel feeOn-timeN/A
JetBlueCheapest$395Average$1,141FlexibilityNo cancel feeOn-time62%
Air CanadaCheapest$402Average$617FlexibilityNo cancel feeOn-time67%
FinnairCheapest$412Average$708FlexibilityNo cancel feeOn-time76%
Aer LingusCheapest$424Average$1,151FlexibilityNo cancel feeOn-timeN/A
SWISSCheapest$435Average$650FlexibilityNo cancel feeOn-time79%
British AirwaysCheapest$446Average$737FlexibilityNo cancel feeOn-time70%
KLMCheapest$458Average$754FlexibilityNo cancel feeOn-time75%
DeltaCheapest$460Average$738FlexibilityNo cancel feeOn-timeN/A
Scandinavian AirlinesCheapest$469Average$619FlexibilityNo cancel feeOn-time77%

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.