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 $31. 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 $31, and a flight costs an average of $34.
Distance: 218 miles (352 km)
Compare train with
Most popular Train | Bus | Flight |
|---|---|---|
$56 Average price Cheapest | $56 Average price | $252 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 bus because it’s the best combination of price and speed.
Normal4:00 PM5h45Donostia-San Sebastian, Estación de Autobuses9:45 PMMadrid, Terminal de autobuses T4 (Aeropuerto de Madrid)$631One-way0 transfers
Cheapest
Normal4:00 PM5h45Donostia-San Sebastian, Estación de Autobuses9:45 PMMadrid, Terminal de autobuses T4 (Aeropuerto de Madrid)$631One-way0 transfers
Fastest
IB4449:20 AM1h10San Sebastián Airport10:30 AMMadrid Barajas Airport$4361One-way0 transfers
Other options
1801211:01 AM7h54Donostia-San Sebastián6:55 PMMadrid Príncipe Pío$691One-way0 transfers
180141:55 PM7h47Donostia-San Sebastián9:42 PMMadrid Príncipe Pío$691One-way0 transfers
18012+
0579211:01 AM7h59Donostia-San Sebastián7:00 PMMadrid Chamartín$841One-way1 transfer
Normal4:00 PM6h10Donostia-San Sebastian, Estación de Autobuses10:10 PMMadrid, Intercambiador de Avenida de América$631One-way0 transfers
Normal4:01 PM6h44Donostia-San Sebastian, Estación de Autobuses10:45 PMMadrid, Intercambiador de Avenida de América$631One-way0 transfers
Normal6:30 PM5h45Donostia-San Sebastian, Estación de Autobuses12:15 AMMadrid, Terminal de autobuses T4 (Aeropuerto de Madrid)$631One-way0 transfers
IB4461:40 PM1h10San Sebastián Airport2:50 PMMadrid Barajas Airport$4311One-way0 transfers
IB4509:30 PM1h10San Sebastián Airport10:40 PMMadrid Barajas Airport$4311One-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.
Apr 02
Apr 03
Apr 04
Apr 05
Apr 06
Apr 07
Apr 08
Apr 09
Apr 10
Apr 11
Apr 12
Apr 13
Apr 14
Apr 15
Apr 16
Apr 17
Apr 18
Apr 19
Apr 20
Apr 21
Apr 22
How to Travel from San Sebastian to Madrid
Getting from San Sebastian in the north to the Spanish capital is easy, with direct daily bus, train and plane routes between the two cities. Flying is easily the quickest way to reach Madrid, at around 1 hour 15 minutes, although buses and trains will complete the journey in approximately 5 hours, so they are excellent budget options.
Trains from San Sebastian to Madrid | Buses from San Sebastian to Madrid | Flights from San Sebastian to Madrid
San Sebastian to Madrid Travel Comparison
Average Price |
Travel Time |
Cheapest Time to Book |
|
|---|---|---|---|
|
€36 |
5:10 h |
1 Day Ahead |
|
€49 |
4:56 h |
1 Week Ahead |
|
€273 |
1:15 h |
2 Months Ahead |
What is the best way to travel from San Sebastian to Madrid?
Cheapest way to travel from San Sebastian to Madrid
![]()
Taking the bus is the cheapest way to travel from San Sebastian to Madrid. Alsa is the main bus company in Spain and operates all the buses from San Sebastian to Madrid. Alsa buses take at least 5:10 h to travel from San Sebastian to Madrid and depart 19 times per day with the first leaving San Sebastian at 12:30 a.m. Most Alsa buses depart from San Sebastian Donostia bus station and arrive at Madrid's Intercambiador Avenida de America bus station.
Fastest way to travel from San Sebastian to Madrid
![]()
Flying is the fastest way to travel from San Sebastian to Madrid. Taking a flight is still at least an hour faster than traveling from San Sebastian to Madrid by train or bus even when travel time to and from Madrid and San Sebastian's airports is taken into consideration. Flights traveling from San Sebastian to Madrid depart from San Sebastian airport and arrive at Madrid's Barajas airport after 1:15 h of flight time. Iberia is the main airline that offers direct flights from San Sebastian to Madrid, with around 5 direct flights departing per day.
Most popular way to travel from San Sebastian to Madrid

Taking the bus is the most popular way to travel from San Sebastian to Madrid. While buses and trains take approximately the same amount of time to travel from San Sebastian to Madrid, buses are €13 cheaper on average. Alternatively, while flights are approximately an hour faster than buses when travel time to and from San Sebastian and Madrid's airports is considered, flights are also €237 more expensive on average.
How to get from Donostia-San Sebastian to Madrid
The Best Way According to our Users
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 $3 (€3) less than a flight for this route with tickets for a flight from Donostia-San Sebastian to Madrid costing on average $34 (€28).
A train is $6 (€5) less than a bus for this route with tickets for a bus from Donostia-San Sebastian to Madrid costing on average $37 (€30).
Other travel options to Madrid take longer:
Train takes on average 5h 5m.
Bus takes on average 5h 10m.
- 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

