Madrid

$345+ 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/22. Fares are subject to change and may not be available on all flights or dates of travel.
SFO — MAD
jul. 6 — jul. 131
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 61 days in advance, depart on a Tuesday or Thursday 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 julio 1, 2025.

Round-trip from

$561
(CheapOair)

One-way from

$345
(CheapOair)

Popular in

December

Cheapest in

February

Average price

$983

Good round-trip deal

$750 or less

Good one-way deal

$651 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 ($13 potential increase over avg. RT price).
Cheapest flight prices on average. 4% potential price decrease ($35 potential savings vs. average RT price).
Average for round-trip flights in July 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 julio 1, 2025.

This CheapOair deal was found by Cheapflights users on 7/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 CheapOair is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
vie. 9/54:30 pmSFO - MAD
1 stop20h 25mMultiple Airlines
mié. 9/177:05 amMAD - SFO
1 stop16h 25mMultiple Airlines
Deal found 7/1$561
This Delta deal was found by Cheapflights users on 6/30. 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.
mar. 8/1212:30 pmSFO - MAD
2 stops19h 15mDelta
sáb. 8/2310:05 amMAD - SFO
1 stop17h 47mDelta
Deal found 6/30$562
This United Airlines deal was found by Cheapflights users on 7/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 United Airlines is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
jue. 9/185:41 pmSFO - MAD
2 stops27h 59mUnited Airlines
mar. 9/2312:45 pmMAD - SFO
2 stops31h 50mUnited Airlines
Deal found 7/1$564
This Air Canada deal was found by Cheapflights users on 6/30. 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.
dom. 9/711:45 pmSFO - MAD
1 stop21h 55mAir Canada
dom. 9/2112:45 pmMAD - SFO
1 stop16h 51mAir Canada
Deal found 6/30$566
This Brussels Airlines deal was found by Cheapflights users on 6/30. 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 Brussels Airlines is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
dom. 11/92:40 pmSFO - MAD
2 stops20h 15mBrussels Airlines
lun. 11/175:30 pmMAD - SFO
2 stops28h 05mBrussels Airlines
Deal found 6/30$571
This Cheapflightsfares deal was found by Cheapflights users on 7/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 Cheapflightsfares is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
jue. 9/115:45 pmSFO - MAD
Nonstop11h 25mIberia
sáb. 9/2012:35 pmMAD - SFO
Nonstop12h 35mIberia
Deal found 7/1$573
This KLM deal was found by Cheapflights users on 7/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 KLM is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
sáb. 8/236:15 amSFO - MAD
1 stop18h 20mKLM
sáb. 9/610:05 amMAD - SFO
1 stop17h 47mKLM
Deal found 7/1$585
This oojo deal was found by Cheapflights users on 6/30. 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.
sáb. 9/610:30 pmSFO - MAD
1 stop26h 05mBritish Airways
sáb. 9/2012:35 pmMAD - SFO
Nonstop12h 35mBritish Airways
Deal found 6/30$587
This TAP AIR PORTUGAL deal was found by Cheapflights users on 6/30. 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.
sáb. 11/154:35 pmSFO - MAD
1 stop15h 35mTAP AIR PORTUGAL
jue. 11/206:00 pmMAD - SFO
1 stop31h 05mTAP AIR PORTUGAL
Deal found 6/30$592
This Virgin Atlantic deal was found by Cheapflights users on 6/30. 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.
jue. 8/215:35 amSFO - MAD
2 stops19h 00mVirgin Atlantic
jue. 8/2810:05 amMAD - SFO
2 stops21h 04mVirgin Atlantic
Deal found 6/30$613
This Kiwi.com deal was found by Cheapflights users on 6/29. 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.
lun. 8/43:15 pmSFO - MAD
1 stop16h 55mITA Airways
lun. 8/186:05 pmMAD - SFO
1 stop28h 20mITA Airways
Deal found 6/29$614

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 julio 1, 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

vie. 9/5

4:30 pm-9:55 pm

1 stop20h 25m

Madrid Barajas

mié. 9/17

7:05 am-2:30 pm

1 stop16h 25m

$561

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

mar. 8/12

12:30 pm-4:45 pm

2 stops19h 15m

Madrid Barajas

sáb. 8/23

10:05 am-6:52 pm

1 stop17h 47m

$562

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

jue. 9/18

5:41 pm-6:40 am

2 stops27h 59m

Madrid Barajas

mar. 9/23

12:45 pm-11:35 am

2 stops31h 50m

$564

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

dom. 9/7

11:45 pm-6:40 am

1 stop21h 55m

Madrid Barajas

dom. 9/21

12:45 pm-8:36 pm

1 stop16h 51m

$566

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

jue. 9/4

5:45 pm-2:10 pm

Nonstop11h 25m

Madrid Barajas

lun. 9/22

7:55 pm-1:50 pm

1 stop26h 55m

$571

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

jue. 9/11

5:45 pm-2:10 pm

Nonstop11h 25m

Madrid Barajas

sáb. 9/20

12:35 pm-4:10 pm

Nonstop12h 35m

$573

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

jue. 9/11

8:30 am-8:05 pm

2 stops26h 35m

Madrid Barajas

mié. 9/17

6:20 am-8:36 pm

2 stops23h 16m

$577

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

sáb. 8/23

6:15 am-9:35 am

1 stop18h 20m

Madrid Barajas

sáb. 9/6

10:05 am-6:52 pm

1 stop17h 47m

$585

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

jue. 8/21

5:35 am-9:35 am

2 stops19h 00m

Madrid Barajas

jue. 8/28

10:05 am-10:09 pm

2 stops21h 04m

$613

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

lun. 8/4

3:15 pm-5:10 pm

1 stop16h 55m

Madrid Barajas

lun. 8/18

6:05 pm-1:25 pm

1 stop28h 20m

$614

Flights are sorted by cheapest round-trip flights first.

Deals found on 6/29

Showing 1-10 of 16 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 June 27, 2025.

To ensure you get the cheapest price possible for a flight from San Francisco to Madrid, you should look to book at least 61 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 julio 1, 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. Friday 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 julio 1, 2025.
Get a feel of what it's like to fly with Delta, KLM, and United Airlines 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.
8.0
Very good

Crew

8.5

Food

7.3

Entertainment

7.9

Boarding

8.2

Comfort

7.9

Overall

8.0

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

Crew

8.5

Food

7.3

Entertainment

7.9

Boarding

8.2

Comfort

7.9

Overall

8.0

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

Crew

8.5

Food

7.3

Entertainment

7.9

Boarding

8.2

Comfort

7.9

Overall

8.0

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

Crew

8.5

Food

7.3

Entertainment

7.9

Boarding

8.2

Comfort

7.9

Overall

8.0

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

Crew

8.5

Food

7.3

Entertainment

7.9

Boarding

8.2

Comfort

7.9

Overall

8.0

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

Crew

8.5

Food

7.3

Entertainment

7.9

Boarding

8.2

Comfort

7.9

Overall

8.0

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 19 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 $562. Other airlines that can offer you cheap pricing are United Airlines, from $564, and Air Canada, from $566. Delta is 28% 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 ($346), TAP AIR PORTUGAL ($347), and Air Canada ($406).

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

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

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

  • 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 $40 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 $23 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 $53 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 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 julio 1, 2025.
AirlineCheapestAverageFlexibilityOn-time
TAP AIR PORTUGALCheapest$374Average$454FlexibilityNo cancel feeOn-timeN/A
Air CanadaCheapest$472Average$776FlexibilityNo cancel feeOn-time67%
Scandinavian AirlinesCheapest$481Average$669FlexibilityNo cancel feeOn-time77%
Virgin AtlanticCheapest$487Average$575FlexibilityNo cancel feeOn-time72%
SWISSCheapest$503Average$728FlexibilityNo cancel feeOn-time79%
DeltaCheapest$505Average$823FlexibilityNo cancel feeOn-timeN/A
British AirwaysCheapest$516Average$710FlexibilityNo cancel feeOn-time70%
FinnairCheapest$523Average$782FlexibilityNo cancel feeOn-time76%
LufthansaCheapest$526Average$998FlexibilityNo cancel feeOn-time76%
ITA AirwaysCheapest$535Average$742FlexibilityNo cancel feeOn-time81%

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.