There are 7 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  •  4h 55m

  1. Take the train from San Sebastian/Donostia to Madrid-Puerta De Atocha Alv

35€ - 45€

Cheapest option

Rideshare  •  5h 22m

  1. Take the rideshare from Saint-Sébastien to Madrid 454.2 km

21€ - 40€

5 alternative options

Bus  •  6h

  1. Take the bus from San Sebastian to Madrid N1160

22€ - 50€

Drive  •  4h 36m

  1. Drive from Donostia / San Sebastián to Madrid 454.9 km

45€ - 70€

Fly from San Sebastian  •  3h 25m

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

42€ - 173€

Bus to Bilbao, fly  •  4h 6m

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

38€ - 307€

Bus to Pamplona, fly  •  5h 12m

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

40€ - 197€

Coronavirus (COVID-19) in Spain

There is widespread community transmission globally.
Some travel restrictions are being lifted in Spain. For the latest travel status, please check the official page for Spain.

For travel planning advice, please refer to our Rome2rio Coronavirus information page .
For the latest travel status, we recommend checking the official page for Spain.

Coronavirus (COVID-19) Travel Advice

Some border closures are in place for Spain due to Coronavirus (COVID-19). Most travel to this country is restricted.

Source Type: Government | Last updated: 5/16/2020

Some domestic travel restrictions began to ease in Spain from 5/9/2020.

Source Type: Government | Last updated: 5/11/2020

International flights leaving Spain are suspended as part of the response to Coronavirus (COVID-19). Restrictions may also be in place for other modes of transport.

Source Type: Government | Last updated: 3/26/2020

Data sourced from: CDC, ACAPS, OXFORD

Questions & Answers

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

More details

The quickest way to get from Donostia / San Sebastián to Madrid is to fly which costs 40€ - 180€ and takes 3h 25m.

More details

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 6h.

More details

Yes, there is a direct train departing from San Sebastian/Donostia and arriving at Madrid-Puerta De Atocha. Services depart once a week, and operate Friday. The journey takes approximately 4h 55m.

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 4h 55m and costs 35€ - 45€.

More details

The train from San Sebastian/Donostia to Madrid-Puerta De Atocha takes 4h 55m including transfers and departs once a week.

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 Renfe Viajeros, depart from San Sebastian/Donostia station.

More details

The best way to get from Donostia / San Sebastián to Madrid is to train which takes 4h 55m and costs 35€ - 45€. Alternatively, you can bus, which costs 22€ - 50€ and takes 6h, you could also fly, which costs 40€ - 180€ and takes 3h 25m.

Mode details

Map of how to get from Donostia / San Sebastián to Madrid.
Launch map view
  • Distance: 352.4 km
  • Duration: 4h 55m

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

Renfe Viajeros operates a train from San Sebastian/Donostia to Madrid-Puerta De Atocha once a week. Tickets cost 35€ - 45€ and the journey takes 4h 55m. Alternatively, ALSA operates a bus from San Sebastian to Madrid hourly. Tickets cost 35€ - 50€ and the journey takes 6h. FlixBus also services this route every 4 hours.

Airlines
Iberia
Website
iberia.com
Flights from San Sebastian to Madrid
Ave. Duration
1h 20m
When
Every day
Estimated price
40€ - 180€
Flights from Bilbao to Madrid
Ave. Duration
1h 8m
When
Every day
Estimated price
35€ - 290€
Flights from Pamplona to Madrid
Ave. Duration
1h 6m
When
Every day
Estimated price
35€ - 230€
Air Europa
Website
aireuropa.com
Flights from Bilbao to Madrid
Ave. Duration
1h 4m
When
Every day
Estimated price
30€ - 210€
Train operators
Renfe Viajeros

Spain's excellent and extensive rail system connects cities across Spain and into neighbouring countries. Renfe's high-speed AVE trains can reach speeds of up to 350km/h, making travel between major cities very efficient. All medium- and long-distance trains require a seat reservation; ticket sales for these trains usually open 30-60 days before travel. Most Renfe trains have two classes: Turista (2nd class) and Preferente (1st class), although some AVE trains offer Turista Plus. There is free WiFi for Preferente passengers and for those with a +Renfe loyalty card.

Rome2rio's guide to Renfe Viajeros
Contact Details
Phone
902 320 320
Website
renfe.com
Train from San Sebastian/Donostia to Madrid-Puerta De Atocha
Ave. Duration
4h 55m
Frequency
Once a week
Estimated price
35€ - 45€
Website
Renfe Viajeros
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. ALSA services are accessible to people with disabilities, and guide dogs are welcome on all journeys. There are 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
6h
Frequency
Hourly
Estimated price
35€ - 50€
Website
alsa.com
Bus from San Sebastian to Pamplona
Ave. Duration
1h 25m
Frequency
Every 3 hours
Estimated price
10€ - 14€
Website
alsa.com
FlixBus

One of Europe’s leading bus companies, Flixbus serves 2000+ destinations in 29 countries, including Germany, France, Italy, Austria, the Netherlands and Croatia and into Scandinavia and eastern Europe, as well as some US cities. Coaches have toilets, free WiFi and power outlets, plus snacks and drinks for purchase on board. Flixbus is a good choice for the budget-conscious traveller; purchase tickets in advance for the cheapest fares (note: there is no option to reserve a seat in advance).

Rome2rio's guide to FlixBus
Contact Details
Phone
+49 1807 123 99 123
Email
info@flixbus.de
Website
flixbus.de
Bus from San Sebastián, San Sebastian to Madrid, Madrid
Ave. Duration
6h 15m
Frequency
Every 4 hours
Estimated price
22€ - 28€
Website
flixbus.co.uk
Transportes Pesa
Phone
+34 (0) 900 12 14 00
Email
atencionaclientes@pesa.net
Website
pesa.net
Bus from Donostia / San Sebastián to Airport Loiu Bilbao
Ave. Duration
1h 20m
Frequency
Every 20 minutes
Estimated price
10€ - 17€
Schedules at
pesa.net
MonBus
Phone
+34 982 29 29 00
Website
monbus.es
Bus from San Sebastián to Pamplona
Ave. Duration
1h 6m
Frequency
Every 4 hours
Estimated price
6€ - 9€
Schedules at
monbus.es
Vigo Barcelona, S.A.
Phone
93 265 61 32
Website
barcelonanord.cat
Bus from San Sebastián to Pamplona
Ave. Duration
1h 10m
Frequency
Twice daily
Schedules at
Vigo Barcelona, S.A.
Other operators
BlaBlaCar.es
Rome2rio's guide to BlaBlaCar.es
Contact Details
Website
blablacar.com
Rideshare from Saint-Sébastien to Madrid
Ave. Duration
5h 22m
Frequency
Hourly
Estimated price
21€ - 40€
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

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

Search flights

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

More details

Donostia / San Sebastián to Madrid train services, operated by Renfe Viajeros, 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 4h 36m 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 Omio.

Search and book

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

Search and book

There are 3960+ hotels available in Madrid. Prices start at 87€ 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 19 min and costs 2€ - 4€.

More details