Madrid

$362+ Cheap flights from San Francisco (SFO) to Madrid, Spain (MAD)

This is the cheapest round-trip flight price found by a Cheapflights user in the last 72 hours by searching for a flight departing on 9/29. Fares are subject to change and may not be available on all flights or dates of travel.
SFO — MAD
Aug 21 — Aug 281
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 67 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 August 16, 2025.

Round-trip from

$362
(Kiwi.com)

Popular in

December

Cheapest in

February

Average price

$681

Good round-trip deal

$609 or less

Good one-way deal

$476 or less
From San Francisco to Madrid Barajas
Highest demand for flights based on searches. 2% potential increase in price ($22 potential increase over avg. RT price).
Cheapest flight prices on average. 5% potential price decrease ($38 potential savings vs. average RT price).
Average for round-trip flights in August 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 August 16, 2025.

This Kiwi.com deal was found by Cheapflights users on 8/14. 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.
Thu 10/234:20 pmSFO - MAD
1 stop14h 00mTAP AIR PORTUGAL
Fri 11/77:40 amMAD - SFO
1 stop17h 25mTAP AIR PORTUGAL
Deal found 8/14$362
This Kiwi.com deal was found by Cheapflights users on 8/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 Kiwi.com is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Sat 11/84:35 pmSFO - MAD
1 stop18h 45mTAP AIR PORTUGAL
Tue 11/189:10 pmMAD - SFO
1 stop26h 20mTAP AIR PORTUGAL
Deal found 8/15$363
This Kiwi.com deal was found by Cheapflights users on 8/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 Kiwi.com is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Fri 11/77:10 pmSFO - MAD
1 stop16h 10mTAP AIR PORTUGAL
Sat 11/227:40 amMAD - SFO
1 stop16h 05mTAP AIR PORTUGAL
Deal found 8/15$364
This Kiwi.com deal was found by Cheapflights users on 8/13. 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.
Sat 11/84:35 pmSFO - MAD
1 stop18h 45mTAP AIR PORTUGAL
Thu 11/209:10 pmMAD - SFO
1 stop27h 55mTAP AIR PORTUGAL
Deal found 8/13$365
This lol.travel deal was found by Cheapflights users on 8/13. 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/117:20 pmSFO - MAD
1 stop17h 05mTAP AIR PORTUGAL
Mon 10/206:10 pmMAD - SFO
1 stop28h 25mTAP AIR PORTUGAL
Deal found 8/13$379
This oojo deal was found by Cheapflights users on 8/14. 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.
Mon 10/134:20 pmSFO - MAD
1 stop18h 00mTAP AIR PORTUGAL
Thu 10/237:40 amMAD - SFO
1 stop15h 50mTAP AIR PORTUGAL
Deal found 8/14$380
This oojo deal was found by Cheapflights users on 8/14. 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.
Mon 10/134:20 pmSFO - MAD
1 stop18h 00mTAP AIR PORTUGAL
Wed 10/2210:15 pmMAD - SFO
1 stop25h 15mTAP AIR PORTUGAL
Deal found 8/14$382
This oojo deal was found by Cheapflights users on 8/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 oojo is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Wed 11/124:35 pmSFO - MAD
1 stop31h 55mTAP AIR PORTUGAL
Wed 11/197:40 amMAD - SFO
1 stop15h 50mTAP AIR PORTUGAL
Deal found 8/12$384
This Mytrip deal was found by Cheapflights users on 8/13. 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 9/166:45 pmSFO - MAD
1 stop20h 35mTAP AIR PORTUGAL
Wed 9/247:40 amMAD - SFO
1 stop15h 55mTAP AIR PORTUGAL
Deal found 8/13$389

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 August 16, 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

Sun 9/28

9:20 pm-8:05 am

1 stop25h 45m

Madrid Barajas

Wed 10/15

12:45 pm-11:11 am

1 stop31h 26m

$515

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Sun 9/28

9:20 pm-8:05 am

1 stop25h 45m

Madrid Barajas

Fri 10/17

12:45 pm-11:11 am

1 stop31h 26m

$515

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Mon 10/6

11:40 am-6:40 am

1 stop34h 00m

Madrid Barajas

Tue 10/14

12:45 pm-11:11 am

1 stop31h 26m

$522

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Sun 9/28

9:20 pm-8:05 am

1 stop25h 45m

Madrid Barajas

Thu 10/16

12:30 pm-12:58 pm

1 stop33h 28m

$522

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Sat 10/4

11:40 am-6:40 am

1 stop34h 00m

Madrid Barajas

Tue 10/14

12:45 pm-11:11 am

1 stop31h 26m

$522

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Sat 10/4

11:40 am-6:40 am

1 stop34h 00m

Madrid Barajas

Fri 10/17

12:45 pm-7:51 pm

1 stop16h 06m

$522

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Mon 10/6

11:40 am-6:40 am

1 stop34h 00m

Madrid Barajas

Fri 10/17

12:45 pm-7:51 pm

1 stop16h 06m

$522

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Sun 10/12

8:30 am-6:40 am

1 stop13h 10m

Madrid Barajas

Fri 10/24

12:45 pm-7:51 pm

1 stop16h 06m

$522

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Mon 11/3

11:55 pm-8:00 am

2 stops23h 05m

Madrid Barajas

Fri 11/14

1:35 pm-9:22 pm

1 stop16h 47m

$527

San FranciscoMadrid

SFO - MAD

SFOMAD

San Francisco

Sat 10/4

11:00 pm-6:40 am

2 stops22h 40m

Madrid Barajas

Wed 10/15

12:45 pm-7:51 pm

1 stop16h 06m

$527

Flights are sorted by cheapest round-trip flights first.

Deals found on 8/13

Showing 1-10 of 20 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 August 8, 2025.

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, 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,053). 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 August 16, 2025.

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

Boarding

7.7

Overall

7.4

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

Boarding

7.7

Overall

7.4

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

Boarding

7.7

Overall

7.4

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

Boarding

7.7

Overall

7.4

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

Boarding

7.7

Overall

7.4

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

Boarding

7.7

Overall

7.4

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

  • 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 $216. Other airlines that can offer you cheap pricing are TAP AIR PORTUGAL, from $343, and Finnair, from $412. JetBlue is 71% 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 $426. On average you can expect to pay $634. The most popular route, (San Francisco - Madrid Barajas), can usually be booked for $325.

  • 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 $48 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 $32 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 Dos Equis Pavilion more than any other attractions. American Airlines Center, Dallas World Aquarium, and Dos Equis Pavilion can be accessed by traveling approximately 15.0 mi, 15.5 mi, and 18.3 mi, respectively from Dallas/Fort Worth. Travelers in need of a car in Dallas can rent one for about $52 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,053). 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
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 August 16, 2025.
AirlineCheapestAverageFlexibilityOn-time
JetBlueCheapest$216Average$856FlexibilityNo cancel feeOn-time62%
TAP AIR PORTUGALCheapest$343Average$428FlexibilityNo cancel feeOn-timeN/A
FinnairCheapest$412Average$743FlexibilityNo cancel feeOn-time76%
Air CanadaCheapest$413Average$727FlexibilityNo cancel feeOn-time67%
LufthansaCheapest$476Average$948FlexibilityNo cancel feeOn-time76%
Scandinavian AirlinesCheapest$480Average$669FlexibilityNo cancel feeOn-time77%
SWISSCheapest$487Average$729FlexibilityNo cancel feeOn-time79%
Virgin AtlanticCheapest$487Average$576FlexibilityNo cancel feeOn-time72%
KLMCheapest$494Average$690FlexibilityNo cancel feeOn-time75%
DeltaCheapest$494Average$819FlexibilityNo cancel feeOn-timeN/A

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.