There are 11 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 via Zaragoza Delicias  •  5 h 25 min

  1. Take the train from San Sebastian to Zaragoza Delicias A / ...
  2. Take the train from Zaragoza Delicias to Madrid-Puerta de Atocha Ave / ...

$82 - $115

Cheapest option

Bus  •  6 h

  1. Take the bus from San Sebastian to Madrid Ouibus

$16 - $55

9 alternative options

Train  •  8 h 6 min

  1. Take the train from San Sebastian to Madrid-Chamartin Ir / ...

$76 - $93

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 34 min

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

$79 - $287

Bus to Pamplona, fly  •  4 h 44 min

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

$92 - $473

Bus to Logrono, fly  •  5 h

  1. Take the bus from San Sebastián to Logroño
  2. Fly from Logrono (RJL) to Madrid (MAD) RJL - MAD

$98 - $197

Train to Bilbao, fly  •  5 h 49 min

  1. Take the train from Amara-Donostia to Ardantza-Eibar
  2. Fly from Bilbao (BIO) to Madrid (MAD) BIO - MAD

$51 - $208

Bus to Santander, fly  •  5 h 37 min

  1. Take the bus from San Sebastián to Santander
  2. Fly from Santander (SDR) to Madrid (MAD) SDR - MAD

$64 - $385

Bus to Biarritz, fly  •  4 h 37 min

  1. Take the bus from San Sebastian to Aeropuerto Biarritz
  2. Fly from Biarritz (BIQ) to Madrid (MAD) BIQ - MAD

$68 - $358

Questions & Answers

Yes, there is a direct bus departing from San Sebastian and arriving at Madrid. Services depart hourly, and operate every day. The journey takes approximately 6 h.

More details

No, there is no direct train from Donostia / San Sebastián to Madrid. However, there are services departing from San Sebastian and arriving at Madrid-Puerta de Atocha via Zaragoza Delicias. The journey, including transfers, takes approximately 5 h 25 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 best way to get from Donostia / San Sebastián to Madrid without a car is to train which takes 5 h 25 min and costs .

More details

It takes approximately 5 h 25 min to get from Donostia / San Sebastián to Madrid, including transfers.

More details

Donostia / San Sebastián to Madrid bus services, operated by ALSA, depart from San Sebastian station.

More details

Donostia / San Sebastián to Madrid train services, operated by Spanish Railways (RENFE), depart from San Sebastian station.

More details

The best way to get from Donostia / San Sebastián to Madrid is to train which takes 5 h 25 min and costs . Alternatively, you can bus, which costs and takes 6 h, you could also fly, which costs and takes 3 h 34 min.

Mode details

The quickest flight from San Sebastian Airport to Madrid Airport is the direct flight which takes 1 h 20 min.

Search flights

Donostia / San Sebastián to Madrid bus services, operated by ALSA, arrive at Madrid station.

More details

Map of how to get from Donostia / San Sebastián to Madrid.
Launch map view
  • Distance: 220.2 miles
  • Duration: 5 h 25 min

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

You can take a train from Donostia / San Sebastián to Madrid via Zaragoza Delicias in around 5 h 25 min. Alternatively, ALSA operates a bus from Donostia / San Sebastián to Madrid hourly. Tickets cost $30 - $55 and the journey takes 6 h. Ouibus also services this route once daily.

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 Pamplona to Madrid
Ave. Duration
1 h
When
Every day
Estimated price
$140 - $470
Flights from Logrono to Madrid
Ave. Duration
50 min
When
Monday to Saturday
Estimated price
$65 - $230
Flights from Bilbao to Madrid
Ave. Duration
1 h 6 min
When
Every day
Estimated price
$100 - $390
Flights from Santander to Madrid
Ave. Duration
1 h 4 min
When
Every day
Estimated price
$80 - $420
Flights from Biarritz to Madrid
Ave. Duration
1 h 10 min
When
Monday, Tuesday, Wednesday, Thursday, Friday and Sunday
Estimated price
$60 - $300
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)

Based in Madrid, Renfe is a state-owned train operator, that connects cities across Spain and neighbouring countries including Portugal, France, Germany, Switzerland, and the Netherlands. Renfe’s extensive network means most destinations offer multiple trains a day, with the most popular routes normally offering a train each hour. Locally known as AVE, the high-speed trains can reach speeds of up to 350km/h, making travel between major cities very efficient. Comfort is key in a Renfe train, with seats with footrests in all three classes of travel: Standard, Club and First. Each seat has an individual light, a pull-down table and an electrical outlet for in Club and First classes. There is free WiFi for first class passengers and for those with a + Renfe card.

Rome2rio's guide to Spanish Railways (RENFE)
Contact Details
Phone
902 320 320
Website
renfe.com
Train from San Sebastian to Zaragoza Delicias
Ave. Duration
3 h 40 min
Frequency
3 times a day
Estimated price
$35 - $50
Website
renfe.com
Train from San Sebastian to Madrid-Chamartin
Ave. Duration
7 h 44 min
Frequency
Every 4 hours
Estimated price
$70 - $95
Website
renfe.com
Spanish Railways AVE
Euskotren
Website
euskotren.eus
Train from Amara-Donostia to Ardantza-Eibar
Ave. Duration
1 h 22 min
Frequency
Hourly
Estimated price
$4 - $6
Schedules at
euskotren.eus
Bus operators
ALSA

A Spanish subsidiary of National Express, ALSA provides bus and coach services across Spain and neighbouring countries including Portugal, France, Germany, the Netherlands, Italy, Poland and Malta. Founded in 1923, ALSA values service and the customer experience. Buses are equipped with communal TV screens showing movies, individual behind-seat screens, ALSA radio, app for books and music, and free WiFi so you’re never bored on your journey. ALSA services are accessible to people with disabilities, and guide dogs are welcome on all journeys. Flexibility is another highlight of an ALSA journey, with three types of tickets on offer - Frequent Traveller Pass, Share Pass and ALSA Pass, along with discounts for senior citizens, students and children.

Contact Details
Phone
+34 902 42 22 42
Website
alsa.es
Bus from San Sebastian to Madrid
Ave. Duration
6 h
Frequency
Hourly
Estimated price
$30 - $55
Website
alsa.com
Bus from San Sebastian to Pamplona
Ave. Duration
1 h 25 min
Frequency
Every 3 hours
Estimated price
$18 - $29
Website
alsa.com
Bus from San Sebastian to Aeropuerto Biarritz
Ave. Duration
45 min
Frequency
5 times a day
Estimated price
$16 - $25
Website
alsa.com
Ouibus

As the bus subsidiary of French railway SNCF, Ouibus offers comfortable, eco-friendly coaches serving 35 French cities and 11 European cities at affordable fares. Ouibus journeys are safe and comfortable, with the four-star coaches offering power outlets, restrooms and WiFi. All Ouibus stations are located close to town centres for easy access to public transport. Getting on one of the 130 daily journeys is easy - electronic travel documents include your ticket and a personalised mini-guide with handy information.

Contact Details
Phone
0890715298
Website
ouibus.com
Bus from San Sebastián to Madrid - Avénida de America
Ave. Duration
5 h 40 min
Frequency
Once daily
Estimated price
$16 - $23
Website
Ouibus
Bus from San Sebastián to Santander
Ave. Duration
2 h 25 min
Frequency
3 times a week
Estimated price
$7 - $11
Website
Ouibus
MonBus
Phone
+34 982 29 29 00
Website
monbus.es
Bus from San Sebastián to Pamplona
Ave. Duration
1 h 6 min
Frequency
Every 4 hours
Estimated price
$7 - $11
Schedules at
monbus.es
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
La Estellesa
Phone
+34 (0) 948 326 509
Email
info@laestellesa.com
Website
laestellesa.com
Bus from San Sebastián to Logroño
Ave. Duration
2 h 15 min
Frequency
Twice daily
Estimated price
$15 - $24
Schedules at
laestellesa.com
Book at
laestellesa.com
Transportes Pesa
Phone
+34 (0) 900 12 14 00
Email
atencionaclientes@pesa.net
Website
pesa.net
Bus from San Sebastian to Biarritz Airport
Ave. Duration
45 min
Frequency
Once daily
Estimated price
$5 - $10
Schedules at
pesa.net
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.

More Questions & Answers

Donostia / San Sebastián to Madrid train services, operated by Spanish Railways AVE, arrive at Madrid-Puerta de Atocha station.

More details

Yes, the driving distance between Donostia / San Sebastián to Madrid is 455 km. It takes approximately 4 h 39 min to drive from Donostia / San Sebastián to Madrid.

Get driving directions

Iberia offers flights from San Sebastian Airport to Madrid Airport.

Search flights

Book your Donostia / San Sebastián to Madrid train tickets online with Loco2 and Loco2.

Search and book

Book your Donostia / San Sebastián to Madrid bus tickets online with Busbud and Distribusion.

Search and book

There are 3655+ hotels available in Madrid. Prices start at $54 USD per night.

More details

Check out Blablacar's carpooling service for rideshare options between Donostia / San Sebastián and Madrid. A great option if you don't have a driver's licence or want to avoid public transport.

Read Rome2rio's guide to Blablacar

The best way to get from Donostia / San Sebastián to San Sebastian Airport is to bus which takes 32 min and costs .

More details