- Must visit
San Telmo Museoa
The city’s main museum, housed in a 16th-century convent with a modern extension. It explores Basque society, art, and history and is one of the best cultural stops in Donostia-San Sebastián.
Cheapest price
$50
Average price
$93
Fastest journey
5 h 15 m
Average duration
5 h 59 m
Trains per day
29
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 $93 if you buy it on the day, but the cheapest tickets can be found for only $50.
Of the 29 trains that leave Madrid for Donostia-San Sebastian on Sat, Jun 20, 2 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Sat, Jun 20 the direct trains cover the 352 km distance in an average of 5 h 59 m but if you time it right, some trains will get you there in just 5 h 15 m .
On Sat, Jun 20 the slowest trains will take 6 h 48 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
04071+
18061
04687+
18063
04687+
18061
04071+
18063
04167
04087
08179+
04167
08109+
18061
04143+
18063Omio 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 $23. 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 $23, and a flight costs an average of $54.
Distance: 218 miles (352 km)
Most popular Train | Bus | Flight | Driving |
|---|---|---|---|
$56 Average price Cheapest | $81 Average price | $360 Average price | $92 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 $25 (€21) less than a bus for this route with tickets for a bus from Madrid to Donostia-San Sebastian costing on average $81 (€67).
A train is $304 (€249) less than a flight for this route with tickets for a flight from Madrid to Donostia-San Sebastian costing on average $360 (€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, Friday, June 19. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
08069+ 18061 | On time 6:36 AM Madrid Chamartín | 10h10 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
08069+ 18063 | Delayed 6:36 AM Madrid Chamartín | 13h47 | 6:23 PM 6:23 PMDonostia-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 · 04087 | On time 6:48 AM Madrid Chamartín | 6h02 | 12:50 PM Donostia-San Sebastián | 1 transfer | |
04073+ 18063 | Delayed 6:48 AM Madrid Chamartín | 13h35 | 6:23 PM 6:23 PMDonostia-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+ 18063 | Delayed 7:04 AM Madrid Chamartín | 13h19 | 6:23 PM 6:23 PMDonostia-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+ 18061 | On time 7:20 AM Madrid Chamartín | 9h26 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04087 | On time 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 | |
04087+ 18063 | Delayed 7:20 AM Madrid Chamartín | 13h03 | 6:23 PM 6:23 PMDonostia-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+ 18063 | Delayed 7:51 AM Madrid Chamartín | 12h32 | 6:23 PM 6:23 PMDonostia-San Sebastián | 1 transfer | |
08079+ 04257 | Delayed 7:51 AM Madrid Chamartín | 11h55 | 5:46 PM 5:46 PMDonostia-San Sebastián | 1 transfer | |
04687+ 18063 | Delayed 8:40 AM Madrid Chamartín | 11h43 | 6:23 PM 6:23 PMDonostia-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 · 04257 | Delayed 8:40 AM Madrid Chamartín | 11h06 | 5:46 PM 5:46 PMDonostia-San Sebastián | 1 transfer | |
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 | 6:23 PM 6:23 PMDonostia-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+ 18061 | Delayed 7:56 AM 9:56 AMMadrid Chamartín | 6h50 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
05071+ 18063 | Delayed 7:56 AM 9:56 AMMadrid Chamartín | 10h27 | 6:23 PM 6:23 PMDonostia-San Sebastián | 1 transfer | |
05071+ 04257 | Delayed 7:56 AM 9:56 AMMadrid Chamartín | 9h50 | 5:46 PM 5:46 PMDonostia-San Sebastián | 1 transfer | |
08109+ 18063 | Delayed 10:15 AM Madrid Chamartín | 10h08 | 6:23 PM 6:23 PMDonostia-San Sebastián | 1 transfer | |
08109+ 18061 | On time 10:15 AM Madrid Chamartín | 6h31 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
08109+ 04257 | Delayed 10:15 AM Madrid Chamartín | 9h31 | 5:46 PM 5:46 PMDonostia-San Sebastián | 1 transfer | |
04121+ 18063 | Delayed 11:23 AM Madrid Chamartín | 9h00 | 6:23 PM 6:23 PMDonostia-San Sebastián | 1 transfer | |
04121+ 04257 | Delayed 11:23 AM Madrid Chamartín | 8h23 | 5:46 PM 5:46 PMDonostia-San Sebastián | 1 transfer | |
04121+ 04167 | Delayed 11:23 AM Madrid Chamartín | 11h29 | 8:52 PM 8:52 PMDonostia-San Sebastián | 1 transfer | |
08129+ 18063 | Delayed 12:05 PM Madrid Chamartín | 8h18 | 6:23 PM 6:23 PMDonostia-San Sebastián | 1 transfer | |
08129+ 04167 | Delayed 12:05 PM Madrid Chamartín | 10h47 | 8:52 PM 8:52 PMDonostia-San Sebastián | 1 transfer | |
08129+ 04257 | Delayed 12:05 PM Madrid Chamartín | 7h41 | 5:46 PM 5:46 PMDonostia-San Sebastián | 1 transfer | |
34101+ 18063 | Delayed 1:03 PM Madrid Chamartín | 7h20 | 6:23 PM 6:23 PMDonostia-San Sebastián | 1 transfer | |
05101+ 18063 | Delayed 11:03 AM 1:03 PMMadrid Chamartín | 7h20 | 6:23 PM 6:23 PMDonostia-San Sebastián | 1 transfer | |
34101+ 04257 | Delayed 1:03 PM Madrid Chamartín | 6h43 | 5:46 PM 5:46 PMDonostia-San Sebastián | 1 transfer | |
04143+ 04257 | Delayed 1:40 PM Madrid Chamartín | 6h06 | 5:46 PM 5:46 PMDonostia-San Sebastián | 1 transfer | |
04143 · 04167 | Delayed 1:40 PM Madrid Chamartín | 9h12 | 8:52 PM 8:52 PMDonostia-San Sebastián | 1 transfer | |
04143+ 18063 | Delayed 1:40 PM Madrid Chamartín | 6h43 | 6:23 PM 6:23 PMDonostia-San Sebastián | 1 transfer | |
08139+ 18063 | Delayed 1:48 PM Madrid Chamartín | 6h35 | 6:23 PM 6:23 PMDonostia-San Sebastián | 1 transfer | |
08139+ 04257 | Delayed 1:48 PM Madrid Chamartín | 5h58 | 5:46 PM 5:46 PMDonostia-San Sebastián | 1 transfer | |
08139+ 04167 | Delayed 1:48 PM Madrid Chamartín | 9h04 | 8:52 PM 8:52 PMDonostia-San Sebastián | 1 transfer | |
05817+ 04257 | Delayed 2:23 PM Madrid Chamartín | 5h23 | 5:46 PM 5:46 PMDonostia-San Sebastián | 1 transfer | |
05817+ 04167 | Delayed 2:23 PM Madrid Chamartín | 8h29 | 8:52 PM 8:52 PMDonostia-San Sebastián | 1 transfer | |
04257+ 04167 | Delayed 2:46 PM Madrid Chamartín | 8h06 | 8:52 PM 8:52 PMDonostia-San Sebastián | 1 transfer | |
04257 | Delayed 2:46 PM Madrid Chamartín | 5h00 | 5:46 PM 5:46 PMDonostia-San Sebastián | 0 transfersDirect | |
04151+ 04167 | Delayed 2:59 PM Madrid Chamartín | 7h53 | 8:52 PM 8:52 PMDonostia-San Sebastián | 1 transfer | |
08159+ 04167 | Delayed 3:10 PM Madrid Chamartín | 7h42 | 8:52 PM 8:52 PMDonostia-San Sebastián | 1 transfer | |
04153+ 04167 | Delayed 3:20 PM Madrid Chamartín | 7h32 | 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 | |
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 $23 (€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 $23 (€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 16th-century convent with a modern extension. It explores Basque society, art, and history and is one of the best cultural stops in Donostia-San Sebastián.
A major contemporary culture center in a former tobacco factory, known for exhibitions, visual arts, and creative programming. Popular with locals and visitors for its architecture and city views.
A high-quality fashion museum in nearby Getaria dedicated to Cristóbal Balenciaga. It is one of the most internationally notable museums in the region and worth the short trip.
The city’s signature bayfront walk is the essential Donostia-San Sebastián experience, combining beach views, classic architecture, and a polished seaside atmosphere. It is the top place for a first-t
The Old Town is the city’s historic heart, with narrow streets, lively squares, and a dense concentration of traditional architecture. It remains one of the most atmospheric areas to wander.
A hilltop area known for panoramic views over La Concha and its nostalgic amusement park. It is especially popular for sunset photos and social media content.
Small Basque bar bites served on bread or as composed morsels, central to local social eating culture and especially famous in the Old Town.
Spider crab baked San Sebastian style with onion, tomato, brandy, and breadcrumbs, one of the city’s classic seafood dishes.
Salt cod gently emulsified with olive oil, garlic, and chili into a silky sauce, a hallmark Basque preparation.
World-famous fine dining institution blending Basque culinary roots with innovation, ideal for a landmark gastronomic experience.
Iconic pintxos bar famous for creative hot pintxos such as carrilleras and seared foie, with a lively standing-room setting.
Well-known Old Town restaurant and pintxos bar celebrated for grilled meats, local seafood, and a classic bustling Donostia atmosphere.
Prices are high by Spanish standards, especially for hotels and dining. Pintxos can help keep food costs lower.
Tipping is modest. Round up in cafes and taxis. In restaurants, leave 5-10% only for very good service; it is appreciated but not expected.
Official public transport app
Estación del Norte, Donostia-San Sebastián -> 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.

Most Madrid to Donostia-San Sebastian trains use the Madrid Chamartín to Donostia-San Sebastián station pair. Use this guide to compare Madrid and Donostia-San Sebastian train stations on this route, check city-centre transport, alongside checking practicalities like train station facilities and services.
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.
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.
Here are some other resources that might have the information you need