- Must visit
Museo del Prado
World-class art museum with masterpieces by Velázquez, Goya, and Bosch; essential for Spanish and European painting.
Cheapest price
$60
Average price
$88
Fastest journey
5 h 31 m
Average duration
6 h 3 m
Trains per day
15
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 $88 if you buy it on the day, but the cheapest tickets can be found for only $60.
Of the 15 trains that leave Donostia-San Sebastian for Madrid on Sun, Aug 02, 5 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Sun, Aug 02 the direct trains cover the 352 km distance in an average of 6 h 3 m but if you time it right, some trains will get you there in just 5 h 31 m .
On Sun, Aug 02 the slowest trains will take 6 h 37 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.
18012
18014
04166
04086
18012+
08178
04086
04166
04176
18014+
04786
18014+
04162Trains from Donostia-San Sebastian to Madrid run on average 4 times per day, taking around 5h 9m. Cheap train tickets for this journey start at $24 (€19) if you book in advance.
There are 4 trains per day. The earliest train runs at 04:45, the last at 17:37. The fastest train covers the 218 miles (352 km) distance in 5h 5m.
Distance 218 miles (352 km) |
Average train duration 5h 9m |
Cheapest ticket price $24 (€19) |
Trains per day 4 |
Direct trains 4 |
Fastest train 5h 5m |
First train 4:45 AM |
Last train 5:37 PM |
Cheapest Month Mar |
Cheapest Day Tue |
High Season Jul - Sep |
Low Season Jan - Mar |
Busiest Day Wed |
Least Busy Day Sun |
Best time to book 91 days |
The table below shows live departures for Donostia-San Sebastian to Madrid trains for tomorrow, Sunday, August 2. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
04086 | 8:20 AM Donostia-San Sebastián | 5h31 | 1:51 PM Madrid Chamartín | 0 transfersDirect | |
04086+ 05178 | 8:20 AM Donostia-San Sebastián | 8h24 | 4:44 PM Madrid Chamartín | 1 transfer | |
04086+ 08168 | 8:20 AM Donostia-San Sebastián | 9h29 | 5:49 PM Madrid Chamartín | 1 transfer | |
04086+ 08158 | 8:20 AM Donostia-San Sebastián | 8h10 | 4:30 PM Madrid Chamartín | 1 transfer | |
18012 | 10:58 AM Donostia-San Sebastián | 7h57 | 6:55 PM Madrid Príncipe Pío | 0 transfersDirect | |
18012+ 05792 | 10:58 AM Donostia-San Sebastián | 8h02 | 7:00 PM Madrid Chamartín | 1 transfer | |
18012+ 08178 | 10:58 AM Donostia-San Sebastián | 7h57 | 6:55 PM Madrid Chamartín | 1 transfer | |
18012+ 08168 | 10:58 AM Donostia-San Sebastián | 6h51 | 5:49 PM Madrid Chamartín | 1 transfer | |
18014 | 1:54 PM Donostia-San Sebastián | 7h48 | 9:42 PM Madrid Príncipe Pío | 0 transfersDirect | |
18014+ 04162 | 1:54 PM Donostia-San Sebastián | 6h37 | 8:31 PM Madrid Chamartín | 1 transfer | |
18014+ 04786 | 1:54 PM Donostia-San Sebastián | 6h29 | 8:23 PM Madrid Chamartín | 1 transfer | |
18014+ 08198 | 1:54 PM Donostia-San Sebastián | 6h52 | 8:46 PM Madrid Chamartín | 1 transfer | |
04166 | 1:55 PM Donostia-San Sebastián | 5h44 | 7:39 PM Madrid Chamartín | 0 transfersDirect | |
04176 | 4:25 PM Donostia-San Sebastián | 5h55 | 10:20 PM Madrid Chamartín | 0 transfersDirect | |
04176 · 04192 | 4:25 PM Donostia-San Sebastián | 6h59 | 11:24 PM Madrid Chamartín | 1 transfer | |
Find all the dates and times for this journey
Discover the best of Madrid — top attractions, local food, transport tips, budget advice, and currency essentials. Plan your perfect Madrid trip today.
World-class art museum with masterpieces by Velázquez, Goya, and Bosch; essential for Spanish and European painting.
Leading modern art museum best known for Picasso’s Guernica, plus major works by Dalí and Miró.
Celebrated collection of European masters from Van Eyck to Hopper in a refined palace setting.
Madrid’s most famous park offers gardens, a boating lake, monuments, and relaxed walks in the city center.
Lively grand avenue known for architecture, shopping, theaters, and nonstop energy from day to night.
Elegant boulevard linking major museums and landmarks, ideal for a classic central Madrid walk.
A hearty chickpea stew with meats, vegetables, and broth, especially traditional in Madrid and often served in stages.
Crisp fried squid rings served in a baguette roll. This iconic Madrid street food is especially linked to bars around Plaza Mayor.
Tripe stew with chorizo and morcilla in a rich sauce. A classic old Madrid tavern dish with deep local roots.
Refined two-Michelin-star dining focused on seasonal Spanish produce, with elegant modern cooking in a polished fine-dining room.
Traditional Madrid restaurant known for cocido madrileño served in stages, with an old-school dining room and loyal local following.
Historic century-old tavern famed for roast suckling pig and Castilian dishes in a classic, wood-lined setting near Plaza Mayor.
Moderate for Western Europe: hotels vary, dining is reasonable, and public transport is good value for tourists.
Tipping is modest: round up or leave 5-10% in restaurants for good service. Taxis are usually rounded up. In cafés, small change is enough.
Official public transport app
Madrid-Puerta de Atocha-Almudena Grandes -> Puerta del Sol, 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.

Most Donostia-San Sebastian to Madrid trains use the Donostia-San Sebastián to Madrid Chamartín station pair, with some services arriving at Madrid Príncipe Pío. Use this guide to compare Donostia-San Sebastian and Madrid train stations on this route, check city-centre transport, alongside checking practicalities like train station facilities and services.
Donostia-San Sebastián has practical services for this route, including Accessibility, WC, Lost and Found Office, Ticket Office, Bike Parking, and Information Desk.
Ticket office support is available at Donostia-San Sebastián. Information desks are available at Donostia-San Sebastián.
Lost and found is available at the station.
Available at Donostia-San Sebastián: WC.
Available at Donostia-San Sebastián: Bike Parking.
Accessibility facilities are available at Donostia-San Sebastián.
Madrid Chamartín is 6 km from Madrid city centre. Public transport options include:
Madrid Chamartín has practical services for this route, including Parking, Dining, ATM, Taxis, Accessibility, WC, Hotel, Lost and Found Office, Ticket Office, Bike Parking, Bike Rental, Car Rental, and Information Desk.
Food and drink options are available at Madrid Chamartín.
ATMs are available at Madrid Chamartín.
Ticket office support is available at Madrid Chamartín. Information desks are available at Madrid Chamartín.
Lost and found is available at the station.
Available at Madrid Chamartín: Parking, Taxis, WC.
Available at Madrid Chamartín: Bike Parking, Bike Rental, Car Rental.
Accessibility facilities are available at Madrid Chamartín.
Madrid Príncipe Pío is 1 km from Madrid city centre. Public transport options include:
Madrid Príncipe Pío has practical services for this route, including Wifi, Lockers, Parking, Dining, ATM, Taxis, Accessibility, WC, Hotel, Lost and Found Office, Ticket Office, Bike Parking, Bike Rental, Car Rental, Information Desk, and Luggage Carts.
Food options include: Restaurant Casa Mingo, Café de Oriente, Noodles King
Free. ATMs are available in the train station.
Ticket office support is available at Madrid Príncipe Pío. Information desks are located in the main hall.
Luggage storage is available at Madrid Príncipe Pío. Lost and found is available at the station.
Available at Madrid Príncipe Pío: Parking, Taxis, WC.
Available at Madrid Príncipe Pío: Bike Parking, Bike Rental, Car Rental.
Accessibility facilities are available at Madrid Príncipe Pío: Ramps.
Nearby hotels include Hotel Príncipe Pío, Acta Madfor Hotel, Hotel Exe Moncloa.
Here are some other resources that might have the information you need