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

Sat, Jun 20
+ Add return
Renfe ALVIA
Renfe INTERCITY
Renfe MD
Renfe Viajeros
Ouigo
2,000+ travel companies
Renfe ALVIA
Renfe INTERCITY
Renfe MD
Renfe Viajeros
Ouigo
2,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 Jun 20

Cheapest price

€41

Average price

€77

Fastest journey

5 h 15 m

Average duration

5 h 59 m

Trains per day

31

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 €77 if you buy it on the day, but the cheapest tickets can be found for only €41.

Fast trains

Of the 31 trains that leave Madrid for Donostia-San Sebastián on Sat, Jun 20, 4 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 353 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.

  • Renfe ALVIA04167
    5:37 PM5h15
    Madrid Chamartín
    10:52 PMDonostia-San Sebastián
    411One-way
    0 transfers
  • Renfe MD18063
    12:25 PM8h03
    Madrid Príncipe Pío
    8:28 PMDonostia-San Sebastián
    491One-way
    0 transfers
  • Renfe MD18061
    9:06 AM7h40
    Madrid Príncipe Pío
    4:46 PMDonostia-San Sebastián
    491One-way
    0 transfers
  • Renfe INTERCITY04687+Renfe MD18063
    8:40 AM11h48
    Madrid Chamartín
    8:28 PMDonostia-San Sebastián
    621One-way
    1 transfer
  • Renfe INTERCITY04687+Renfe MD18061
    8:40 AM8h06
    Madrid Chamartín
    4:46 PMDonostia-San Sebastián
    621One-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 €17. For those with little time consider booking a flight which can get you there in 3h 5m. The ticket price range depends on the travel mode: a train costs an average of €17, and a flight costs an average of €59.

Distance: 353 km

Compare train with

Most popular
Train
Bus
Flight

€41

Average price

Cheapest

€51

Average price

€276

Average price

5h 40m

Average total duration

5h 10m

Onboard

+

30m

Additional time*

8h 18m

Average total duration

7h 48m

Onboard

+

30m

Additional time*

6h 5m

Average total duration

Fastest

3h 5m

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 tomorrow, Saturday, June 20. You can also manually refresh the results below to see updated train journeys.

Last updated at
ProviderDepartsDurationArrivesTransfers
Tickets
Renfe ALVIA04087
On time
7:20 AM Madrid Chamartín
5h30
12:50 PM Donostia-San Sebastián
0 transfersDirect
Renfe ALVIA04087+Renfe MD18061
On time
7:20 AM Madrid Chamartín
9h26
4:46 PM Donostia-San Sebastián
1 transfer
Renfe ALVIA04187+Renfe MD18061
On time
7:20 AM Madrid Chamartín
9h26
4:46 PM Donostia-San Sebastián
1 transfer
Renfe ALVIA04187+Renfe MD18063
On time
7:20 AM Madrid Chamartín
13h08
8:28 PM Donostia-San Sebastián
1 transfer
Renfe ALVIA04071+Renfe MD18061
On time
7:32 AM Madrid Chamartín
9h14
4:46 PM Donostia-San Sebastián
1 transfer
Renfe ALVIA04071+Renfe MD18063
On time
7:32 AM Madrid Chamartín
12h56
8:28 PM Donostia-San Sebastián
1 transfer
Renfe ALVIA04073+Renfe MD180637:45 AM Madrid Chamartín
12h43
8:28 PM Donostia-San Sebastián1 transfer
Renfe ALVIA04073+Renfe MD18061
On time
7:45 AM Madrid Chamartín
9h01
4:46 PM Donostia-San Sebastián
1 transfer
Renfe INTERCITY04687+Renfe MD18063
On time
8:40 AM Madrid Chamartín
11h48
8:28 PM Donostia-San Sebastián
1 transfer
Renfe INTERCITY04687+Renfe MD18061
On time
8:40 AM Madrid Chamartín
8h06
4:46 PM Donostia-San Sebastián
1 transfer
Renfe MD18061
On time
9:06 AM Madrid Príncipe Pío
7h40
4:46 PM Donostia-San Sebastián
0 transfersDirect
AVE10491+Renfe MD18061
On time
9:15 AM Madrid Chamartín
7h31
4:46 PM Donostia-San Sebastián
1 transfer
AVE05763+Renfe MD18061
Delayed
7:25 AM 9:25 AMMadrid Chamartín
7h21
4:46 PM Donostia-San Sebastián
1 transfer
AVE05763+Renfe MD18063
Delayed
7:25 AM 9:25 AMMadrid Chamartín
11h03
8:28 PM Donostia-San Sebastián
1 transfer
AVE05071+Renfe MD18061
Delayed
7:56 AM 9:56 AMMadrid Chamartín
6h50
4:46 PM Donostia-San Sebastián
1 transfer
AVE05071+Renfe ALVIA04167
Delayed
7:56 AM 9:56 AMMadrid Chamartín
12h56
10:52 PM Donostia-San Sebastián
1 transfer
AVE05071+Renfe MD18063
Delayed
7:56 AM 9:56 AMMadrid Chamartín
10h32
8:28 PM Donostia-San Sebastián
1 transfer
Renfe AVANT08109+Renfe ALVIA04167
On time
10:15 AM Madrid Chamartín
12h37
10:52 PM Donostia-San Sebastián
1 transfer
Renfe AVANT08109+Renfe MD18063
On time
10:15 AM Madrid Chamartín
10h13
8:28 PM Donostia-San Sebastián
1 transfer
Renfe AVANT08109+Renfe MD18061
On time
10:15 AM Madrid Chamartín
6h31
4:46 PM Donostia-San Sebastián
1 transfer
Renfe AVLO04121+Renfe ALVIA04167
On time
11:23 AM Madrid Chamartín
11h29
10:52 PM Donostia-San Sebastián
1 transfer
Renfe AVLO04121+Renfe MD18063
On time
11:23 AM Madrid Chamartín
9h05
8:28 PM Donostia-San Sebastián
1 transfer
Renfe AVANT08129+Renfe ALVIA04167
On time
12:05 PM Madrid Chamartín
10h47
10:52 PM Donostia-San Sebastián
1 transfer
Renfe AVANT08129+Renfe MD18063
On time
12:05 PM Madrid Chamartín
8h23
8:28 PM Donostia-San Sebastián
1 transfer
Renfe MD1806312:25 PM Madrid Príncipe Pío
8h03
8:28 PM Donostia-San Sebastián0 transfersDirect
Renfe ALVIA04143 · 041671:40 PM Madrid Chamartín
9h12
10:52 PM Donostia-San Sebastián1 transfer
Renfe ALVIA04143+Renfe MD180631:40 PM Madrid Chamartín
6h48
8:28 PM Donostia-San Sebastián1 transfer
Renfe AVLO05817+Renfe ALVIA04167
On time
2:23 PM Madrid Chamartín
8h29
10:52 PM Donostia-San Sebastián
1 transfer
Renfe AVANT08359+Renfe ALVIA04167
On time
3:40 PM Madrid Chamartín
7h12
10:52 PM Donostia-San Sebastián
1 transfer
Renfe AVANT08179+Renfe ALVIA04167
On time
5:00 PM Madrid Chamartín
5h52
10:52 PM Donostia-San Sebastián
1 transfer
Renfe ALVIA041675:37 PM Madrid Chamartín
5h15
10:52 PM Donostia-San Sebastián0 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
Jun 20
Sun
Jun 21
Mon
Jun 22
Tue
Jun 23
Wed
Jun 24
Thu
Jun 25
Fri
Jun 26
Sat
Jun 27
Sun
Jun 28
Mon
Jun 29
Tue
Jun 30
Wed
Jul 01
Thu
Jul 02
Fri
Jul 03
Sat
Jul 04
Sun
Jul 05
Mon
Jul 06
Tue
Jul 07
Wed
Jul 08
Thu
Jul 09
Fri
Jul 10

Why should you book Madrid to Donostia-San Sebastián trains with Omio?

Renfe ALVIA as well as Renfe INTERCITY, Renfe MD, Renfe Viajeros, Ouigo and more offer trains services from Madrid to Donostia-San Sebastián.
Omio is the only official third party seller for Renfe ALVIA tickets.

Why book with Omio vs Renfe ALVIA?

  • Compare with other providers: On Omio, you can not only buy tickets for Renfe ALVIA, but also compare tickets for the likes of Renfe INTERCITY, Renfe MD, Renfe Viajeros or Ouigo to find the best option for your trip from Madrid to Donostia-San Sebastián.
  • Designed for International Travelers: Omio is in your language including 24/7 customer service and offers multiple payment options, including PayPal, credit cards, and bank transfer, in your preferred currency.
  • Compare all your options: Omio allows you to compare Renfe ALVIA with all available travel options, which are train, bus and flight to ensure you get the best deal for traveling from Madrid to Donostia-San Sebastián.

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 10m. Cheap train tickets for this journey start at €17 if you book in advance.

There are 4 trains per day. The earliest train runs at 05:20, the last at 16: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 10m
Cheapest ticket price
€17
Trains per day
4
Direct trains
4
Fastest train
5h 0m
First train
5:20 AM
Last train
4:37 PM
Cheapest Month
Mar
Cheapest Day
Tue
High Season
Jul - Sep
Low Season
Jan - Mar
Busiest Day
Tue
Least Busy Day
Sat
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 MD, Renfe Viajeros, Ouigo from Madrid to Donostia-San Sebastián trainsRenfe ALVIA, Renfe INTERCITY, Renfe MD, Renfe Viajeros, Ouigo trains will get you between Madrid and Donostia-San Sebastián from €17. 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 15m
Cheapest Price
€17
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
5h 0m
Cheapest Price
€19
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 MD

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 58m
Cheapest Price
€49
Renfe MD 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
5h 0m
Cheapest Price
€40
Renfe Viajeros frequency
2 a day

Ouigo

Luggage & cancellation policy
Average Duration
6h 8m
Cheapest Price
€55
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 €17 when you book in advance. The average train ticket price for Madrid to Donostia-San Sebastián is €41; however, prices vary depending on the time of day and class and they tend to be more expensive on the day.
The average journey time by train from Madrid to Donostia-San Sebastián is 5h 0m to travel the 353 km long route. Journey times can vary on weekends and holidays, so use our Journey Planner to search for a specific date.
The earliest train from Madrid to Donostia-San Sebastián leaves at 5:20 AM. Plan your trip with the Journey Planner   from Omio.
The latest train from Madrid to Donostia-San Sebastián leaves at 4:37 PM.
Yes,there are 4 direct trains a day from Madrid to Donostia-San Sebastián with Renfe ALVIA, Renfe INTERCITY, Renfe MD, Renfe Viajeros. Schedules can vary on holidays or weekends with fewer direct trains.
When taking a train from Madrid to Donostia-San Sebastián, you can count on Renfe ALVIA, Renfe INTERCITY, Renfe MD, Renfe Viajeros, Ouigo for the best way to get you to Donostia-San Sebastián. You can also check all possible train companies who offer a service between Madrid and Donostia-San Sebastián and compare the amenities they offer before buying a train ticket.
A trip to Donostia-San Sebastián from Madrid is worth doing but not as a day trip with a journey time of 5h 0m each way. Check with Omio app the best way to travel.
The cheapest month for a train from Madrid to Donostia-San Sebastián is March.
It's helpful to compare your options as there are 3 ways to travel between Madrid and Donostia-San Sebastián including taking a train, bus, and 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