MAD
Madrid
Spain
9,331 km
5,798 miles
SFO
San Francisco
United States
Distance
9,331 km
5,798 mi / 5,038 nm
Est. Flight Time
12h
Ultra-long-haul route
Time Difference
-9h
Europe/Madrid
Heading
316°
northwest

Ready to fly MAD to SFO?

Compare flight prices across hundreds of airlines and booking sites.

Find flights from MAD to SFO

Some links on this page are affiliate links. We may earn a commission at no extra cost to you.

Airport Comparison

MAD SFO
Airport Name Madrid Barajas International Airport San Francisco International Airport
IATA Code MAD SFO
ICAO Code LEMD KSFO
City Madrid San Francisco
Country Spain United States
Timezone Europe/Madrid America/Los_Angeles
Elevation 2,001 ft 13 ft
Coordinates 40.490000, -3.570000 37.620000, -122.380000

Madrid (MAD) to San Francisco (SFO) Flight Distance

The flight distance from Madrid Barajas International Airport (MAD) in Madrid, Spain to San Francisco International Airport (SFO) in San Francisco, United States is 9,331 kilometers (5,798 miles / 5,038 nautical miles). The estimated flight time for this route is approximately 12h, flying northwest at a heading of 316°.

This is an ultra-long-haul route, one of the longest in aviation. It requires wide-body aircraft with extended range capability such as the Airbus A350-900ULR or Boeing 777-200LR. Passengers should prepare for an extended flight with multiple meal services.

This is an international route connecting Spain with United States. It is an intercontinental flight between Europe and North America. Travelers should check visa requirements, customs regulations, and any travel advisories before booking.

Time zone information: When it's 18:37 in Madrid, it's 09:37 in San Francisco. With a 9-hour time difference, travelers should plan for significant jet lag. It typically takes one day per hour of time difference to fully adjust.

There is a significant elevation difference of 1,988 feet between the two airports. San Francisco International Airport sits lower than Madrid Barajas International Airport.

The return flight from San Francisco (SFO) to Madrid (MAD) follows a heading of 42° (northeast). Actual flight times may vary depending on wind conditions, air traffic, and the specific aircraft used.

For more information about these airports, visit the Madrid Barajas International Airport (MAD) and San Francisco International Airport (SFO) detail pages, or use our flight duration calculator to compare other routes.

Cheapest months to fly MAD → SFO

Live ticket prices for the next 12 months. Click any month to see deals.

Flight schedule MAD → SFO

Upcoming departures, airlines, and flight numbers for this route.

Flight MAD → SFO delayed or cancelled?

You may be entitled to up to €600 compensation under EU 261 / UK 261. Check eligibility in 2 minutes.

Calculate Flight Time Between Airports

Use our flight time calculator to find distances and estimated flight travel times between cities. Calculate flight duration for any airport pair worldwide.