- Must visit
Museo del Prado
World-class art museum with masterpieces by Velázquez, Goya, and Bosch; essential for Spanish and European painting.
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 $50 if you buy it on the day, but the cheapest tickets can be found for only $45.
On Mon, Nov 02, we found 5 trains from Donostia-San Sebastian to Madrid, including 5 direct services.
On Mon, Nov 02 the direct trains cover the 352 km distance in an average of 5 h 46 m but if you time it right, some trains will get you there in just 5 h 5 m .
On Mon, Nov 02 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.

|
| ||||||||||||

|
| ||||||||||||

|
| ||||||||||||

|
| ||||||||||||

|
| ||||||||||||

|
| ||||||||||||

|
| ||||||||||||

|
| ||||||||||||

|
| ||||||||||||

|
| ||||||||||||
Trains from Donostia-San Sebastian to Madrid run on average 17 times per day, taking around 5h 49m. Cheap train tickets for this journey start at $9 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 4h 44m.
Distance 218 miles (352 km) |
Average train duration 5h 49m |
Cheapest ticket price $9 |
Trains per day 17 |
Direct trains 4 |
Fastest train 4h 44m |
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 63 days |
Use these quick route answers to check fares, travel time, departure options, and direct services before booking from Donostia-San Sebastian to Madrid.
The table below shows live departures for Donostia-San Sebastian to Madrid trains for today, Sunday, November 1. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
![]() | 10:00 AM Donostia-San Sebastian | 7h55 | 5:55 PM Madrid | 0 transfersDirect | |
![]() | 11:55 AM Donostia-San Sebastian | 7h47 | 7:42 PM Madrid | 0 transfersDirect | |
![]() | 12:55 PM Donostia-San Sebastian | 7h47 | 8:42 PM Madrid | 0 transfersDirect | |
![]() | 1:00 PM Donostia-San Sebastian | 5h34 | 6:34 PM Madrid | 0 transfersDirect | |
![]() | 1:10 PM Donostia-San Sebastian | 5h24 | 6:34 PM Madrid | 0 transfersDirect | |
![]() | 2:47 PM Donostia-San Sebastian | 5h26 | 8:13 PM Madrid | 0 transfersDirect | |
![]() | 3:35 PM Donostia-San Sebastian | 5h38 | 9:13 PM Madrid | 0 transfersDirect | |
This is the last train of the day. | |||||
Find all the dates and times for this journey
Review the details behind your booking, from operators and ticket rules to luggage, onboard amenities, accessibility, and route-specific travel policies.
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
Get destination-focused answers for the end of your trip, including what to do, when to go, practical entry details, and tips for making the most of your time in 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.
Check train stations information for Donostia-San Sebastian and Madrid, including where trains depart and arrive on this route.
Here are some other resources that might have the information you need