The cheapest and fastest trains from Donostia-San Sebastian to Madrid
Cheapest price
€49
Average price
€58
Fastest journey
5 h 21 m
Average duration
6 h 2 m
Trains per day
4
Distance
352 km
The best way to find a cheap train ticket from Donostia-San Sebastian to Madrid is to book your journey as far in advance as possible and to avoid traveling at rush hour.
The average ticket from Donostia-San Sebastian to Madrid will cost around €58 if you buy it on the day, but the cheapest tickets can be found for only €49.
Of the 4 trains that leave Donostia-San Sebastian for Madrid on Thu, Nov 13, 4 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Thu, Nov 13 the direct trains cover the 352 km distance in an average of 6 h 2 m but if you time it right, some trains will get you there in just 5 h 21 m .
On Thu, Nov 13 the slowest trains will take 7 h 47 m and usually involve a change or two along the way, but you might be able to save a few pennies if you’re on a budget.








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 bus with prices starting from €34. For those with little time consider booking a flight which can get you there in 1h 33m. 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 bus costs an average of €34, and a flight costs an average of €97.
Distance: 352 km
Compare train with
Most popular Train | Bus | Flight |
|---|---|---|
€56 Average price | €46 Average price Cheapest | €295 Average price |
6h 13m Average total duration 5h 43m Onboard + 30m Additional time* | 8h 6m Average total duration 7h 36m Onboard + 30m Additional time* | 4h 33m Average total duration Fastest 1h 33m 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.
Live departures
Donostia-San Sebastian to Madrid train times
The table below shows live departures for Donostia-San Sebastian to Madrid trains for today, Wednesday, November 12. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
![]() | 11:55 AM Donostia-San Sebastian | 7h47 | 7:42 PM Madrid | 0 transfersDirect | |
![]() | 12:00 PM Donostia-San Sebastian | 7h42 | 7:42 PM Madrid | 0 transfersDirect | |
![]() | 2:40 PM Donostia-San Sebastian | 5h33 | 8:13 PM Madrid | 0 transfersDirect | |
![]() | 2:47 PM Donostia-San Sebastian | 5h26 | 8:13 PM Madrid | 0 transfersDirect | |
![]() | 2:52 PM Donostia-San Sebastian | 5h21 | 8:13 PM Madrid | 0 transfersDirect |
Find all the dates and times for this journey
Compare prices and tickets Donostia-San Sebastian to Madrid by train, bus, or flight
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.
Nov 13
Nov 14
Nov 15
Nov 16
Nov 17
Nov 18
Nov 19
How far in advance should I book train tickets from Donostia-San Sebastian to Madrid?
Journey information
Overview: Train from Donostia-San Sebastian to Madrid
Trains from Donostia-San Sebastian to Madrid run on average 4 times per day, taking around 5h 43m. Cheap train tickets for this journey start at €5 if you book in advance.
There are 4 trains per day. The earliest train runs at 04:50, the last at 17:37. The fastest train covers the 352 km distance in 5h 5m.
Distance 352 km |
Average train duration 5h 43m |
Cheapest ticket price €5 |
Trains per day 4 |
Direct trains 4 |
Fastest train 5h 5m |
First train 04:50 |
Last train 17:37 |
Train companies: Renfe ALVIA, Renfe Intercity, Renfe (13), Renfe Viajeros from Donostia-San Sebastian to Madrid trainsRenfe ALVIA, Renfe Intercity, Renfe (13), Renfe Viajeros trains will get you between Donostia-San Sebastian and Madrid from €5. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
Renfe ALVIA
Renfe Intercity
Renfe (13)
Renfe Viajeros
Trains from San Sebastian to Madrid
The Spanish state rail operator Renfe provides direct and indirect rail connections between San Sebastian and Madrid. There are an early morning, late morning and two afternoon direct departures from San Sebastian with journey times ranging from five hours and 30 minutes to eight hours. Additional early morning and late afternoon indirect options require a change at Zaragoza to high-speed AVE connections to Madrid. Trains from San Sebastian to Madrid depart from the Estacion del Norte in the centre of the city, arriving at Madid Chamartin Station, north of the city centre, with connections on the city Metro.
FAQs: Trains from Donostia-San Sebastian to Madrid
Find answers to the most common questions about traveling from Donostia-San Sebastian to Madrid by train. From journey times and ticket prices to direct connections, first and last departures, and even whether the route is scenic, our FAQs cover everything you need to plan your trip. Whether you’re looking for the fastest train, the cheapest option, or tips for making the most of your visit at Madrid, this guide helps you travel smarter and with confidence.

Passengers board the train most frequently from Donostia-San Sebastián, which is located around 1.9 miles (3 km) away from the city centre, and they get off the train at Madrid Chamartín, located 4.8 miles (7.8 km) away from the city centre.
popular train stations
Popular train stations from Donostia-San Sebastian to Madrid
- 6:00 AM - 10:00 PM Monday - Sunday
- Free
- The car park is open 7 days a week, with special rates arranged by nearby hotels.
- Restaurant Casa Mingo
- Café de Oriente
- Noodles King
- Outside the main entrance.
- Ramps.
- €0.60
- Hotel Príncipe Pío
- Acta Madfor Hotel
- Hotel Exe Moncloa
- Located in the main hall
- Avis
- Europcar
- Located in the main hall
- Free
- Hall 1: main entrance, platforms for regional and Cercanías trains
- Hall 2: Metro connections
- Metro: Line 6, Line 10
- Bus: Several lines available
- Cercanías: Lines C1, C7, C10
Most popular train connections from Donostia-San Sebastian
More options for your journey from Donostia-San Sebastian to Madrid
Here are some other resources that might have the information you need



+
