Travel Information
Compare train, bus, and flight for Donostia-San Sebastian to Madrid
Omio recommends booking the train as it is the most popular option from Donostia-San Sebastian to Madrid among Omio's users. If you are prioritising price take the train with prices starting from €25. For those with little time consider booking a flight which can get you there in 3h 2m. In case you are seeking to minimise your carbon footprint the train is your best bet as it emits only 0.1 - 0.3kg. The ticket price range depends on the travel mode: a train costs an average of €25, and a flight costs an average of €28.
Distance: 352 km
Compare train with
Most popular Train | Bus | Flight |
|---|---|---|
€45 Average price Cheapest | €45 Average price | €205 Average price |
5h 41m Average total duration 5h 11m Onboard + 30m Additional time* | 7h 2m Average total duration 6h 32m Onboard + 30m Additional time* | 6h 2m Average total duration Fastest 3h 2m Onboard + 3h 0m Additional time* |
0.1 - 0.3kg CO2 emissions Lowest | 0.4 - 0.9kg CO2 emissions | 1.1 - 2.1kg CO2 emissions |
![]() Most popular train company | ![]() Most popular bus company | ![]() Most popular airline |
Direct Options | Direct Options | Direct Options |
Additional time: Average total travel duration to departure point, security checks and transfers.
Travel optionsfrom Donostia-San Sebastian to Madrid
How to get from Donostia-San Sebastian to Madrid by train, bus or flight.
Our recommendation
The best way to travel from Donostia-San Sebastian to Madrid is by taking a train because it’s the best combination of price and speed.
040564:55 AM5h12Donostia-San Sebastián10:07 AMMadrid Chamartín€321One-way0 transfers
Cheapest
040564:55 AM5h12Donostia-San Sebastián10:07 AMMadrid Chamartín€321One-way0 transfers
Fastest
IB4461:40 PM1h10San Sebastián Airport2:50 PMMadrid Barajas Airport€3201One-way0 transfers
Other options
041764:47 PM5h33Donostia-San Sebastián10:20 PMMadrid Chamartín€341One-way0 transfers
04176 · 041924:47 PM6h44Donostia-San Sebastián11:31 PMMadrid Chamartín€421One-way1 transfer
04086+
051788:40 AM8h11Donostia-San Sebastián4:51 PMMadrid Chamartín€481One-way1 transfer
Normal4:00 PM6h10Donostia-San Sebastian, Estación de Autobuses10:10 PMMadrid, Intercambiador de Avenida de América€331One-way0 transfers
Normal4:01 PM6h44Donostia-San Sebastian, Estación de Autobuses10:45 PMMadrid, Intercambiador de Avenida de América€331One-way0 transfers
Normal8:30 AM5h10Donostia-San Sebastian, Estación de Autobuses1:40 PMMadrid, Intercambiador de Avenida de América€451One-way0 transfers
IB4509:30 PM1h10San Sebastián Airport10:40 PMMadrid Barajas Airport€3351One-way0 transfers
IB4449:20 AM1h10San Sebastián Airport10:30 AMMadrid Barajas Airport€3351One-way0 transfers
Find all the dates and times for this journey by train, bus, flight, and ferry .
Compare prices and tickets Prices for trains, buses and flights
Compare train, bus, and flight prices over the next three weeks. See the best deals at a glance, find the lowest fares, and choose the option that fits your budget.
May 12
May 13
May 14
May 15
May 16
May 17
May 18
May 19
May 20
May 21
May 22
May 23
May 24
May 25
May 26
May 27
May 28
May 29
May 30
May 31
Jun 01
More than 1,000 travel companies trust us to sell their tickets all in one place.
FAQs: Travel from Donostia-San Sebastian to Madrid
Travel to Madrid easily. Whether you want fast, cheap or something entirely different, our travel experts have collected everything you need to know so you can find the best option from Donostia-San Sebastian to Madrid.

This is compared to other travel options from Donostia-San Sebastian to Madrid:
A train is €0.10 less than a bus for this route with tickets for a bus from Donostia-San Sebastian to Madrid costing on average €45.
A train is €160 less than a flight for this route with tickets for a flight from Donostia-San Sebastian to Madrid costing on average €205.
Other travel options to Madrid take longer:
Train takes on average 5h 11m.
Bus takes on average 6h 32m.
- Around 18 buses per day.
- Around 4 trains per day.
- Around 3 flights per day.
However, we recommend checking specific travel dates for your route between Donostia-San Sebastian and Madrid as scheduled services by train, bus, and flight can vary by season or day of the week.
- Flights mostly depart from San Sebastián Airport and arrive in Madrid Barajas Airport.
- Trains mostly depart from Donostia-San Sebastián and arrive in Madrid Chamartín.
- Buses mostly depart from Donostia-San Sebastian, Estación de Autobuses and arrive in Madrid, Intercambiador de Avenida de América.
- Travel with Iberia, Air Europa, Vueling to go to Madrid by flight.
- Travel with Alsa, BlaBlaCar, Alsa Supra, Infobus, Autobuses Pamplona Madrid, FlixBus, Lurraldebus Transportes Pesa S.A., BlaBlaCar Bus to go to Madrid by bus.
- Travel with Renfe ALVIA, Renfe INTERCITY, Renfe MD, Renfe Viajeros to go to Madrid by train.
- 3 direct flights per day with Iberia.
- 18 direct buses per day with Alsa, BlaBlaCar, Alsa Supra.
- 4 direct trains per day with Renfe ALVIA, Renfe INTERCITY, Renfe MD, Renfe Viajeros.
Travelling from Donostia-San Sebastian to Madrid: related information
Here are some other resources that might have the information you need
