New train route! Travel between Barcelona and Seville with Ouigo.

Madrid to Donostia-San Sebastián train with Renfe ALVIA

Fri, Dec 19
+ Add return
Renfe ALVIA
Renfe Intercity
Renfe (13)
Renfe Viajeros
Ouigo
1,000+ travel companies
Renfe ALVIA
Renfe Intercity
Renfe (13)
Renfe Viajeros
Ouigo
1,000+ travel companies
QR-Code
Scan to get our free app
Use our app to get live travel updates and book mobile tickets for trains, buses, flights, and ferries.
App Store
rate4.9
42K ratings
Google Play
rate4.6
136K reviews

The cheapest and fastest trains from Madrid to Donostia-San Sebastián

Showing times and prices for Dec 21

Cheapest price

€48

Average price

€86

Fastest journey

5 h 15 m

Average duration

5 h 53 m

Trains per day

23

Distance

353 km

Cheap tickets

The best way to find a cheap train ticket from Madrid to Donostia-San Sebastián 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 Sebastián will cost around €86 if you buy it on the day, but the cheapest tickets can be found for only €48.

Fast trains

Of the 23 trains that leave Madrid for Donostia-San Sebastián on Sun, Dec 21, 4 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.

On Sun, Dec 21 the direct trains cover the 353 km distance in an average of 5 h 53 m but if you time it right, some trains will get you there in just 5 h 15 m .

On Sun, Dec 21 the slowest trains will take 6 h 31 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.

Renfe ALVIA04087
07:20AM5h30
Madrid Chamartín
12:50PMDonostia-San Sebastián
481One-way
0 transfers
Renfe (13)18063
12:25PM7h58
Madrid Príncipe Pío
08:23PMDonostia-San Sebastián
501One-way
0 transfers
Renfe (13)18061
09:06AM7h40
Madrid Príncipe Pío
04:46PMDonostia-San Sebastián
501One-way
0 transfers
Renfe ALVIA04167
05:37PM5h15
Madrid Chamartín
10:52PMDonostia-San Sebastián
621One-way
0 transfers
Renfe Avant08109+Renfe (13)18061
10:15AM6h31
Madrid Chamartín
04:46PMDonostia-San Sebastián
691One-way
1 transfer

Travel Information

Compare train, bus, and flight for Madrid to Donostia-San Sebastián

Omio recommends booking the train as it is the most popular option from Madrid to Donostia-San Sebastián among Omio's users. If you are prioritising price take the train with prices starting from €25. For those with little time consider booking a flight which can get you there in 1h 52m. The ticket price range depends on the travel mode: a train costs an average of €25, and a flight costs an average of €37.

Distance: 353 km

Compare train with

Most popular
Train
Bus
Flight

€51

Average price

Cheapest

€59

Average price

€265

Average price

6h 11m

Average total duration

5h 41m

Onboard

+

30m

Additional time*

8h 0m

Average total duration

7h 30m

Onboard

+

30m

Additional time*

4h 52m

Average total duration

Fastest

1h 52m

Onboard

+

3h 0m

Additional time*

Renfe ALVIA

Most popular train company

Alsa

Most popular bus company

Iberia

Most popular airline

Direct Options

Direct Options

Direct Options

Live departures

Madrid to Donostia-San Sebastián train times

The table below shows live departures for Madrid to Donostia-San Sebastián trains for today, Saturday, December 20. You can also manually refresh the results below to see updated train journeys.

Last updated at 5:44 AM
ProviderDepartsDurationArrivesTransfers
Tickets
RenfeALVIA04087
On time
6:20 AM Madrid Chamartín
5h30
11:50 AM Donostia-San Sebastián
0 transfersDirect
RenfeALVIA04187+RenfeMD18063
On time
6:20 AM Madrid Chamartín
13h08
7:28 PM Donostia-San Sebastián
1 transfer
RenfeALVIA04087+RenfeMD18061
On time
6:20 AM Madrid Chamartín
9h26
3:46 PM Donostia-San Sebastián
1 transfer
RenfeALVIA04187+RenfeMD18061
On time
6:20 AM Madrid Chamartín
9h26
3:46 PM Donostia-San Sebastián
1 transfer
RenfeALVIA04071+RenfeMD18061
On time
6:32 AM Madrid Chamartín
9h14
3:46 PM Donostia-San Sebastián
1 transfer
RenfeALVIA04071+RenfeMD18063
On time
6:32 AM Madrid Chamartín
12h56
7:28 PM Donostia-San Sebastián
1 transfer
RenfeALVIA04073+RenfeMD18063
On time
6:45 AM Madrid Chamartín
12h43
7:28 PM Donostia-San Sebastián
1 transfer
RenfeALVIA04073+RenfeMD18061
On time
6:45 AM Madrid Chamartín
9h01
3:46 PM Donostia-San Sebastián
1 transfer
RenfeINTERCITY04687+RenfeMD18063
On time
7:40 AM Madrid Chamartín
11h48
7:28 PM Donostia-San Sebastián
1 transfer
RenfeINTERCITY04687+RenfeMD18061
On time
7:40 AM Madrid Chamartín
8h06
3:46 PM Donostia-San Sebastián
1 transfer
RenfeAVE05763+RenfeMD18061
On time
8:25 AM Madrid Chamartín
7h21
3:46 PM Donostia-San Sebastián
1 transfer
RenfeAVE05763+RenfeMD18063
On time
8:25 AM Madrid Chamartín
11h03
7:28 PM Donostia-San Sebastián
1 transfer
RenfeAVE05071+RenfeALVIA04167
On time
8:56 AM Madrid Chamartín
12h56
9:52 PM Donostia-San Sebastián
1 transfer
RenfeAVE05071+RenfeMD18061
On time
8:56 AM Madrid Chamartín
6h50
3:46 PM Donostia-San Sebastián
1 transfer
RenfeAVE05071+RenfeMD18063
On time
8:56 AM Madrid Chamartín
10h32
7:28 PM Donostia-San Sebastián
1 transfer
RenfeAVANT08109+RenfeALVIA04167
On time
9:15 AM Madrid Chamartín
12h37
9:52 PM Donostia-San Sebastián
1 transfer
RenfeAVANT08109+RenfeMD18061
On time
9:15 AM Madrid Chamartín
6h31
3:46 PM Donostia-San Sebastián
1 transfer
RenfeAVANT08109+RenfeMD18063
On time
9:15 AM Madrid Chamartín
10h13
7:28 PM Donostia-San Sebastián
1 transfer
RenfeAVLO04121+RenfeMD18063
On time
10:23 AM Madrid Chamartín
9h05
7:28 PM Donostia-San Sebastián
1 transfer
RenfeAVLO04121+RenfeALVIA04167
On time
10:23 AM Madrid Chamartín
11h29
9:52 PM Donostia-San Sebastián
1 transfer
RenfeMD18063
On time
11:25 AM Madrid Príncipe Pío
8h03
7:28 PM Donostia-San Sebastián
0 transfersDirect
RenfeALVIA04143+RenfeMD18063
On time
12:40 PM Madrid Chamartín
6h48
7:28 PM Donostia-San Sebastián
1 transfer
RenfeALVIA04143 · 04167
On time
12:40 PM Madrid Chamartín
9h12
9:52 PM Donostia-San Sebastián
1 transfer
RenfeALVIA04167
On time
4:37 PM Madrid Chamartín
5h15
9:52 PM Donostia-San Sebastián
0 transfersDirect

This is the last train of the day.

Find all the dates and times for this journey

Compare prices and tickets Madrid to Donostia-San Sebastián by train, bus, or flight

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.

Sat
Dec 20
Sun
Dec 21
Mon
Dec 22
Tue
Dec 23
Wed
Dec 24
Thu
Dec 25
Fri
Dec 26
Sat
Dec 27
Sun
Dec 28
Mon
Dec 29
Tue
Dec 30
Wed
Dec 31
Thu
Jan 01
Fri
Jan 02
Sat
Jan 03
Sun
Jan 04
Mon
Jan 05
Tue
Jan 06
Wed
Jan 07
Thu
Jan 08
Fri
Jan 09

Journey information

Overview: Train from Madrid to Donostia-San Sebastián

SpainSpain
SpainSpain
Icon of train

Trains from Madrid to Donostia-San Sebastián run on average 4 times per day, taking around 5h 41m. Cheap train tickets for this journey start at €25 if you book in advance.

There are 4 trains per day. The earliest train runs at 05:20, the last at 15:37. The fastest train covers the 353 km distance in 5h 0m.

Fares are the lowest economy prices found on Omio. Early booking often means lower prices. Prices change daily and are subject to availability. Discount cards, coach trips, and booking fees are not included.
Price information
Distance
353 km
Average train duration
5h 41m
Cheapest ticket price
€25
Trains per day
4
Direct trains
4
Fastest train
5h 0m
First train
05:20
Last train
15:37
Fares are the lowest economy prices found on Omio. Early booking often means lower prices. Prices change daily and are subject to availability. Discount cards, coach trips, and booking fees are not included.
Price information

Train companies: Renfe ALVIA, Renfe Intercity, Renfe (13), Renfe Viajeros, Ouigo from Madrid to Donostia-San Sebastián trainsRenfe ALVIA, Renfe Intercity, Renfe (13), Renfe Viajeros, Ouigo trains will get you between Madrid and Donostia-San Sebastián from €25. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.

Renfe ALVIA

About
Renfe Alvia are high-speed trains with top speeds of up to 250km/h operated by Renfe, Spain’s national railway company. Alvia trains cover most cities in Spain, including Madrid, Barcelona, Bilbao, Valencia, Alicante, Zaragoza and Cadiz. They are somewhat slower than Renfe AVE and AVLO (high-speed and low cost) but cover more destinations and are a comfortable and effective way of travelling around Spain. Onboard facilities include free WIFI, bike storage and luggage allowance. Alvia trains have two seat classes – Estándar and Confort. Top routes for Renfe Alvia include Barcelona to Pamplona, Madrid to Cádiz and Alicante to Gijón.
Luggage & cancellation policy
Average Duration
5h 10m
Cheapest Price
€20
Renfe ALVIA frequency
2 a day
Luggage included
1 piece of hand luggage and 3 pieces of luggage included
Luggage storage
Overhead racks, end of carriages, and designated luggage areas
Cancellation Policy
According to ticket conditions
Refund
Full refund if train is canceled by Renfe
Amenities on board the train
Wifi
Food sold onboard
Cafeteria car with drinks, snacks, and hot meals. At-seat service in Preferente class
Seat reservation
Included in Preferente (First) class. Optional extra cost in Turista (Second) class
Toilets
USB plugs
Accessibility
Wheelchair spaces available, accessible toilets, and staff assistance for boarding/alighting
Pets
Small pets in carriers travel free. Dogs must be muzzled and leashed, require paid ticket. Guide dogs travel free
Quiet zone

Renfe Intercity

About
Renfe Intercity is a high-speed train service operated by the Spanish national railway company, Renfe. It operates throughout Spain, connecting major cities and towns with frequent departures throughout the day. The Intercity service offers a variety of train types, including the Alvia and Talgo, all of which offer comfortable seating and modern amenities. Alvia and Talgo offer fast trains but not as fast the high-speed trains like AVE, offering more stops. Passengers can choose from a range of ticket types, including Economy, Business, and First Class. Onboard facilities include Wi-Fi, power outlets, and a selection of snacks and drinks. The most popular routes for Renfe Intercity include Madrid to Barcelona, Madrid to Seville, and Barcelona to Valencia.
Luggage & cancellation policy
Average Duration
4h 55m
Cheapest Price
€50
Renfe Intercity frequency
1 a day
Luggage included
1 piece of hand luggage and 2 pieces of checked luggage
Luggage storage
Overhead racks and designated luggage areas at the ends of carriages
Cancellation Policy
According to ticket conditions and fare type
Refund
Full refund if train is canceled by Renfe
Amenities on board the train
Wifi
Food sold onboard
Cafeteria car with drinks, snacks, and hot meals. At-seat service in First Class
Seat reservation
Optional seat reservation with additional fee. Included in some premium tickets
Toilets
USB plugs
Accessibility
Wheelchair spaces, accessible toilets, and assistance for boarding/disembarking
Pets
Small pets in carriers travel free. Dogs must be leashed and muzzled, require paid ticket
Quiet zone

Renfe (13)

About
Renfe MD, or Media Distancia (Mid-distance), is a division of Spain's national railway company, Renfe, specializing in regional train services. These trains connect cities and towns within the same autonomous community or between contiguous communities, typically covering distances under 300 km. Renfe MD operates various train types, including modern regional services with amenities like power sockets and reading lights, and high-speed Avant trains that reach up to 250 km/h on shorter, high-speed routes. While not as fast as long-distance AVE trains, Renfe MD offers extensive coverage across Spain, providing essential regional connections.
Luggage & cancellation policy
Average Duration
7h 47m
Cheapest Price
€47
Renfe (13) frequency
2 a day
Luggage included
1 piece of hand luggage and 3 pieces of luggage included
Luggage storage
Overhead racks, under seats, and designated luggage areas at the ends of carriages
Cancellation Policy
According to ticket conditions and fare type
Refund
Full refund if train is canceled
Amenities on board the train
Wifi
Food sold onboard
Cafeteria car with drinks, snacks, and light meals. Vending machines available on some trains
Seat reservation
Optional seat reservation with additional fee. Some routes require mandatory seat reservation
Toilets
USB plugs
Accessibility
Wheelchair spaces, accessible toilets, and assistance for boarding/disembarking available
Pets
Small pets in carriers allowed free. Dogs must be leashed and muzzled, require paid ticket. Guide dogs travel free
Quiet zone

Renfe Viajeros

Luggage & cancellation policy
Average Duration
4h 55m
Cheapest Price
€36
Renfe Viajeros frequency
3 a day

Ouigo

Luggage & cancellation policy
Average Duration
6h 9m
Cheapest Price
€42
Ouigo frequency
1 a day

FAQs: Trains from Madrid to Donostia-San Sebastián

Find answers to the most common questions about traveling from Madrid to Donostia-San Sebastián 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 Sebastián, this guide helps you travel smarter and with confidence.

FAQs
Cheap train tickets from Madrid to Donostia-San Sebastián can start from as little as €5 when you book in advance. The average train ticket price for Madrid to Donostia-San Sebastián is €45; however, prices vary depending on the time of day and class and they tend to be more expensive on the day.
On average the Madrid to Donostia-San Sebastián train travel time is 4 h 55 min   for the 352 km long journey, but the duration can vary if you travel on weekends and holidays.
The first train from Madrid to Donostia-San Sebastián leaves at 05: 15. Plan your trip with the Journey Planner   from Omio.
The last train from Madrid to Donostia-San Sebastián leaves at 15: 38.
Yes, there are 4 direct trains a day from Madrid to Donostia-San Sebastián with Renfe ALVIA, Renfe Intercity or Renfe (13). Schedules can vary on holidays or weekends with fewer direct trains.
For the best Madrid to Donostia-San Sebastián train to book, you can travel safely and comfortably with Renfe ALVIA, Renfe Intercity, Renfe (13) or AVE. However, it's always good to check all possible train companies with services to Donostia-San Sebastián from Madrid to compare what amenities they may offer.
A trip to Donostia-San Sebastián from Madrid is worth doing but not as a day trip with a journey time of 4 h 55 min each way. Check with Omio app   the best way to travel.
The cheapest month to travel from Madrid to Donostia-San Sebastián by train is February.
You have options as you can travel from Madrid to Donostia-San Sebastián 3 different ways: train, coach or flight.

popular train stations

Popular train stations from Madrid to Donostia-San Sebastián

Madrid
Donostia-San Sebastian
The major train station for departures in Madrid is Madrid Chamartín. Find all the information you need to know about services, amenities and connections at Madrid Chamartín for your trip from Madrid to Donostia-San Sebastian.
Amenities at train station
ParkingParking
DiningDining
ATMATM
TaxisTaxis
AccessibilityAccessibility
WCWC
HotelHotel
Lost and Found OfficeLost and Found Office
Ticket OfficeTicket Office
Bike ParkingBike Parking
Bike RentalBike Rental
Car RentalCar Rental
Information DeskInformation Desk
information
ticketOfficeHours
Distance to city center
6 km
Madrid Príncipe PíoWifiLockersParkingDiningATMTaxisAccessibilityWCHotelLost and Found OfficeTicket OfficeBike ParkingBike RentalCar RentalInformation DeskLuggage Carts
Amenities at train station
WifiWifi
LockersLockers
ParkingParking
DiningDining
ATMATM
TaxisTaxis
AccessibilityAccessibility
WCWC
HotelHotel
Lost and Found OfficeLost and Found Office
Ticket OfficeTicket Office
Bike ParkingBike Parking
Bike RentalBike Rental
Car RentalCar Rental
Information DeskInformation Desk
Luggage CartsLuggage Carts
information
phone
Phone Number
ticketOfficeHours
Ticket Office Hours
  • 6:00 AM - 10:00 PM Monday - Sunday
ticketOfficeHours
Distance to city center
1 km
platformCount
Number of platforms
8
Wifi
Wifi
  • Free
Parking
Parking
  • The car park is open 7 days a week, with special rates arranged by nearby hotels.
Dining
Dining
  • Restaurant Casa Mingo
  • Café de Oriente
  • Noodles King
Taxis
Taxis
  • Outside the main entrance.
Accessibility
Accessibility
  • Ramps.
WC
WC
  • €0.60
Hotel
Hotel
  • Hotel Príncipe Pío
  • Acta Madfor Hotel
  • Hotel Exe Moncloa
Lost and Found Office
Lost and Found Office
  • Located in the main hall
Car Rental
Car Rental
  • Avis
  • Europcar
Information Desk
Information Desk
  • Located in the main hall
Luggage Carts
Luggage Carts
  • Free
Station Plan
  • Hall 1: main entrance, platforms for regional and Cercanías trains
  • Hall 2: Metro connections
Public transit options for Madrid Príncipe Pío
  • Metro: Line 6, Line 10
  • Bus: Several lines available
  • Cercanías: Lines C1, C7, C10

More options for your journey from Madrid to Donostia-San Sebastián

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

HomeTrainsTrains in SpainMadrid to Donostia-San Sebastián train

The Omio App Makes Travel Planning Easy

We’ll get you where you want to go. From live train updates to mobile tickets, our innovative app is the ideal way to plan and keep track of your travel.

ios-badge
android-badge
Hand With Phone