SFO - MAD

$313 Find Cheap Flights from San Francisco to Madrid - Compare and Save

1 adult
1 adult, Economy, 0 bags

Save 26% or more on flights. Compare deals from all over the web.

Never overpay with our price tracking tools.

Filter searches by price, airline and more to find your best flights.

Everything you should know

Our round-trip pick
$707
SWISS
SWISS
Sun 3/21Wed 3/31
SFO - MAD • 1 stop
Our one-way pick
$335
$56 cheaper than average
Popular airline
British Airways
British Airways
Sun 1/17
SFO - MAD • 1 stop
Cheapest nonstop
$722
Iberia
Iberia
Wed 4/21Wed 5/5
SFO - MAD • nonstop
Top airline
Scandinavian Airlines
$225 cheaper than average
Scandinavian Airlines
Scandinavian Airlines is a popular choice on this route
Avoid delays
Iberia
Most punctual
81% on time
Iberia
Iberia is a strong bet to keep your trip on track.
When to travel
February
Cheapest month
$261 cheaper than average
Firm on budget but flexible on dates? Try traveling in February.
Advice from real travelers
For long-haul comfort, BA and Iberia Premium Economy add wider seats and more legroom.

American Premium Economy adds meals; Main Cabin Extra includes early boarding.
Start a new search
KAYAK searches 100s of sites at once to find you the best travel deals.

We hope you love your trip to Madrid!
Flight Deals
Booking Insights
Expert advice
Flight Deals

Cheap Flights from San Francisco to Madrid (SFO-MAD)

 
Discover the best prices for you by selecting your travel dates on KAYAK.

Recent round-trip flight deals from San Francisco to Madrid

Wed, May 5 - Fri, May 14
Scandinavian Airlines Logo
4:35 pm - 7:55 pmSFO  San Francisco-MAD Madrid Barajas
42h 20m2 stops Kastrup Copenhagen Stockholm Arlanda
Scandinavian Airlines Logo
8:45 pm - 2:40 pmMAD  Madrid Barajas-SFO San Francisco
50h 55m2 stops Stockholm Arlanda Kastrup Copenhagen
$706Scandinavian Airlines
Wed, Mar 24 - Mon, Apr 12
Scandinavian Airlines Logo
5:45 pm - 12:00 pmSFO  San Francisco-MAD Madrid Barajas
34h 15m1 stop Kastrup Copenhagen
Scandinavian Airlines Logo
6:30 pm - 2:40 pmMAD  Madrid Barajas-SFO San Francisco
29h 10m1 stop Kastrup Copenhagen
$706Scandinavian Airlines
Wed, Jan 13 - Sun, Jan 17
TAP AIR PORTUGAL Logo
4:35 pm - 5:10 pmSFO  San Francisco-MAD Madrid Barajas
15h 35m1 stop Lisbon Humberto Delgado
TAP AIR PORTUGAL Logo
9:10 pm - 2:25 pmMAD  Madrid Barajas-SFO San Francisco
26h 15m1 stop Lisbon Humberto Delgado
$706TAP AIR PORTUGAL
Mon, Mar 15 - Thu, Mar 18
SWISS Logo
8:25 pm - 6:45 pmSFO  San Francisco-MAD Madrid Barajas
14h 20m1 stop Zurich
SWISS Logo
10:05 am - 5:30 pmMAD  Madrid Barajas-SFO San Francisco
15h 25m1 stop Zurich
$707SWISS
Tue, Feb 2 - Thu, Feb 11
SWISS Logo
7:25 pm - 6:45 pmSFO  San Francisco-MAD Madrid Barajas
14h 20m1 stop Zurich
SWISS Logo
10:05 am - 4:30 pmMAD  Madrid Barajas-SFO San Francisco
15h 25m1 stop Zurich
$707SWISS
Fri, Jan 15 - Thu, Jan 21
TAP AIR PORTUGAL Logo
7:15 pm - 9:30 amSFO  San Francisco-MAD Madrid Barajas
29h 15m1 stop Lisbon Humberto Delgado
TAP AIR PORTUGAL Logo
9:10 pm - 4:05 pmMAD  Madrid Barajas-SFO San Francisco
27h 55m1 stop Lisbon Humberto Delgado
$709TAP AIR PORTUGAL
Mon, May 3 - Mon, May 24
Multiple Airlines Logo
12:15 pm - 9:00 amSFO  San Francisco-MAD Madrid Barajas
35h 45m1 stop Montreal Pierre Elliott Trudeau Intl
Multiple Airlines Logo
10:25 pm - 2:35 pmMAD  Madrid Barajas-SFO San Francisco
25h 10m1 stop Lisbon Humberto Delgado
$709Multiple Airlines
Mon, Jan 18 - Fri, Jan 29
Multiple Airlines Logo
4:40 pm - 9:45 amSFO  San Francisco-MAD Madrid Barajas
56h 05m2 stops Calgary London Heathrow
Multiple Airlines Logo
7:40 am - 4:05 pmMAD  Madrid Barajas-SFO San Francisco
17h 25m1 stop Lisbon Humberto Delgado
$710Multiple Airlines
Sat, Jan 16 - Fri, Jan 22
Air Canada Logo
11:25 am - 8:00 amSFO  San Francisco-MAD Madrid Barajas
59h 35m2 stops Vancouver Intl Montreal Pierre Elliott Trudeau Intl
Air Canada Logo
6:05 am - 9:33 pmMAD  Madrid Barajas-SFO San Francisco
24h 28m2 stops Frankfurt am Main Montreal Pierre Elliott Trudeau Intl
$714Air Canada
Mon, Mar 1 - Wed, Mar 10
Air Canada Logo
8:25 am - 8:00 amSFO  San Francisco-MAD Madrid Barajas
14h 35m1 stop Montreal Pierre Elliott Trudeau Intl
Air Canada Logo
6:05 am - 9:32 pmMAD  Madrid Barajas-SFO San Francisco
24h 27m2 stops Frankfurt am Main Montreal Pierre Elliott Trudeau Intl
$714Air Canada
Booking Insights

Price, demand and travel trends for San Francisco to Madrid flights

Use KAYAK data on prices, travel dates, airlines and seasonal trends to compare options and book flights with more confidence.

Last updated:

How much is a round-trip flight from San Francisco to Madrid?

Round-trip flights from San Francisco to Madrid typically range from $669 to $1,145. The lowest price found in the past 5 days was $706, on Scandinavian Airlines.

What's the cheapest day of the week to fly from San Francisco to Madrid?

Based on deals KAYAK users found in the last 12 months, Wednesday is the cheapest day of the week to fly from San Francisco to Madrid. It’s 11% cheaper than the average day, while Friday is the most expensive, with prices 6% higher.

What’s the cheapest month to fly from San Francisco to Madrid?

•February is the cheapest month to fly from San Francisco to Madrid at $594 round-trip.
•June ($1,253) and December ($1,252) are the most expensive months.
•The price difference between flying in the cheapest and most expensive months is 110% on average.
This is based on KAYAK aggregated and averaged internal data over the past 12 months.

When are flights from San Francisco to Madrid the cheapest?

Flights from San Francisco to Madrid are cheapest 11 weeks before departure. Booking in this window typically costs about 20% less than the average last-minute fare (within 2 weeks of the flight), based on KAYAK data.

Expert advice

Expert advice for your flight from San Francisco to Madrid

 
KAYAK teamed up with top travel experts to share the best tips for your journey.
Our travel experts
Marisa Garcia

Marisa Garcia

Expert on Iberia

Marisa knows planes inside and out, spending 16 years working on aircraft in hangars at airports around the world. She is an aviation industry expert, specialized in airline interiors and regulations. Ten years ago, she pivoted to journalism. She shares her insights in leading aviation, travel, and business publications and on her site FlightChic.

Duncan Madden

Duncan Madden

Expert on British Airways

Duncan is a freelance travel writer, copywriter and book author in constant search of travel stories and the perpetual sensation of being on holiday. He’s never happier than when on a dusty trail in search of empty waves or ducking under the piste tape in search of snowbound solitude. British born, living in Germany, but happiest heading for the horizon. His first book, Found in Translation, explores the etymologies and stories of country names around the world and is out now.

Harriet Baskas

Harriet Baskas

Expert on American Airlines

Harriet is an award-winning journalist who is happiest in an airport or an unusual museum. Her stories about airports, air travel, and the business of travel have appeared on NBC News, CNBC, USA TODAY, The Points Guy and other outlets. She is the creator of the StuckatTheAirport.com blog and the author of nine books. When not out on the road or exploring the latest airport amenities, she’s home in Seattle getting ready for the next adventure.

Ramsey Qubein

Ramsey Qubein

Expert on MAD

An avid traveler and aviation expert who has visited 173 countries, all 50 states and seven continents, Ramsey Qubein flies nearly 400,000 miles a year. As a North Carolina-based freelance journalist for publications including Conde Nast Traveler, Forbes, USA Today and Bloomberg among others, he explores the latest trends in aviation, hospitality, cruises and business.

Blane Bachelor

Blane Bachelor

Expert on SFO

Blane Bachelor is a journalist and editor specializing in travel and aviation who writes regularly for top global outlets. Born and raised in Florida, Blane has worked and lived in four countries, including the Netherlands, where she’s currently based with her family. Her favorite way to get to know a new destination is by running or riding a bike around town – or hearing a spooky ghost story about local history. She will always choose the window seat.

Key details for San Francisco to Madrid flights

Low season

February

Cheapest flight

$313
Beat the crowds with an average 28% drop in travelers.
The most popular month to fly with an average 30% increase in travelers.
One-way flight from San Francisco to Madrid

When to book flights from San Francisco to Madrid

Are your dates flexible? Find out the best times to travel from San Francisco to Madrid based on our flight data from the last year. Discover the cheapest month and even day to fly.
Estimated round-trip price

Your San Francisco to Madrid flight questions, answered

Find helpful answers about this route, including flight times, airports, airlines and booking tips.

  • What cabin classes can I book on flights from San Francisco to Madrid?

    Four cabin classes are available on flights from San Francisco to Madrid:

    • Economy Class
    • Premium Economy Class
    • Business Class
    • First Class

    Prices vary by airline.

  • How long is a flight from San Francisco to Madrid?

    A nonstop flight from San Francisco to Madrid takes about 00m, covering 5,794 miles.

  • Do I need a passport to fly from San Francisco to Madrid?

    Yes, a valid passport is required for this international route. Many destinations require at least six months of validity beyond your travel dates. Check your passport expiry well before booking.

  • How much should I expect to pay for a San Francisco to Madrid flight?

    Round-trip flights from San Francisco to Madrid range from $669 to $1,145, with an average of $855 over the past 12 months. Anything below $669 counts as a good deal.

  • How expensive are last-minute San Francisco to Madrid flights?

    Last-minute fares on this route (booked within two weeks of departure) run 7% above the $855 route average. Book 11 weeks before departure for the lowest fares.

  • How much can I save by taking a layover when flying from San Francisco to Madrid?

    On this route, layover flights are cheaper than nonstop options on average. Layover fares average $625 round-trip via Kastrup Copenhagen (CPH), compared to $992 for nonstop.

  • How does on-time performance compare across airlines flying from San Francisco to Madrid?

    Iberia is the only airline operating San Francisco to Madrid flights. 81% of its flights are on time.

  • What is the standard checked-bag allowance on flights from San Francisco to Madrid?

    There is no standard. Checked-bag policies vary by airline on this route. Most carriers charge $43–$100 for the first checked bag in economy. Premium fares and elite-status bookings typically include a free checked bag.

  • Which aircraft model is used most often on flights from San Francisco to Madrid?

    The Airbus A330-200 family is used most often on this route, operated mainly by Iberia and British Airways. Other aircraft seen on the route include Airbus A330 variants.

  • Which airlines offer Wi-Fi on San Francisco to Madrid flights?

    Four airlines typically offer in-flight Wi-Fi on San Francisco to Madrid flights:

    • Iberia
    • American Airlines
    • British Airways
    • Aer Lingus

    Pricing varies by airline and fare class. Some plans are included with the ticket or loyalty program; others are paid add-ons priced by flight length.

  • How are flight prices from San Francisco to Madrid looking right now?

    One-way fares from San Francisco to Madrid are currently lower than usual. Average one-way flight prices are about $325, which is 39% below the typical average for this route.

  • What car rental options are available at Madrid Barajas Airport (MAD)?

    Madrid Barajas Airport (MAD) hosts 5 major car rental companies, with daily rates averaging $32 for economy cars. Top options include:

    • Record go
    • Goldcar Rental SP
    • CLICK RENT
    • Centauro
    • Alamo

  • Which airports can I use when flying from San Francisco to Madrid?

    Flights from San Francisco to Madrid usually depart from San Francisco (SFO) and arrive at Madrid Barajas (MAD).

  • What time of day has the fewest delays on flights from San Francisco to Madrid?

    Evening flights have the fewest delays on this route, while afternoon departures tend to have the most.

  • At what point is a flight considered delayed from San Francisco to Madrid?

    A flight is considered delayed when it departs 15 minutes or more after its scheduled time. This is the standard used by the US Department of Transportation and most airline industry reporting. On the San Francisco to Madrid route, 19% of flights were delayed in the past 3 months, with delays averaging 3h 07m.

  • Which airports do connecting flights from San Francisco to Madrid pass through?

    One-stop flights from San Francisco to Madrid most commonly connect through:

    • Lisbon Humberto Delgado (LIS) - 41% of one-stop connections
    • London Heathrow (LHR) - 10% of one-stop connections
    • Munich Franz Josef Strauss (MUC) - 7% of one-stop connections
    • Montreal Pierre Elliott Trudeau Intl (YUL) - 6% of one-stop connections

  • Can I save money by using flexible dates for flights from San Francisco to Madrid?

    Yes. Flexible dates can save you up to 17% on flights from San Francisco to Madrid. Wednesday is the cheapest departure day at $761 round-trip on average, while Friday is the most expensive at $910, a difference of $149.

    KAYAK's flexible dates feature shows options up to 3 days before and after your selected dates, making it easier to compare nearby fares.

  • How much time can I save by choosing a different layover airport from San Francisco to Madrid?

    Flying via Chicago O'Hare Intl (ORD) gives the shortest average 1-stop total travel time at 15h 24m, compared with 15h 36m via Montreal Pierre Elliott Trudeau Intl (YUL) and 15h 39m via Paris Charles de Gaulle (CDG).

  • What is the time difference between San Francisco and Madrid?

    Madrid is 9 hours ahead of San Francisco (Central European Time vs Pacific Time). Plan for the time shift when scheduling connections or first-day activities.

  • What popular places can I visit in Madrid?

    Some of the most popular sights in Madrid are Plaza Mayor, Puerta del Sol and Estado Santiago Bernabéu. These are among the most viewed places in Madrid on KAYAK.

  • Which airlines offer free seat selection on San Francisco to Madrid flights?

    The following airlines offer free seat selection on this route:

    • Iberia
    • American Airlines
    • Finnair

    Availability depends on fare class.

  • Which airlines offer extra legroom on San Francisco to Madrid flights?

    None of the airlines on this route currently offer extra legroom.

  • Which airlines include bags at no extra cost on San Francisco to Madrid flights?

    Here are some options for this route, based on selected ticket types and cabin classes:

    • Iberia: a cabin bag and a checked bag in Economy Class
    • American Airlines: a cabin bag and a checked bag in Economy Class
    • Aer Lingus: a cabin bag and a checked bag in Economy Class

    Bag allowance can vary by ticket type, cabin class, route and airline, so always check the fare details before booking.

  • When should I get to the airport for my flight from San Francisco to Madrid?

    Travelers should arrive at San Francisco International Airport (SFO) at least three hours before an international flight to Adolfo Suárez Madrid–Barajas International Airport (MAD). That allows time for check-in, security and reaching the boarding gate. SFO also has TSA PreCheck and Clear biometrics lanes.

  • What is one option for getting to SFO?

    Bay Area Rapid Transit (BART) runs directly to and from SFO on a regular schedule. The ride from the airport to downtown takes 30 minutes one way.

  • What are the transportation options from MAD to Madrid’s city center?

    Madrid’s Metro is a popular, easy-to-use airport transit option. The Airport Express bus is affordable but slower, while taxis provide direct service with variable fares.

  • Can I rent a car when I arrive at Madrid-Barajas Airport (MAD)?

    Yes, major international and regional car rental companies operate at MAD. Car rental desks are on Floor 0 of Terminal 1 and Floor -1 of Terminal 4. Operating hours vary.

  • Are SFO and MAD kid-friendly?

    Yes, both airports offer family-friendly facilities. SFO has play areas in Terminals 1, 2 and 3. Each terminal also has a nursery for added privacy. At MAD, play areas are located in the boarding zones of Terminal T4 by gate J58, Terminal T2 opposite gate C46 and T4S near gate S11. The airport also has free children's areas in different terminals and children must be accompanied by a responsible adult. An infant room is also available in Terminal T2.

  • Will a flight from SFO to MAD have on-demand videos?

    Yes, some flights on this route have on-demand videos. Entertainment options are shown by expanding the plane details. On the Wamos Air-operated-for-Avianca service through San Salvador, on-demand videos are available through a seatback console on the second leg.

  • Does Adolfo Suárez Madrid–Barajas International Airport offer special needs assistance?

    Yes, Adolfo Suárez Madrid–Barajas Airport (MAD) has accessible facilities and offers a barrier-free assistance service. When assistance is requested at least 48 hours before the scheduled departure time, an assistant can help travelers disembark, reach the baggage reclaim hall and get to the specified meeting point.

  • Does San Francisco International Airport offer long-term parking?

    Yes, SFO offers long-term parking. Parking garages are located across from the terminals and a more affordable long-term lot is just off I-380.

Your guide to booking San Francisco to Madrid flights

Get tips on when to book, when to fly and what to know before your trip.
  • If your dates are flexible, aim for a Wednesday departure and avoid flying on Friday. On this route, Wednesday flights average $761, about $149 less than Friday fares (16% savings) based on the last 12 months.
  • For the best chance at a low fare, aim to book around 11 weeks before you fly. On this route, that window historically saves about 20% versus last-minute pricing (KAYAK booking data, last 12 months).
  • If you can choose when to travel, plan your San Francisco to Madrid trip for February. Fares historically average $594 round-trip in that month - typically $659 less than the most expensive month, which is June (based on the last 12 months).
  • If you have the time, taking a 1-stop flight through Kastrup Copenhagen Airport (CPH) can be cheaper than flying direct. The cheapest layover option averages $625 round-trip on this route - about $367 less than direct flights (based on the last 12 months).
  • If you're arriving late at night and need somewhere to stay, check out these hotels close to Madrid Barajas Airport.

    • Senator Barajas Hotel
    • Clement Barajas
    • ibis Styles Madrid Airport Valdebebas
  • When searching for flights to Madrid, look for Madrid-Barajas International Airport (MAD), often called Barajas. It is Spain's biggest and busiest airport and Iberia Airlines' main hub.
  • If you're a US citizen flying from San Francisco to Madrid for business or tourism, you can travel without a visa for around three months. Make sure your passport is valid for at least three months after your planned departure date from Spain.
  • Arrive a little early and stop by the yoga space just after the security checkpoint in San Francisco International Airport (SFO) Terminal 2 to get centered before takeoff.
  • Before departure, head to one of the many lounges at San Francisco International Airport (SFO) to decompress.
  • If you're working while traveling, use the free Wi-Fi at San Francisco International Airport (SFO) and Madrid-Barajas International Airport (MAD) to stay productive.

More options for your flight from San Francisco to Madrid

Complete your trip to Madrid with a hotel stay or car rental