Madrid

$252+ 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 4/23. Fares are subject to change and may not be available on all flights or dates of travel.
SFO — MAD
Feb 23 — Mar 21
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 67 days in advance, depart on a Wednesday or Tuesday and return on a Wednesday

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 January 24, 2026.

This FlightHub deal was found by Cheapflights users on 1/23. 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.
Sun 3/85:40 pm
SFO
-
MAD
1 stop14h 30m
Scandinavian Airlines
Wed 3/115:00 pm
MAD
-
SFO
1 stop30h 35m
Scandinavian Airlines
Deal found 1/23$480
This oojo deal was found by Cheapflights users on 1/23. 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.
Tue 9/14:45 pm
SFO
-
MAD
1 stop34h 20m
Scandinavian Airlines
Wed 9/166:30 pm
MAD
-
SFO
1 stop29h 10m
Scandinavian Airlines
Deal found 1/23$481
This Air Canada deal was found by Cheapflights users on 1/22. 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 2/118:25 am
SFO
-
MAD
2 stops18h 20m
Air Canada
Wed 2/187:25 am
MAD
-
SFO
2 stops35h 15m
Air Canada
Deal found 1/22$482
This British Airways deal was found by Cheapflights users on 1/22. 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 British Airways is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Tue 5/511:20 am
SFO
-
MAD
2 stops19h 30m
British Airways
Tue 5/1912:35 pm
MAD
-
SFO
Nonstop12h 35m
British Airways
Deal found 1/22$483
This Air Canada deal was found by Cheapflights users on 1/23. 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.
Mon 2/98:25 am
SFO
-
MAD
2 stops18h 20m
Air Canada
Tue 2/241:35 pm
MAD
-
SFO
2 stops31h 45m
Air Canada
Deal found 1/23$484
This Kiwi.com deal was found by Cheapflights users on 1/22. 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.
Wed 2/119:25 pm
SFO
-
MAD
1 stop17h 10m
Lufthansa
Sat 2/2812:00 pm
MAD
-
SFO
1 stop16h 35m
Lufthansa
Deal found 1/22$485
This United Airlines deal was found by Cheapflights users on 1/22. 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.
Sun 5/38:30 am
SFO
-
MAD
1 stop13h 20m
United Airlines
Wed 5/138:25 am
MAD
-
SFO
1 stop16h 00m
United Airlines
Deal found 1/22$486
This United Airlines deal was found by Cheapflights users on 1/22. 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.
Sat 5/211:05 pm
SFO
-
MAD
1 stop24h 00m
United Airlines
Tue 5/195:55 am
MAD
-
SFO
1 stop23h 05m
United Airlines
Deal found 1/22$487
This British Airways deal was found by Cheapflights users on 1/22. 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 British Airways is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Wed 4/17:20 pm
SFO
-
MAD
1 stop15h 45m
British Airways
Wed 4/811:35 am
MAD
-
SFO
1 stop19h 29m
British Airways
Deal found 1/22$488
This Expedia deal was found by Cheapflights users on 1/22. 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 Expedia is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Thu 1/298:00 am
SFO
-
MAD
1 stop16h 25m
Iberia
Wed 2/412:50 pm
MAD
-
SFO
1 stop16h 20m
Iberia
Deal found 1/22$489
This Booking.com deal was found by Cheapflights users on 1/22. 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 Booking.com is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Wed 3/1810:40 pm
SFO
-
MAD
1 stop16h 55m
Lufthansa
Mon 3/306:25 pm
MAD
-
SFO
1 stop33h 35m
Lufthansa
Deal found 1/22$490
This United Airlines deal was found by Cheapflights users on 1/22. 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.
Sun 9/202:05 pm
SFO
-
MAD
1 stop35h 45m
United Airlines
Sat 10/1012:30 pm
MAD
-
SFO
1 stop35h 43m
United Airlines
Deal found 1/22$491

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 January 24, 2026.

Most accurate provider

CheapOair
3 stars

Most trusted provider

CheapOair
3 stars

Round-trip from

$480
(FlightHub)

One-way from

$252
(Kiwi.com)

Popular in

December

Cheapest in

February

Average price

$629

Good round-trip deal

$683 or less

Good one-way deal

$417 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. 4% potential increase in price ($31 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 January 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 January 24, 2026.
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 2/9

4:35 pm-11:30 pm

1 stop21h 55m

Madrid Barajas

Mon 3/23

7:40 am-3:35 pm

1 stop15h 55m

$487

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Wed 4/1

7:20 pm-8:05 pm

1 stop15h 45m

Madrid Barajas

Wed 4/8

11:35 am-10:04 pm

1 stop19h 29m

$488

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Wed 3/25

6:30 pm-4:55 pm

1 stop14h 25m

Madrid Barajas

Wed 4/8

11:35 am-10:04 pm

1 stop19h 29m

$488

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Sun 3/29

4:35 pm-8:05 pm

1 stop18h 30m

Madrid Barajas

Wed 4/8

11:35 am-10:04 pm

1 stop19h 29m

$488

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Wed 4/1

4:35 pm-5:35 pm

1 stop16h 00m

Madrid Barajas

Thu 4/9

11:35 am-11:54 pm

1 stop21h 19m

$488

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Fri 2/27

4:40 pm-5:45 pm

1 stop16h 05m

Madrid Barajas

Sun 3/8

6:35 pm-3:35 pm

1 stop29h 00m

$491

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Tue 3/31

7:30 pm-9:40 am

1 stop29h 10m

Madrid Barajas

Wed 4/8

11:35 am-11:54 pm

1 stop21h 19m

$498

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Mon 3/30

7:30 pm-11:15 am

1 stop30h 45m

Madrid Barajas

Thu 4/9

11:35 am-11:54 pm

1 stop21h 19m

$498

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Sun 3/29

4:35 pm-8:05 pm

1 stop18h 30m

Madrid Barajas

Wed 4/15

10:35 am-10:45 pm

2 stops21h 10m

$501

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Mon 3/30

12:45 am-6:50 am

2 stops21h 05m

Madrid Barajas

Thu 4/9

10:50 am-1:17 am

2 stops23h 27m

$504

Flights are sorted by cheapest round-trip flights first.

Deals found on 1/22

Showing 1-10 of 19 results
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 January.
ProviderPrice AccuracyTrust Score*
ExpediaPrice Accuracy2 starsTrust Score*3 stars
FlightHubPrice Accuracy3 starsTrust Score*1 star
AranGrantPrice Accuracy2 starsTrust Score*3 stars
OvagoPrice Accuracy2 starsTrust Score*2 stars
eDreamsPrice Accuracy3 starsTrust Score*3 stars
CheapflightsfaresPrice Accuracy3 starsTrust Score*2 stars
CheapOairPrice Accuracy3 starsTrust Score*3 stars
GotogatePrice Accuracy3 starsTrust Score*3 stars
GurufarePrice Accuracy2 starsTrust Score*3 stars
JetabroadPrice Accuracy3 starsTrust Score*1 star

*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 CheapOair to be most consistent on Cheapflights vs. CheapOair Users can find the same prices on San Francisco-Madrid flight deals on Cheapflights vs. CheapOair >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 CheapOair the most. CheapOair 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 January 16, 2026.

To ensure you get the cheapest price possible for a flight from San Francisco to Madrid, you should look to book at least 67 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 $328). Flying from San Francisco to Madrid in June is currently the most expensive (average of $628). 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.

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 January 24, 2026.
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.

Overall

7.4

Boarding

7.7

Comfort

7.3

Entertainment

7.1

Food

6.6

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

Overall

7.4

Boarding

7.7

Comfort

7.3

Entertainment

7.1

Food

6.6

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

Overall

7.4

Boarding

7.7

Comfort

7.3

Entertainment

7.1

Food

6.6

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

Overall

7.4

Boarding

7.7

Comfort

7.3

Entertainment

7.1

Food

6.6

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

Overall

7.4

Boarding

7.7

Comfort

7.3

Entertainment

7.1

Food

6.6

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

Overall

7.4

Boarding

7.7

Comfort

7.3

Entertainment

7.1

Food

6.6

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 $488, TAP AIR PORTUGAL can have you in Madrid from San Francisco in 15h 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 $327. 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 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 ($204), ITA Airways ($280), and Brussels Airlines ($281).

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

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

  • 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 $18 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 $33 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 $44 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 $328). Flying from San Francisco to Madrid in June is currently the most expensive (average of $628). 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 January 24, 2026.
AirlineCheapestAverageFlexibilityOn-time
TAP AIR PORTUGALCheapest$327Average$453FlexibilityNo cancel feeOn-timeN/A
JetBlueCheapest$395Average$856FlexibilityNo cancel feeOn-time62%
Air CanadaCheapest$408Average$707FlexibilityNo cancel feeOn-time67%
FinnairCheapest$412Average$740FlexibilityNo cancel feeOn-time76%
DeltaCheapest$446Average$735FlexibilityNo cancel feeOn-timeN/A
SWISSCheapest$448Average$664FlexibilityNo cancel feeOn-time79%
KLMCheapest$458Average$693FlexibilityNo cancel feeOn-time75%
Scandinavian AirlinesCheapest$469Average$600FlexibilityNo cancel feeOn-time77%
British AirwaysCheapest$475Average$712FlexibilityNo cancel feeOn-time70%
LufthansaCheapest$486Average$821FlexibilityNo 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.