- Must visit
Tabakalera
Major contemporary art center in a former tobacco factory. It hosts ambitious exhibitions, local culture, and one of the city’s strongest programs.
Cheapest price
$51
Average price
$93
Fastest journey
5 h 32 m
Average duration
5 h 44 m
Trains per day
52
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 $51.
Of the 52 trains that leave Madrid for Donostia-San Sebastian on Thu, Aug 06, 5 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Thu, Aug 06 the direct trains cover the 352 km distance in an average of 5 h 44 m but if you time it right, some trains will get you there in just 5 h 32 m .
On Thu, Aug 06 the slowest trains will take 5 h 59 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.
04687 · 04257
05763+
04257
18063
18061
04167
04257
04257+
18063
04167
04179+
04167
05817+
04257Trains 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 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 |
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 |
The table below shows live departures for Madrid to Donostia-San Sebastian trains for today, Wednesday, August 5. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
04687+ 18061 | On time 8:33 AM Madrid Chamartín | 8h13 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04687+ 18061 | On time 8:33 AM Madrid Chamartín | 8h13 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04687 · 04257 | On time 8:33 AM Madrid Chamartín | 11h42 | 8:15 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+ 18063 | On time 9:08 AM Madrid Chamartín | 11h07 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04091+ 04257 | On time 9:08 AM Madrid Chamartín | 11h07 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04091+ 18061 | On time 9:08 AM Madrid Chamartín | 7h38 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
05763+ 18061 | On time 9:18 AM Madrid Chamartín | 7h28 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
05763+ 18061 | On time 9:18 AM Madrid Chamartín | 7h28 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
05763+ 04257 | On time 9:18 AM Madrid Chamartín | 10h57 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
05071+ 18063 | On time 9:49 AM Madrid Chamartín | 10h26 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
05071+ 04167 | On time 9:49 AM Madrid Chamartín | 13h31 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
05071+ 18061 | On time 9:49 AM Madrid Chamartín | 6h57 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
08109+ 18063 | On time 10:08 AM Madrid Chamartín | 10h07 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
08109+ 04167 | 10:08 AM Madrid Chamartín | 13h12 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
08109+ 18061 | 10:08 AM Madrid Chamartín | 6h38 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04121+ 18063 | On time 11:16 AM Madrid Chamartín | 8h59 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04121+ 04167 | On time 11:16 AM Madrid Chamartín | 12h04 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
04121+ 04257 | On time 11:16 AM Madrid Chamartín | 8h59 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
08129+ 18063 | On time 11:58 AM Madrid Chamartín | 8h17 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
08129+ 04167 | 11:58 AM Madrid Chamartín | 11h22 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
08129+ 04257 | 11:58 AM Madrid Chamartín | 8h17 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
18063 | On time 12:25 PM Madrid Príncipe Pío | 7h50 | 8:15 PM Donostia-San Sebastián | 0 transfersDirect | |
04143+ 18063 | Delayed 11:33 AM 1:33 PMMadrid Chamartín | 6h42 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04143 · 04167 | Delayed 11:33 AM 1:33 PMMadrid Chamartín | 9h47 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
04143+ 04257 | Delayed 11:33 AM 1:33 PMMadrid Chamartín | 6h42 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04149+ 18063 | On time 1:46 PM Madrid Chamartín | 6h29 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04149+ 04257 | On time 1:46 PM Madrid Chamartín | 6h29 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04149+ 04167 | On time 1:46 PM Madrid Chamartín | 9h34 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
05817+ 04167 | On time 2:16 PM Madrid Chamartín | 9h04 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
05817+ 04257 | On time 2:16 PM Madrid Chamartín | 5h59 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04257 | 2:43 PM Madrid Chamartín | 5h32 | 8:15 PM Donostia-San Sebastián | 0 transfersDirect | |
04257+ 04167 | On time 2:43 PM Madrid Chamartín | 8h37 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
04257+ 18063 | On time 2:43 PM Madrid Chamartín | 5h32 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04257+ 04167 | On time 2:43 PM Madrid Chamartín | 8h37 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
04151+ 04167 | On time 2:52 PM Madrid Chamartín | 8h28 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
04161+ 04167 | On time 4:30 PM Madrid Chamartín | 6h50 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
08179+ 04167 | 4:53 PM Madrid Chamartín | 6h27 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
04179+ 04167 | On time 5:23 PM Madrid Chamartín | 5h57 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
04167 | 5:41 PM Madrid Chamartín | 5h39 | 11:20 PM Donostia-San Sebastián | 0 transfersDirect | |
04073+ 18063 | 6:41 AM Madrid Chamartín | 13h34 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04073+ 04257 | 6:41 AM Madrid Chamartín | 13h34 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04073+ 18061 | 6:41 AM Madrid Chamartín | 10h05 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04087 | 6:48 AM Madrid Chamartín | 6h02 | 12:50 PM Donostia-San Sebastián | 0 transfersDirect | |
04087+ 18061 | 6:48 AM Madrid Chamartín | 9h58 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04087+ 04257 | 6:48 AM Madrid Chamartín | 13h27 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04261+ 18061 | 6:57 AM Madrid Chamartín | 9h49 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
08079+ 18063 | 7:44 AM Madrid Chamartín | 12h31 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
08079+ 04257 | 7:44 AM Madrid Chamartín | 12h31 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
08079+ 18061 | 7:44 AM Madrid Chamartín | 9h02 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
Find all the dates and times for this journey
Discover the best of Donostia-San Sebastian — top attractions, local food, transport tips, budget advice, and currency essentials. Plan your perfect Donostia-San Sebastian trip today.
Major contemporary art center in a former tobacco factory. It hosts ambitious exhibitions, local culture, and one of the city’s strongest programs.
Fine arts museum in a historic building with Basque, Spanish, and international works. A compact stop for painting and sculpture lovers.
Aquarium with historic maritime displays and a famous underwater tunnel. It combines family appeal with local ocean and fishing context.
The city’s most famous beach promenade curves around La Concha Bay. Essential for classic views, elegant walks, and sunset atmosphere.
Historic Old Town of lively squares, churches, and traditional streets. It is the best area for atmosphere, architecture, and everyday city life.
Urban beach and neighborhood promenade popular with surfers and locals. Great for broad sea views, people-watching, and a more contemporary vibe.
Small bar snacks on bread or bites, central to local txikiteo culture. San Sebastián is famous for creative and classic pintxos in packed old-town bars.
Whole grilled turbot, prized on the Basque coast for its clean flavor and simple preparation with olive oil, garlic, and grill smoke.
Basque-style cod often cooked with garlic, olive oil, and peppers. It reflects the region’s deep seafood tradition and classic home cooking.
Celebrated fine-dining restaurant with innovative Basque cuisine and tasting menus in an elegant, destination setting above the city.
Refined modern Basque restaurant by the bay, known for seafood-focused tasting menus and a polished but welcoming dining room.
Well-known grill restaurant specializing in premium beef and Basque classics, with a smart, contemporary atmosphere near the center.
Moderate for Spain: lodging is pricier in peak season, but pintxos, set lunches, and local buses keep daily costs manageable for most tourists.
Tipping is optional. Round up or leave 5-10% in restaurants for good service; small change is fine in cafes. Taxi tipping is usually just rounding up.
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