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 an average ticket price of €32 For those with little time, consider booking a flight, which has an average total journey time of 3h 14m. If you are seeking to minimise your carbon footprint, the train is your best option, with estimated CO2 emissions of 0.1 - 0.3kg. Average ticket prices depend on the travel mode: a train costs an average of €32, while a flight costs an average of €198.
Distance: 352 km
Compare train with
Most popular Train | Bus | Flight | Driving |
|---|---|---|---|
€32 Average price Cheapest | €45 Average price | €198 Average price | €94 Average price (fuel + tolls) |
6h 19m Average total duration 5h 49m Onboard + 30m Additional time* | 6h 27m Average total duration 5h 57m Onboard + 30m Additional time* | 3h 14m Average total duration Fastest 1h 14m Onboard + 2h 0m Additional time* | 4h 20m Average total duration (door-to-door) |
0.1 - 0.3kg CO2 emissions Lowest | 0.4 - 0.9kg CO2 emissions | 1.1 - 2.1kg CO2 emissions | - CO2 emissions |
![]() Most popular train company | ![]() Most popular bus company | ![]() Most popular airline | Your own car or car rental |
Direct Options | Direct Options | Direct Options | Direct Options |
Additional time: Average total travel duration to departure point, security checks and transfers.
Compare ways to travel from Donostia-San Sebastian to Madrid
Compare the available ways to get from Donostia-San Sebastian to Madrid, with the key details around price, speed, convenience, and direct service.
This is compared to other travel options from Donostia-San Sebastian to Madrid:
A train is €14 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 €167 less than a flight for this route with tickets for a flight from Donostia-San Sebastian to Madrid costing on average €198.
Other travel options to Madrid take longer:
Train takes on average 6h 19m.
Bus takes on average 6h 27m.
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.
040565:26 AM 5h12 Donostia-San Sebastián 10:38 AM Madrid Chamartín €26 1 One-way 0 transfers
Cheapest
040565:26 AM 5h12 Donostia-San Sebastián 10:38 AM Madrid Chamartín €26 1 One-way 0 transfers
Fastest
IB4461:40 PM 1h10 San Sebastián Airport 2:50 PM Madrid Barajas Airport €335 1 One-way 0 transfers
Other options
04056+
051785:26 AM 11h18 Donostia-San Sebastián 4:44 PM Madrid Chamartín €34 1 One-way 1 transfer
041764:45 PM 5h35 Donostia-San Sebastián 10:20 PM Madrid Chamartín €41 1 One-way 0 transfers
180141:55 PM 7h47 Donostia-San Sebastián 9:42 PM Madrid Príncipe Pío €50 1 One-way 0 transfers
Normal4:01 PM 6h44 Donostia-San Sebastian, Estación de Autobuses 10:45 PM Madrid, Intercambiador de Avenida de América €39 1 One-way 0 transfers
Normal8:30 AM 5h10 Donostia-San Sebastian, Estación de Autobuses 1:40 PM Madrid, Intercambiador de Avenida de América €46 1 One-way 0 transfers
Normal10:00 AM 5h15 Donostia-San Sebastian, Estación de Autobuses 3:15 PM Madrid, Terminal de autobuses T4 (Aeropuerto de Madrid) €46 1 One-way 0 transfers
VY1099 · VY10142:10 PM 3h45 San Sebastián Airport 5:55 PM Madrid Barajas Airport €323 1 One-way 1 transfer
IB4509:30 PM 1h10 San Sebastián Airport 10:40 PM Madrid Barajas Airport €335 1 One-way 0 transfers
IB4449:20 AM 1h10 San Sebastián Airport 10:30 AM Madrid Barajas Airport €335 1 One-way 0 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.
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 €14 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 €167 less than a flight for this route with tickets for a flight from Donostia-San Sebastian to Madrid costing on average €198.
Other travel options to Madrid take longer:
Train takes on average 6h 19m.
Bus takes on average 6h 27m.
- Around 17 trains per day.
- Around 17 buses 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 Alsa, Autobuses Pamplona Madrid, Alsa Supra to go to Madrid by bus.
- Travel with Renfe MD, Renfe ALVIA, Renfe INTERCITY, Renfe to go to Madrid by train.
- Travel with Iberia, CitizenPlane, Vueling, Air Europa to go to Madrid by flight.
- 17 direct buses per day with Alsa, Alsa Supra.
- 4 direct trains per day with Renfe MD, Renfe ALVIA, Renfe INTERCITY, Renfe.
- 3 direct flights per day with Iberia, CitizenPlane, Air Europa.
Travelling from Donostia-San Sebastian to Madrid: related information
Here are some other resources that might have the information you need
