Madrid

$295+ 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 10/8. Fares are subject to change and may not be available on all flights or dates of travel.
SFO — MAD
Oct 17 — Oct 241
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 November, booked 39 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 September 17, 2025.

Round-trip from

$375
(Flightnetwork)

One-way from

$295
(Kiwi.com)

Popular in

December

Cheapest in

February

Average price

$646

Good round-trip deal

$730 or less

Good one-way deal

$531 or less
From San Francisco to Madrid Barajas
One-way flight from San Francisco to Madrid Barajas
Highest demand for flights based on searches. 3% potential increase in price ($25 potential increase over avg. RT price).
Cheapest flight prices on average. 5% potential price decrease ($37 potential savings vs. average RT price).
Average for round-trip flights in September 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 September 17, 2025.

This Flightnetwork deal was found by Cheapflights users on 9/15. 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 Flightnetwork is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Mon 10/68:30 amSFO - MAD
1 stop13h 10mAir Canada
Wed 10/2212:45 pmMAD - SFO
1 stop16h 06mAir Canada
Deal found 9/15$375
This lol.travel deal was found by Cheapflights users on 9/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 lol.travel is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Mon 10/68:30 amSFO - MAD
1 stop13h 10mUnited Airlines
Wed 10/2212:45 pmMAD - SFO
1 stop16h 06mUnited Airlines
Deal found 9/16$379
This lol.travel deal was found by Cheapflights users on 9/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 lol.travel is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Sat 10/2511:56 pmSFO - MAD
1 stop24h 09mUnited Airlines
Fri 11/71:35 pmMAD - SFO
1 stop16h 47mUnited Airlines
Deal found 9/17$381
This Mytrip deal was found by Cheapflights users on 9/15. 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 11/36:00 pmSFO - MAD
2 stops29h 00mMultiple Airlines
Tue 11/117:35 pmMAD - SFO
1 stop29h 55mMultiple Airlines
Deal found 9/15$388
This United Airlines deal was found by Cheapflights users on 9/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 United Airlines is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Wed 12/38:25 amSFO - MAD
1 stop14h 35mUnited Airlines
Wed 12/101:35 pmMAD - SFO
2 stops34h 33mUnited Airlines
Deal found 9/17$390
This Gotogate deal was found by Cheapflights users on 9/15. 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 Gotogate is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Tue 10/148:30 amSFO - MAD
1 stop13h 10mMultiple Airlines
Tue 10/217:35 pmMAD - SFO
1 stop29h 35mMultiple Airlines
Deal found 9/15$393
This United Airlines deal was found by Cheapflights users on 9/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 United Airlines is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Mon 11/2410:59 pmSFO - MAD
2 stops24h 01mUnited Airlines
Thu 12/41:35 pmMAD - SFO
2 stops42h 30mUnited Airlines
Deal found 9/16$394
This Flysmarter deal was found by Cheapflights users on 9/15. 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 Flysmarter is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Mon 10/68:30 amSFO - MAD
1 stop13h 10mMultiple Airlines
Wed 10/2212:30 pmMAD - SFO
2 stops18h 17mMultiple Airlines
Deal found 9/15$395
This Mytrip deal was found by Cheapflights users on 9/15. 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 10/148:30 amSFO - MAD
1 stop13h 10mMultiple Airlines
Wed 10/226:20 amMAD - SFO
2 stops22h 31mMultiple Airlines
Deal found 9/15$397
This Mytrip deal was found by Cheapflights users on 9/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.
Wed 10/157:30 pmSFO - MAD
1 stop28h 50mMultiple Airlines
Wed 10/2212:45 pmMAD - SFO
1 stop31h 26mMultiple Airlines
Deal found 9/16$399

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 September 17, 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

Mon 12/1

10:55 pm-8:00 am

1 stop24h 05m

Madrid Barajas

Tue 12/9

10:00 am-10:49 pm

1 stop21h 49m

$417

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Mon 9/29

6:45 am-7:50 am

1 stop16h 05m

Madrid Barajas

Tue 10/7

12:40 pm-11:33 pm

2 stops19h 53m

$422

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Sun 10/19

10:50 pm-7:50 am

1 stop24h 00m

Madrid Barajas

Wed 1/21

10:00 am-11:51 pm

2 stops22h 51m

$422

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Mon 10/13

11:00 pm-6:40 am

2 stops22h 40m

Madrid Barajas

Wed 10/29

5:55 am-1:40 pm

1 stop15h 45m

$432

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Tue 11/25

8:25 am-8:00 am

1 stop14h 35m

Madrid Barajas

Tue 12/2

6:00 am-11:05 pm

2 stops26h 05m

$438

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Thu 10/30

6:45 am-8:05 am

1 stop17h 20m

Madrid Barajas

Fri 11/7

1:35 pm-5:28 pm

2 stops36h 53m

$444

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Thu 11/27

5:00 am-8:05 am

2 stops18h 05m

Madrid Barajas

Wed 12/3

1:35 pm-3:08 pm

2 stops34h 33m

$444

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Wed 10/22

6:30 am-8:20 am

2 stops16h 50m

Madrid Barajas

Thu 10/30

6:25 am-9:05 pm

2 stops22h 40m

$445

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Wed 10/8

6:00 am-11:20 am

2 stops20h 20m

Madrid Barajas

Tue 10/14

6:00 am-11:45 am

1 stop14h 45m

$451

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Fri 10/17

9:23 pm-7:20 pm

3 stops36h 57m

$311

Flights are sorted by cheapest round-trip flights first.

Deals found on 9/16

Showing 1-10 of 18 results
1
2

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 September 12, 2025.

To ensure you get the cheapest price possible for a flight from San Francisco to Madrid, you should look to book at least 39 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,054). 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 September 17, 2025.

Unlike in the afternoon, when flights are generally more expensive, you can save up to 26% 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 September 17, 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.

Entertainment

7.1

Food

6.6

Overall

7.4

Comfort

7.3

Crew

8.1

Boarding

7.7

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

Entertainment

7.1

Food

6.6

Overall

7.4

Comfort

7.3

Crew

8.1

Boarding

7.7

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

Entertainment

7.1

Food

6.6

Overall

7.4

Comfort

7.3

Crew

8.1

Boarding

7.7

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

Entertainment

7.1

Food

6.6

Overall

7.4

Comfort

7.3

Crew

8.1

Boarding

7.7

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

Entertainment

7.1

Food

6.6

Overall

7.4

Comfort

7.3

Crew

8.1

Boarding

7.7

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

Entertainment

7.1

Food

6.6

Overall

7.4

Comfort

7.3

Crew

8.1

Boarding

7.7

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.
  • 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 25m for a nonstop flight. You can also purchase a plane ticket from 20 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 $432, Delta can have you in Madrid from San Francisco in 22h 40m. 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 $336. Other airlines that can offer you cheap pricing are JetBlue, from $395, and Finnair, from $412. TAP AIR PORTUGAL is 55% 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 (81%), Qatar Airways (81%) and Alaska Airlines (81%).

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

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

  • 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 $19 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 $40 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 $54 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,054). 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 September 17, 2025.
AirlineCheapestAverageFlexibilityOn-time
TAP AIR PORTUGALCheapest$336Average$431FlexibilityNo cancel feeOn-timeN/A
JetBlueCheapest$395Average$856FlexibilityNo cancel feeOn-time62%
FinnairCheapest$412Average$779FlexibilityNo cancel feeOn-time76%
Air CanadaCheapest$413Average$716FlexibilityNo cancel feeOn-time67%
KLMCheapest$459Average$694FlexibilityNo cancel feeOn-time75%
LufthansaCheapest$475Average$963FlexibilityNo cancel feeOn-time76%
Scandinavian AirlinesCheapest$481Average$673FlexibilityNo cancel feeOn-time77%
SWISSCheapest$482Average$717FlexibilityNo cancel feeOn-time79%
DeltaCheapest$482Average$773FlexibilityNo cancel feeOn-timeN/A
Virgin AtlanticCheapest$487Average$576FlexibilityNo 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.