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 | $253 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.
04176Cheapest
04176Fastest
IB444Other options
04056
04086
18012
Normal
Normal
Normal
VY2485 · VY1012
IB446
IB450Find 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.
Mar 04
Mar 05
Mar 06
Mar 07
Mar 08
Mar 09
Mar 10
Mar 11
Mar 12
Mar 13
Mar 14
Mar 15
Mar 16
Mar 17
Mar 18
Mar 19
Mar 20
Mar 21
Mar 22
Mar 23
Mar 24
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 Alsa, BlaBlaCar, Alsa Supra, Infobus, Autobuses Pamplona Madrid, FlixBus, Lurraldebus Transportes Pesa S.A., BlaBlaCar Bus to go to Madrid by bus.
- Travel with Iberia, Air Europa, Vueling Airlines to go to Madrid by flight.
- Travel with Renfe ALVIA, Renfe Intercity, Renfe (13), Renfe Viajeros to go to Madrid by train.
- 18 direct buses per day with Alsa, BlaBlaCar, Alsa Supra.
- 3 direct flights per day with Iberia.
- 4 direct trains per day with Renfe ALVIA, Renfe Intercity, Renfe (13), Renfe Viajeros.
Travelling from Donostia-San Sebastian to Madrid: related information
Here are some other resources that might have the information you need
