There are 9 ways to get from Donostia / San Sebastián to Madrid by train, bus, rideshare, car or plane

Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2rio's travel planner.

Recommended option

Train  •  4 h 56 min

  1. Take the train from San Sebastian to Madrid-Puerta de Atocha A

$65 - $85

Cheapest option

Bus  •  5 h 40 min

  1. Take the bus from San Sebastián to Madrid - Avénida de America Ouibus

$17 - $55

7 alternative options

Rideshare  •  5 h 22 min

  1. Take the rideshare from Saint-Sébastien to Madrid 283.6 miles

$25 - $45

Drive  •  4 h 39 min

  1. Drive from Donostia / San Sebastián to Madrid 284.3 miles

$50 - $80

Fly from San Sebastian  •  3 h 23 min

  1. Fly from San Sebastian (EAS) to Madrid (MAD) EAS - MAD

$80 - $287

Bus to Bilbao, fly  •  4 h 2 min

  1. Take the bus from San Sebastián to Airport Loiu Bilbao
  2. Fly from Bilbao (BIO) to Madrid (MAD) BIO - MAD

$54 - $213

Bus to Pamplona, fly  •  4 h 51 min

  1. Take the bus from San Sebastian to Pamplona
  2. Fly from Pamplona (PNA) to Madrid (MAD) PNA - MAD

$94 - $474

Bus to Biarritz, fly  •  4 h 57 min

  1. Take the bus from San Sebastián to Biarritz - Aéroport
  2. Fly from Biarritz (BIQ) to Madrid (MAD) BIQ - MAD

$65 - $336

Bus to Santander, fly  •  5 h 44 min

  1. Take the bus from Hernani to Santander
  2. Fly from Santander (SDR) to Madrid (MAD) SDR - MAD

$64 - $389

Questions & Answers

The cheapest way to get from Donostia / San Sebastián to Madrid is to rideshare which costs 21€ - 40€ and takes 5 h 22 min.

More details

The quickest way to get from Donostia / San Sebastián to Madrid is to fly which costs 65€ - 250€ and takes 3 h 23 min.

More details

The distance between Donostia / San Sebastián and Madrid is 352 km. The road distance is 454.9 km.

Get driving directions

The train from San Sebastian to Madrid-Puerta de Atocha takes 4 h 56 min including transfers and departs three times a week.

More details

Yes, there is a direct bus departing from San Sebastián and arriving at Madrid - Avénida de America. Services depart every 30 minutes, and operate every day. The journey takes approximately 5 h 40 min.

More details

Yes, there is a direct train departing from San Sebastian and arriving at Madrid-Puerta de Atocha. Services depart three times a week, and operate Monday and Friday. The journey takes approximately 4 h 56 min.

More details

What companies run services between Donostia / San Sebastián, Spain and Madrid, Spain?

Spanish Railways (RENFE) operates a train from Donostia / San Sebastián to Madrid 3 times a week. Tickets cost $65 - $85 and the journey takes 4 h 56 min. Alternatively, Ouibus operates a bus from Donostia / San Sebastián to Madrid every 30 minutes. Tickets cost $17 - $25 and the journey takes 5 h 40 min. ALSA also services this route hourly.

Airlines
Iberia
Website
iberia.com
Flights from San Sebastian to Madrid
Ave. Duration
1 h 20 min
When
Every day
Estimated price
$130 - $410
Flights from Bilbao to Madrid
Ave. Duration
1 h 6 min
When
Every day
Estimated price
$100 - $390
Flights from Pamplona to Madrid
Ave. Duration
1 h 3 min
When
Every day
Estimated price
$140 - $470
Flights from Biarritz to Madrid
Ave. Duration
1 h 10 min
When
Monday, Tuesday, Wednesday, Thursday, Friday and Sunday
Estimated price
$60 - $300
Flights from Santander to Madrid
Ave. Duration
1 h 4 min
When
Every day
Estimated price
$80 - $420
Air Europa
Website
aireuropa.com
Flights from Bilbao to Madrid
Ave. Duration
1 h 5 min
When
Every day
Estimated price
$85 - $290
Train operators
Spanish Railways (RENFE)
Rome2rio's guide to Spanish Railways (RENFE)
Contact Details
Phone
902 320 320
Website
renfe.com
Train from San Sebastian to Madrid-Puerta de Atocha
Ave. Duration
4 h 56 min
Frequency
3 times a week
Estimated price
$65 - $85
Website
renfe.com
Bus operators
Ouibus
Phone
0890715298
Website
ouibus.com
Bus from San Sebastián to Madrid - Avénida de America
Ave. Duration
5 h 40 min
Frequency
Every 30 minutes
Estimated price
$17 - $25
Website
Ouibus
Bus from San Sebastián to Biarritz - Aéroport
Ave. Duration
1 h 5 min
Frequency
Every 10 minutes
Estimated price
$2 - $4
Website
Ouibus
Bus from Hernani to Santander
Ave. Duration
2 h 10 min
Frequency
Hourly
Estimated price
$7 - $11
Website
Ouibus
ALSA
Phone
+34 902 42 22 42
Website
alsa.es
Bus from San Sebastian to Madrid
Ave. Duration
6 h
Frequency
Hourly
Estimated price
$35 - $55
Website
alsa.com
Bus from San Sebastian to Pamplona
Ave. Duration
1 h 25 min
Frequency
Every 3 hours
Estimated price
$19 - $29
Website
alsa.com
Lurraldebus
Phone
943 000 117
Email
info@mugi.eus
Website
lurraldebus.eus
Bus from San Sebastián to Airport Loiu Bilbao
Ave. Duration
1 h 15 min
Frequency
Hourly
Estimated price
$12 - $20
Schedules at
lurraldebus.eus
La Baztanesa
Phone
948 58 01 29
Email
autobuses@labaztanesa.com
Website
labaztanesa.com
Bus from San Sebastián to Pamplona
Ave. Duration
1 h 30 min
Frequency
Twice daily
Estimated price
$10 - $15
Schedules at
labaztanesa.com
Other operators
BlaBlaCar.es
Rome2rio's guide to BlaBlaCar.es
Contact Details
Website
blablacar.com
Rideshare from Saint-Sébastien to Madrid
Ave. Duration
5 h 22 min
Frequency
Hourly
Estimated price
$25 - $45
Book at
blablacar.es

Want to know more about travelling around Spain

Rome2rio's Travel Guide series provide vital information for the global traveller. Filled with useful and timely travel information, the guides answer all the hard questions - such as 'How do I buy a ticket?', 'Should I book online before I travel? ', 'How much should I expect to pay?', 'Do the trains and buses have Wifi?' - to help you get the most out of your next trip.