COVID-19 Travel restrictions may apply in Spain. Learn More.

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

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

Fly from San Sebastian  •  3h 5m

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

47€ - 183€

Cheapest option

Rideshare  •  5h 22m

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

22€ - 40€

6 alternative options

Bus to Bilbao, fly  •  4h 11m

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

40€ - 167€

Bus to Pamplona, fly  •  5h 57m

  1. Take the bus from Donostia/San Sebastián. Federico G. Lorca ps. 1 to Pamplona/Iruña. Estación Bus. Yanguas y Miranda 2
  2. Fly from Pamplona (PNA) to Madrid (MAD) PNA - MAD

49€ - 255€

Bus  •  6h

  1. Take the bus from San Sebastian to Madrid N1158

22€ - 50€

Train via Zaragoza  •  6h 2m

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

52€ - 92€

Train  •  7h 38m

  1. Take the train from San Sebastian/Donostia to Madrid-Principe Pio 18014 / ...

40€ - 50€

Drive  •  4h 29m

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

40€ - 65€

Donostia / San Sebastián to Madrid by bus

The bus journey time between Donostia / San Sebastián and Madrid is around 7h 10m and covers a distance of around 452 km. The fastest bus normally takes 7h 10m. Operated by ALSA and FlixBus, the Donostia / San Sebastián to Madrid bus service departs from San Sebastian and arrives in Madrid. Typically three buses run weekly, although weekend and holiday schedules can vary so check in advance.

The schedules shown below are for the next available departures.

Donostia / San Sebastián to Madrid bus schedules

Donostia / San Sebastián → Madrid
Partially open

Travel safe during COVID-19

Rules to follow in Spain

1.5m

Mandatory

Travel within Spain

Domestic border crossings may be subject to approval, testing and quarantine
Nationwide control measures in place
Regional restriction measures in place
Observe COVID-19 safety rules

COVID-19 help in Spain

If you need help, visit the national COVID-19 website or call the COVID-19 Helpline 112

Frequently Asked Questions


There are currently travel restrictions within Spain.

Explore options for future travel

Domestic travel is not restricted, but some conditions may apply

  • Face masks are mandatory
  • There is a social distancing requirement of 1.5 metres
  • Domestic border crossings may be subject to approval, testing and quarantine
  • Nationwide control measures in place
  • Regional restriction measures in place
  • Observe COVID-19 safety rules

Explore travel options

The national COVID-19 helpline number in Madrid is 112.

Wearing a face mask on public transport in Madrid is mandatory.

The social distance requirement in Madrid is 1.5 metres.

Make yourself known to an official member of staff and/or call the national coronavirus helpline number on 112.

Last updated: 11 May 2021
Exceptions may apply, for full details: European Union.

We're working around the clock to bring you the latest COVID-19 travel updates.
This information is compiled from official sources. To the best of our knowledge, it is correct as of the last update.
Visit Rome2rio travel advice for general help.

Questions & Answers

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

More details

The fastest way to get from Donostia / San Sebastián to Madrid is to fly which takes 3h 5m and costs 45€ - 190€.

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-Principe Pio. Services depart twice daily, and operate every day. The journey takes approximately 7h 38m.

More details

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

Get driving directions

The best way to get from Donostia / San Sebastián to Madrid without a car is to bus which takes 6h and costs 22€ - 50€.

More details

It takes approximately 3h 5m 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 Renfe Viajeros, depart from San Sebastian/Donostia station.

More details

The best way to get from Donostia / San Sebastián to Madrid is to fly which takes 3h 5m and costs 45€ - 190€. Alternatively, you can bus, which costs 22€ - 50€ and takes 6h, you could also train via Zaragoza, which costs 50€ - 95€ and takes 6h 2m.

Mode details

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

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

Iberia flies from Donostia / San Sebastián to Madrid once daily. 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 3 times a week.

Airlines
Iberia
Website
iberia.com
Flights from San Sebastian to Madrid
Ave. Duration
1h
When
Every day
Estimated price
45€ - 170€
Flights from Bilbao to Madrid
Ave. Duration
1h 10m
When
Every day
Estimated price
45€ - 170€
Flights from Pamplona to Madrid
Ave. Duration
1h 5m
When
Every day
Estimated price
40€ - 240€
Air Europa
Website
aireuropa.com
Flights from Bilbao to Madrid
Ave. Duration
1h 10m
When
Every day
Estimated price
30€ - 160€
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 Zaragoza-Delicias
Ave. Duration
3h 35m
Frequency
Once daily
Estimated price
21€ - 27€
Website
Renfe Viajeros
Train from San Sebastian/Donostia to Madrid-Principe Pio
Ave. Duration
7h 38m
Frequency
Twice daily
Estimated price
40€ - 50€
Website
Renfe Viajeros
Renfe AVE
Rome2rio's guide to Renfe AVE
Contact Details
Website
renfe.com
Train from Zaragoza-Delicias to Madrid-Puerta De Atocha
Ave. Duration
1h 27m
Frequency
Every 2 hours
Estimated price
30€ - 65€
Website
Renfe AVE
Promo
30€ - 40€
Promo+
37€ - 40€
Flexible
50€ - 65€
Bus operators
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 15m
Frequency
Every 3 hours
Estimated price
9€ - 17€
Schedules at
pesa.net
Conda S.A.
Phone
+34 (0) 902 422 242
Email
alsa@alsa.es
Website
alsa.es
Bus from Donostia/San Sebastián. Federico G. Lorca ps. 1 to Pamplona/Iruña. Estación Bus. Yanguas y Miranda 2
Ave. Duration
2h
Frequency
Hourly
Estimated price
6€ - 10€
Schedules at
Conda S.A.
HIFE S.A.
Phone
+34 (0) 902119814
Email
hife@hife.es
Website
hife.es
Bus from San Sebastián / Donostia to Pamplona
Ave. Duration
1h 10m
Frequency
Twice daily
Estimated price
8€ - 13€
Schedules at
hife.es
La Baztanesa S.A.
Phone
948 58 01 29
Email
autobuses@labaztanesa.com
Website
labaztanesa.com
Bus from Donostia/San Sebastián. Federico G. Lorca ps. 1 to Pamplona/Iruña. Estación Bus. Yanguas y Miranda 2
Ave. Duration
2h 30m
Frequency
Once daily
Estimated price
7€ - 11€
Website
La Baztanesa S.A.
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 Sebastian / Donostia to Pamplona
Ave. Duration
1h 8m
Frequency
4 times a week
Estimated price
7€ - 10€
Website
flixbus.co.uk
Bus from San Sebastian / Donostia to Madrid
Ave. Duration
7h 10m
Frequency
3 times a week
Estimated price
22€ - 28€
Website
flixbus.co.uk
La Burundesa S.A.
Phone
948 30 35 05
Email
info@laburundesa.com
Website
laburundesa.com
Bus from Donostia/San Sebastián. Federico G. Lorca ps. 1 to Pamplona/Iruña. Estación Bus. Yanguas y Miranda 2
Ave. Duration
2h 20m
Frequency
Once a week
Estimated price
6€ - 10€
Website
La Burundesa S.A.
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
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
22€ - 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.

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 AVE, arrive at Madrid-Puerta De Atocha station.

More details

Yes, the driving distance between Donostia / San Sebastián to Madrid is 451 km. It takes approximately 4h 29m 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 5774+ hotels available in Madrid. Prices start at 75€ 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 1€ - 3€.

More details