Madrid

$349+ 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/12. Fares are subject to change and may not be available on all flights or dates of travel.
SFO — MAD
Jun 17 — Jun 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 January, booked 64 days in advance, depart on a Tuesday or Friday 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 June 12, 2025.

Round-trip from

$634
(FlightHub)

One-way from

$349
(Kiwi.com)

Popular in

December

Cheapest in

February

Average price

$1,098

Good round-trip deal

$779 or less

Good one-way deal

$604 or less
From San Francisco to Madrid Barajas
One-way flight from San Francisco to Madrid Barajas
Highest demand for flights based on searches. 1% potential increase in price ($15 potential increase over avg. RT price).
Cheapest flight prices on average. 4% potential price decrease ($36 potential savings vs. average RT price).
Average for round-trip flights in June 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 June 12, 2025.

This Cheapflightsfares deal was found by Cheapflights users on 6/12. 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.
Thu 9/118:30 amSFO - MAD
2 stops26h 35mBrussels Airlines
Tue 9/166:20 amMAD - SFO
2 stops23h 16mBrussels Airlines
Deal found 6/12$633
This Gotogate deal was found by Cheapflights users on 6/12. 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.
Thu 8/75:45 pmSFO - MAD
Nonstop11h 25mFinnair
Sat 8/2312:35 pmMAD - SFO
Nonstop12h 35mFinnair
Deal found 6/12$635
This Gotogate deal was found by Cheapflights users on 6/12. 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.
Thu 8/72:26 pmSFO - MAD
1 stop13h 59mBritish Airways
Sat 8/2312:35 pmMAD - SFO
Nonstop12h 35mBritish Airways
Deal found 6/12$636
This Cheapflightsfares deal was found by Cheapflights users on 6/12. 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.
Fri 11/217:10 pmSFO - MAD
1 stop16h 10mTAP AIR PORTUGAL
Sun 12/79:10 pmMAD - SFO
1 stop26h 25mTAP AIR PORTUGAL
Deal found 6/12$637
This Air Canada deal was found by Cheapflights users on 6/9. 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.
Fri 9/511:45 pmSFO - MAD
1 stop21h 55mAir Canada
Sat 9/2012:45 pmMAD - SFO
1 stop16h 51mAir Canada
Deal found 6/9$638
This Delta deal was found by Cheapflights users on 6/10. 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/206:00 amSFO - MAD
2 stops18h 35mDelta
Tue 9/26:00 amMAD - SFO
2 stops20h 17mDelta
Deal found 6/10$639
This Lufthansa deal was found by Cheapflights users on 6/10. 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.
Mon 8/42:40 pmSFO - MAD
2 stops17h 55mLufthansa
Sat 8/306:00 amMAD - SFO
1 stop15h 40mLufthansa
Deal found 6/10$641
This Cheapflightsfares deal was found by Cheapflights users on 6/11. 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.
Thu 8/142:26 pmSFO - MAD
1 stop13h 59mIberia
Sat 8/231:00 pmMAD - SFO
1 stop15h 49mIberia
Deal found 6/11$646
This United Airlines deal was found by Cheapflights users on 6/10. 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.
Thu 12/258:25 amSFO - MAD
2 stops22h 15mUnited Airlines
Thu 1/81:35 pmMAD - SFO
2 stops38h 08mUnited Airlines
Deal found 6/10$647
This FlightHub deal was found by Cheapflights users on 6/10. 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.
Thu 8/2111:40 amSFO - MAD
1 stop34h 00mMultiple Airlines
Sat 12/207:35 pmMAD - SFO
1 stop29h 50mMultiple Airlines
Deal found 6/10$651
This Virgin Atlantic deal was found by Cheapflights users on 6/10. 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 Virgin Atlantic is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Thu 8/75:35 amSFO - MAD
2 stops19h 00mVirgin Atlantic
Sat 8/3010:05 amMAD - SFO
2 stops21h 46mVirgin Atlantic
Deal found 6/10$657
This KLM deal was found by Cheapflights users on 6/10. 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.
Fri 8/86:15 amSFO - MAD
1 stop18h 20mKLM
Sun 8/316:00 amMAD - SFO
1 stop14h 45mKLM
Deal found 6/10$685

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 12, 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

Wed 8/6

8:40 am-8:20 am

1 stop14h 40m

Madrid Barajas

Sat 8/30

6:20 am-7:57 pm

2 stops22h 37m

$634

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Thu 8/7

5:45 pm-2:10 pm

Nonstop11h 25m

Madrid Barajas

Sat 8/23

12:35 pm-4:10 pm

Nonstop12h 35m

$635

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Thu 8/7

2:26 pm-1:25 pm

1 stop13h 59m

Madrid Barajas

Sat 8/23

12:35 pm-4:10 pm

Nonstop12h 35m

$636

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Fri 9/5

11:45 pm-6:40 am

1 stop21h 55m

Madrid Barajas

Sat 9/20

12:45 pm-8:36 pm

1 stop16h 51m

$638

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Wed 8/20

6:00 am-9:35 am

2 stops18h 35m

Madrid Barajas

Tue 9/2

6:00 am-5:17 pm

2 stops20h 17m

$639

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Mon 8/4

2:40 pm-5:35 pm

2 stops17h 55m

Madrid Barajas

Sat 8/30

6:00 am-12:40 pm

1 stop15h 40m

$641

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Fri 8/8

11:40 am-6:40 am

1 stop34h 00m

Madrid Barajas

Sat 8/23

6:00 am-12:40 pm

1 stop15h 40m

$643

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Thu 8/14

2:26 pm-1:25 pm

1 stop13h 59m

Madrid Barajas

Sat 8/23

1:00 pm-7:49 pm

1 stop15h 49m

$646

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Thu 8/21

11:40 am-6:40 am

1 stop34h 00m

Madrid Barajas

Sat 12/20

7:35 pm-4:25 pm

1 stop29h 50m

$651

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Thu 8/7

5:35 am-9:35 am

2 stops19h 00m

Madrid Barajas

Sat 8/30

10:05 am-10:51 pm

2 stops21h 46m

$657

Flights are sorted by cheapest round-trip flights first.

Deals found on 6/11

Showing 1-10 of 29 results
1
2
3

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 June 9, 2025.

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

Unlike in the afternoon, when flights are generally more expensive, you can save up to 24% 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. Sunday 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 June 12, 2025.
To help decide which airline to fly from San Francisco to Madrid, see what other customers have to say about Delta, KLM and Austrian Airlines. You can also see how each airline compares in terms of entertainment options, comfort, food, crew/service, and boarding process.
8.0
Very good

Food

7.3

Overall

8.0

Comfort

7.9

Entertainment

7.9

Boarding

8.2

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

Food

7.3

Overall

8.0

Comfort

7.9

Entertainment

7.9

Boarding

8.2

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

Food

7.3

Overall

8.0

Comfort

7.9

Entertainment

7.9

Boarding

8.2

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

Food

7.3

Overall

8.0

Comfort

7.9

Entertainment

7.9

Boarding

8.2

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

Food

7.3

Overall

8.0

Comfort

7.9

Entertainment

7.9

Boarding

8.2

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

Food

7.3

Overall

8.0

Comfort

7.9

Entertainment

7.9

Boarding

8.2

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.
  • 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 2 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?

  • 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 $634. Other airlines that can offer you cheap pricing are Finnair, from $635, and British Airways, from $636. Brussels Airlines is 19% 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 ($350), TAP AIR PORTUGAL ($367), and United Airlines ($399).

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

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

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

  • 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, Buckingham Palace, or Piccadilly Circus. Travelers on a layover in London can visit Hyde Park, Buckingham Palace, and Piccadilly Circus, by traveling 12.5 mi, 13.7 mi, and 14.1 mi, respectively after landing at London Heathrow. Travelers can book a car rental at London Heathrow for about $44 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 Londres. Chiado, Praça do Marquês de Pombal, and Londres can be visited by traveling about 4.5 mi, 3.6 mi, and 2.3 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, Dallas World Aquarium, and Reunion Tower more than any other attractions. American Airlines Center, Dallas World Aquarium, and Reunion Tower can be accessed by traveling approximately 15.0 mi, 15.5 mi, and 15.6 mi, respectively from Dallas/Fort Worth. Travelers in need of a car in Dallas can rent one for about $61 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,057). 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 June 12, 2025.
AirlineCheapestAverageFlexibilityOn-time
TAP AIR PORTUGALCheapest$375Average$461FlexibilityNo cancel feeOn-timeN/A
Scandinavian AirlinesCheapest$481Average$673FlexibilityNo cancel feeOn-time77%
Virgin AtlanticCheapest$487Average$575FlexibilityNo cancel feeOn-time72%
SWISSCheapest$505Average$707FlexibilityNo cancel feeOn-time79%
British AirwaysCheapest$507Average$709FlexibilityNo cancel feeOn-time70%
DeltaCheapest$509Average$800FlexibilityNo cancel feeOn-timeN/A
Air CanadaCheapest$511Average$771FlexibilityNo cancel feeOn-time67%
ITA AirwaysCheapest$524Average$752FlexibilityNo cancel feeOn-time81%
LufthansaCheapest$524Average$995FlexibilityNo cancel feeOn-time76%
FinnairCheapest$527Average$781FlexibilityNo 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.