Direct (nonstop) flights from San Jose to Madrid

2 airlines fly nonstop from Juan Santamaria International (SJO) to Barajas (MAD). It's 5,285 miles (8,506 km), about 10h 10m in the air. Operated by Iberojet, Iberia.

SJO
Juan Santamaria International
🇨🇷 San Jose, Costa Rica
MAD
Barajas
🇪🇸 Madrid, Spain
Flight Time
10h 10m
Distance
5,285 mi
8,506 km
CO₂/pax
808 kg
−44 kg vs. layover
Airlines
2
Iberojet +1
Time Diff
+8h
Operated by Iberojet Iberojet Iberia Iberia

Route data last updated: May 31, 2026

Airlines with non-stop flights

Iberojet E9 Iberojet
Route
SJO → MAD
Flight Time
10h 10m
Distance
5,285 mi
Iberia IB Iberia
Route
SJO → MAD
Flight Time
10h 10m
Distance
5,285 mi

Alternative Routes

Other ways to fly from San Jose to Madrid with one stop · direct emits 808 kg CO₂ per passenger

SJO SDQ (Santo Domingo) MAD
Leg 1: 2h 57m (1,132 mi) Leg 2: 8h 15m (4,162 mi) Total: ~11h 12m 🍃 852 kg CO₂ (+5% vs. direct)
Leg 1
SJO → SDQ
2h 57m · 1,132 mi
View SJO to SDQ flights →
Leg 2
SDQ → MAD
8h 15m · 4,162 mi
View SDQ to MAD flights →
SJO PTY (Panama City) MAD
Leg 1: 1h 24m (334 mi) Leg 2: 9h 50m (5,072 mi) Total: ~11h 14m 🍃 862 kg CO₂ (+7% vs. direct)
Leg 1
SJO → PTY
1h 24m · 334 mi
View SJO to PTY flights →
Leg 2
PTY → MAD
9h 50m · 5,072 mi
View PTY to MAD flights →
SJO CTG (Cartagena) MAD
Leg 1: 1h 45m (592 mi) Leg 2: 9h 45m (4,809 mi) Total: ~11h 30m 🍃 870 kg CO₂ (+8% vs. direct)
Leg 1
SJO → CTG
1h 45m · 592 mi
View SJO to CTG flights →
Leg 2
CTG → MAD
9h 45m · 4,809 mi
View CTG to MAD flights →
SJO MDE (Medellin) MAD
Leg 1: 2h 5m (656 mi) Leg 2: 9h 30m (4,993 mi) Total: ~11h 35m 🍃 909 kg CO₂ (+13% vs. direct)
Leg 1
SJO → MDE
2h 5m · 656 mi
View SJO to MDE flights →
Leg 2
MDE → MAD
9h 30m · 4,993 mi
View MDE to MAD flights →
SJO MIA (Miami) MAD
Leg 1: 3h 5m (1,116 mi) Leg 2: 8h 35m (4,423 mi) Total: ~11h 40m 🍃 890 kg CO₂ (+10% vs. direct)
Leg 1
SJO → MIA
3h 5m · 1,116 mi
View SJO to MIA flights →
Leg 2
MIA → MAD
8h 35m · 4,423 mi
View MIA to MAD flights →

Looking for the return flight?

MAD → SJO: Flights from Madrid to San Jose

Frequently Asked Questions

How long is the direct flight from San Jose to Madrid?

A nonstop flight from San Jose (SJO) to Madrid (MAD) takes approximately 10 hours and 10 minutes. The distance is 5,285 miles (8,506 km).

Which airlines fly nonstop from San Jose to Madrid?

2 airlines: Iberojet, Iberia.

Is there a nonstop flight from San Jose to Madrid?

Yes. 2 airlines: Iberojet, Iberia.

How far is San Jose from Madrid?

The flight distance from San Jose to Madrid is 5,285 miles (8,506 km), measured as the great-circle (shortest air) distance. That's roughly the same distance as London to Tokyo.

What is the time difference between San Jose and Madrid?

Madrid is 8 hours ahead of San Jose. (America/Costa_Rica vs Europe/Madrid.)

Will I experience jet lag flying from San Jose to Madrid?

Probably — 8-hour time difference means significant jet lag. Expect about 1 day of adjustment per hour of shift. Flying eastward is generally harder to adjust to.

What type of aircraft flies from San Jose to Madrid?

At 10h 10m, this route typically uses wide-body aircraft — Boeing 777, 787, or Airbus A330/A350. Varies by airline.

Do I need a visa to travel from Costa Rica to Spain?

Depends on your passport. Check with the Spain embassy or an official visa portal before booking — requirements change.

What is the carbon footprint of a flight from San Jose to Madrid?

Roughly 808 kg CO2 per passenger one-way. That's about the same as driving 4,040 km.

Is the return flight from Madrid to San Jose also nonstop?

Yes — nonstop flights run both ways. Flight time may differ slightly due to wind patterns.

When is the cheapest time to fly from San Jose to Madrid?

Midweek flights (Tue/Wed) outside holiday peaks are usually cheapest. For long-haul, booking 2-3 months out tends to help. Use "Check Prices" above to compare.

How early should I arrive at Juan Santamaria International for this flight?

3 hours before departure for international flights. You need time for check-in, security, and immigration.