- Must visit
San Telmo Museoa
The city’s main museum, housed in a former 16th-century convent with a modern extension. It focuses on Basque society, history, and art, and is one of the best cultural introductions to Donostia.
Cheapest price
$59
Average price
$96
Fastest journey
5 h
Average duration
5 h 23 m
Trains per day
57
Distance
352 km
The best way to find a cheap train ticket from Madrid to Donostia-San Sebastian is to book your journey as far in advance as possible and to avoid traveling at rush hour.
The average ticket from Madrid to Donostia-San Sebastian will cost around $96 if you buy it on the day, but the cheapest tickets can be found for only $59.
Of the 57 trains that leave Madrid for Donostia-San Sebastian on Fri, Jun 05, 5 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Fri, Jun 05 the direct trains cover the 352 km distance in an average of 5 h 23 m but if you time it right, some trains will get you there in just 5 h .
On Fri, Jun 05 the slowest trains will take 5 h 46 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.
04167
04087
18063
18061
04257
04257
04167
05817+
04257
04087
04261 · 04087Omio recommends booking the train as it is the most popular option from Madrid to Donostia-San Sebastian among Omio's users. If you are prioritising price take the train with prices starting from $24. For those with little time consider booking a flight which can get you there in 3h 7m. 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 $24, and a flight costs an average of $54.
Distance: 218 miles (352 km)
Most popular Train | Bus | Flight | Driving |
|---|---|---|---|
$57 Average price Cheapest | $83 Average price | $366 Average price | $93 Average price (fuel + tolls) |
5h 41m Average total duration 5h 11m Onboard + 30m Additional time* | 6h 51m Average total duration 6h 21m Onboard + 30m Additional time* | 6h 7m Average total duration Fastest 3h 7m Onboard + 3h 0m Additional time* | 4h 40m Average total duration (door-to-door) |
0.1 - 0.3kg CO2 emissions Lowest | 0.4 - 0.9kg CO2 emissions | 1.1 - 2.1kg CO2 emissions | - CO2 emissions |
![]() Most popular train company | ![]() Most popular bus company | ![]() Most popular airline | Your own car or car rental |
Direct Options | Direct Options | Direct Options | Direct Options |
Additional time: Average total travel duration to departure point, security checks and transfers.
This is compared to other travel options from Madrid to Donostia-San Sebastian:
A train is $26 (€21) less than a bus for this route with tickets for a bus from Madrid to Donostia-San Sebastian costing on average $83 (€67).
A train is $309 (€249) less than a flight for this route with tickets for a flight from Madrid to Donostia-San Sebastian costing on average $366 (€295).
Other travel options to Donostia-San Sebastian take longer:
Train takes on average 5h 11m.
Bus takes on average 6h 21m.
Tickets start at around {cheapestPrice} compared to roughly {drivingPriceInCents} in fuel and tolls — a saving of about {savingsAmount}. The journey takes {durationInMinutes} versus {drivingDurationInMinutes} by car, so you'll arrive a bit later, but you can work, read, or sleep along the way rather than spending the time behind the wheel. You'll also save the hassle of parking at the other end.
Direct services run with Renfe ALVIA, Renfe INTERCITY, Renfe MD, Renfe Viajeros.
Driving is worth it if you're on a tight schedule, travelling as a group, or want to stop somewhere en route.
The table below shows live departures for Madrid to Donostia-San Sebastian trains for today, Thursday, June 4. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
04151+ 04167 | Delayed 2:59 PM Madrid Chamartín | 7h53 | 8:52 PM 8:52 PMDonostia-San Sebastián | 1 transfer | |
08359+ 04167 | Delayed 3:40 PM Madrid Chamartín | 7h12 | 8:52 PM 8:52 PMDonostia-San Sebastián | 1 transfer | |
08169+ 04167 | Delayed 4:15 PM Madrid Chamartín | 6h37 | 8:52 PM 8:52 PMDonostia-San Sebastián | 1 transfer | |
04161+ 04167 | Delayed 4:37 PM Madrid Chamartín | 6h15 | 8:52 PM 8:52 PMDonostia-San Sebastián | 1 transfer | |
08179+ 04167 | Delayed 5:00 PM Madrid Chamartín | 5h52 | 8:52 PM 8:52 PMDonostia-San Sebastián | 1 transfer | |
04167 | Delayed 5:37 PM Madrid Chamartín | 5h15 | 8:52 PM 8:52 PMDonostia-San Sebastián | 0 transfersDirect | |
| Friday, June 5 | |||||
08069+ 18063 | On time 6:36 AM Madrid Chamartín | 13h47 | 8:23 PM Donostia-San Sebastián | 1 transfer | |
08069+ 18061 | On time 6:36 AM Madrid Chamartín | 10h10 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
08069+ 04087 | On time 6:36 AM Madrid Chamartín | 6h14 | 12:50 PM Donostia-San Sebastián | 1 transfer | |
04073+ 18061 | On time 6:48 AM Madrid Chamartín | 9h58 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04073+ 18063 | On time 6:48 AM Madrid Chamartín | 13h35 | 8:23 PM Donostia-San Sebastián | 1 transfer | |
04073 · 04087 | On time 6:48 AM Madrid Chamartín | 6h02 | 12:50 PM Donostia-San Sebastián | 1 transfer | |
04261+ 18063 | On time 7:04 AM Madrid Chamartín | 13h19 | 8:23 PM Donostia-San Sebastián | 1 transfer | |
04261+ 18061 | On time 7:04 AM Madrid Chamartín | 9h42 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04261 · 04087 | On time 7:04 AM Madrid Chamartín | 5h46 | 12:50 PM Donostia-San Sebastián | 1 transfer | |
04187+ 18063 | On time 7:20 AM Madrid Chamartín | 13h03 | 8:23 PM Donostia-San Sebastián | 1 transfer | |
04187+ 18061 | On time 7:20 AM Madrid Chamartín | 9h26 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04087 | 7:20 AM Madrid Chamartín | 5h30 | 12:50 PM Donostia-San Sebastián | 0 transfersDirect | |
04087+ 18061 | On time 7:20 AM Madrid Chamartín | 9h26 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
08079+ 18063 | On time 7:51 AM Madrid Chamartín | 12h32 | 8:23 PM Donostia-San Sebastián | 1 transfer | |
08079+ 18061 | On time 7:51 AM Madrid Chamartín | 8h55 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
08079+ 04257 | On time 7:51 AM Madrid Chamartín | 11h55 | 7:46 PM Donostia-San Sebastián | 1 transfer | |
04687+ 18061 | On time 8:40 AM Madrid Chamartín | 8h06 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04687+ 18063 | On time 8:40 AM Madrid Chamartín | 11h43 | 8:23 PM Donostia-San Sebastián | 1 transfer | |
04687 · 04257 | On time 8:40 AM Madrid Chamartín | 11h06 | 7:46 PM Donostia-San Sebastián | 1 transfer | |
18061 | 9:06 AM Madrid Príncipe Pío | 7h40 | 4:46 PM Donostia-San Sebastián | 0 transfersDirect | |
04091+ 18061 | On time 9:15 AM Madrid Chamartín | 7h31 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
05763+ 18063 | Delayed 7:25 AM 9:25 AMMadrid Chamartín | 10h58 | 8:23 PM Donostia-San Sebastián | 1 transfer | |
05763+ 18061 | Delayed 7:25 AM 9:25 AMMadrid Chamartín | 7h21 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
05071+ 18063 | 9:56 AM Madrid Chamartín | 10h27 | 8:23 PM Donostia-San Sebastián | 1 transfer | |
05071+ 18061 | 9:56 AM Madrid Chamartín | 6h50 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
05071+ 04257 | 9:56 AM Madrid Chamartín | 9h50 | 7:46 PM Donostia-San Sebastián | 1 transfer | |
08109+ 04257 | 10:15 AM Madrid Chamartín | 9h31 | 7:46 PM Donostia-San Sebastián | 1 transfer | |
08109+ 18063 | 10:15 AM Madrid Chamartín | 10h08 | 8:23 PM Donostia-San Sebastián | 1 transfer | |
08109+ 18061 | 10:15 AM Madrid Chamartín | 6h31 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04121+ 18063 | 11:23 AM Madrid Chamartín | 9h00 | 8:23 PM Donostia-San Sebastián | 1 transfer | |
04121+ 04257 | 11:23 AM Madrid Chamartín | 8h23 | 7:46 PM Donostia-San Sebastián | 1 transfer | |
04121+ 04167 | 11:23 AM Madrid Chamartín | 11h29 | 10:52 PM Donostia-San Sebastián | 1 transfer | |
08129+ 04167 | 12:05 PM Madrid Chamartín | 10h47 | 10:52 PM Donostia-San Sebastián | 1 transfer | |
08129+ 04257 | 12:05 PM Madrid Chamartín | 7h41 | 7:46 PM Donostia-San Sebastián | 1 transfer | |
08129+ 18063 | 12:05 PM Madrid Chamartín | 8h18 | 8:23 PM Donostia-San Sebastián | 1 transfer | |
18063 | 12:25 PM Madrid Príncipe Pío | 7h58 | 8:23 PM Donostia-San Sebastián | 0 transfersDirect | |
05101+ 18063 | 1:03 PM Madrid Chamartín | 7h20 | 8:23 PM Donostia-San Sebastián | 1 transfer | |
34101+ 18063 | 1:03 PM Madrid Chamartín | 7h20 | 8:23 PM Donostia-San Sebastián | 1 transfer | |
34101+ 04257 | 1:03 PM Madrid Chamartín | 6h43 | 7:46 PM Donostia-San Sebastián | 1 transfer | |
04143+ 18063 | 1:40 PM Madrid Chamartín | 6h43 | 8:23 PM Donostia-San Sebastián | 1 transfer | |
04143+ 04257 | 1:40 PM Madrid Chamartín | 6h06 | 7:46 PM Donostia-San Sebastián | 1 transfer | |
04143 · 04167 | 1:40 PM Madrid Chamartín | 9h12 | 10:52 PM Donostia-San Sebastián | 1 transfer | |
08139+ 18063 | 1:48 PM Madrid Chamartín | 6h35 | 8:23 PM Donostia-San Sebastián | 1 transfer | |
08139+ 04167 | 1:48 PM Madrid Chamartín | 9h04 | 10:52 PM Donostia-San Sebastián | 1 transfer | |
08139+ 04257 | 1:48 PM Madrid Chamartín | 5h58 | 7:46 PM Donostia-San Sebastián | 1 transfer | |
05817+ 04257 | 2:23 PM Madrid Chamartín | 5h23 | 7:46 PM Donostia-San Sebastián | 1 transfer | |
05817+ 04167 | 2:23 PM Madrid Chamartín | 8h29 | 10:52 PM Donostia-San Sebastián | 1 transfer | |
04257+ 04167 | 2:46 PM Madrid Chamartín | 8h06 | 10:52 PM Donostia-San Sebastián | 1 transfer | |
04257 | 2:46 PM Madrid Chamartín | 5h00 | 7:46 PM Donostia-San Sebastián | 0 transfersDirect | |
Find all the dates and times for this journey
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.
Trains from Madrid to Donostia-San Sebastian run on average 4 times per day, taking around 5h 11m. 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 0m.
Distance 218 miles (352 km) |
Average train duration 5h 11m |
Cheapest ticket price $24 (€19) |
Trains per day 4 |
Direct trains 4 |
Fastest train 5h 0m |
First train 4:45 AM |
Last train 5:37 PM |
Cheapest Month Mar |
Cheapest Day Sat |
High Season Jul - Sep |
Low Season Jan - Mar |
Busiest Day Wed |
Least Busy Day Sun |
Best time to book 77 days |
Discover the best of Donostia-San Sebastián — top attractions, local food, transport tips, budget advice, and currency essentials. Plan your perfect Donostia-San Sebastián trip today.
The city’s main museum, housed in a former 16th-century convent with a modern extension. It focuses on Basque society, history, and art, and is one of the best cultural introductions to Donostia.
A major sculpture museum dedicated to Eduardo Chillida, set in expansive gardens just outside the city. It combines large-scale artworks, landscape, and architecture, making it a standout experience.
A science museum with interactive exhibits suited to families and curious visitors. It is a good option for a different kind of museum visit beyond art and history.
The Old Town is the city’s most atmospheric historic quarter, packed with narrow streets, churches, and classic urban scenery. It is essential for walking and soaking up local character.
The elegant seafront walk along the city’s most famous bay is one of the best urban strolls in Spain. It is especially popular for sunrise, sunset, and scenic photos.
A classic viewpoint overlooking La Concha, the city, and Santa Clara Island. It is highly popular for panoramic photos and remains one of the top places to prioritize.
Small Basque bar bites served on bread or as composed morsels. They are central to Donostia dining culture, with bars specializing in creative and traditional versions.
Spider crab baked Donostia-style with its meat, vegetables, and breadcrumbs. It is one of the city’s signature seafood dishes.
Salt cod gently cooked so its gelatin emulsifies with olive oil, garlic, and chili into a silky sauce. A classic Basque specialty widely associated with the region.
World-famous fine dining restaurant serving inventive Basque cuisine in an elegant, established setting. Ideal for a landmark gastronomic experience.
Legendary Old Town bar and restaurant known for exceptional pintxos, wild mushrooms, and seafood, with a lively traditional atmosphere.
Popular pintxos bar celebrated for modern small plates like seared foie and slow-cooked meats. Casual, busy, and highly regarded.
Prices are high for Spain, especially in the center. Pintxos, hotels, and summer dining cost more than in many other Spanish cities.
Tipping is modest. Round up or leave 5-10% for good restaurant service; small change in bars or taxis is enough. Not expected for counter service.
Official public transport app
Donostia / San Sebastián Railway Station -> Boulevard, Donostia-San Sebastián
Find answers to the most common questions about traveling from Madrid to Donostia-San Sebastian 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 Donostia-San Sebastian, this guide helps you travel smarter and with confidence.

Here are some other resources that might have the information you need