Donostia-San Sebastian to Madrid train with Renfe MD

Thu, 12 Nov
+ Add return
Renfe ALVIA
Renfe INTERCITY
Renfe MD
Renfe
Deutsche Bahn
3,000+ travel companies
Renfe ALVIA
Renfe INTERCITY
Renfe MD
Renfe
Deutsche Bahn
3,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 Donostia-San Sebastian to Madrid

Showing times, prices and bookable tickets for 12 Nov
Cheapest price on 12 Nov
€26
Average ticket price on 12 Nov
€56
Fastest journey on 12 Nov
5 h 12 m
Average journey duration on 12 Nov
5 h 42 m
Trains on 12 Nov
18
Distance
352 km
Cheap tickets

The best way to find a cheap train ticket from Donostia-San Sebastian to Madrid is to book your journey as far in advance as possible and to avoid travelling at rush hour.

The average ticket from Donostia-San Sebastian to Madrid will cost around €56 if you buy it on the day, but you can find cheap train tickets today for only €26.

Fast trains

On Thu, 12 Nov, we found 18 trains from Donostia-San Sebastian to Madrid, including 5 direct services.

These direct trains cover the 352 km distance in an average of 5 h 42 m but if you time it right, some trains will get you there in just 5 h 12 m .

The slowest trains will take 6 h 28 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 INTERCITY04056
    0 changes
  • Renfe INTERCITY04056+Renfe AVLO05178
    1 change
  • Renfe ALVIA04176
    0 changes
  • Renfe MD18012
    0 changes
  • Renfe MD18014
    0 changes

Journey information

Overview: Train from Donostia-San Sebastian to Madrid

SpainSpain
SpainSpain
Icon of train

Trains from Donostia-San Sebastian to Madrid run on average 17 times per day, taking around 5h 49m. Cheap train tickets for this journey start at €7 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 352 km distance in 4h 44m.

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
352 km
Average train duration
5h 49m
Cheapest ticket price
€7
Trains per day
17
Direct trains
4
Fastest train
4h 44m
First train
4:45 AM
Last train
5:37 PM
Cheapest Month
Mar
Cheapest Day
Tue
High Season
Jul - Sept
Low Season
Jan - Mar
Busiest Day
Wed
Least Busy Day
Sun
Best time to book
63 days
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

Live departures

Donostia-San Sebastian to Madrid train times

The table below shows live departures for Donostia-San Sebastian to Madrid trains for tomorrow, Thursday, 12 November. You can also manually refresh the results below to see updated train journeys.

Last updated at
ProviderDepartsDurationArrivesChanges
Tickets
Renfe INTERCITY04056+Renfe AVLO051785:26 AM Donostia-San Sebastián
11h18
4:44 PM Madrid Chamartín1 change
Renfe INTERCITY040565:26 AM Donostia-San Sebastián
5h12
10:38 AM Madrid Chamartín0 changesdirect
Renfe INTERCITY04056+Renfe AVANT081185:26 AM Donostia-San Sebastián
7h09
12:35 PM Madrid Chamartín1 change
Renfe INTERCITY04056+Renfe ALVIA041865:26 AM Donostia-San Sebastián
6h02
11:28 AM Madrid Chamartín1 change
Renfe ALVIA040868:36 AM Donostia-San Sebastián
5h15
1:51 PM Madrid Chamartín0 changesdirect
Renfe ALVIA04086+Renfe AVANT081488:36 AM Donostia-San Sebastián
6h39
3:15 PM Madrid Chamartín1 change
Renfe ALVIA04086+Renfe AVLO051788:36 AM Donostia-San Sebastián
8h08
4:44 PM Madrid Chamartín1 change
Renfe ALVIA04086+Renfe INTERCITY047868:36 AM Donostia-San Sebastián
11h47
8:23 PM Madrid Chamartín1 change
Renfe MD18012+AVE0579211:01 AM Donostia-San Sebastián
7h59
7:00 PM Madrid Chamartín1 change
Renfe MD1801211:01 AM Donostia-San Sebastián
7h54
6:55 PM Madrid Príncipe Pío0 changesdirect
Renfe MD18012+Renfe INTERCITY0478611:01 AM Donostia-San Sebastián
9h22
8:23 PM Madrid Chamartín1 change
Renfe MD18012+Renfe ALVIA0414211:01 AM Donostia-San Sebastián
6h57
5:58 PM Madrid Chamartín1 change
Renfe MD180141:55 PM Donostia-San Sebastián
7h47
9:42 PM Madrid Príncipe Pío0 changesdirect
Renfe MD18014+Renfe INTERCITY047861:55 PM Donostia-San Sebastián
6h28
8:23 PM Madrid Chamartín1 change
Renfe MD18014+Renfe AVANT081981:55 PM Donostia-San Sebastián
6h51
8:46 PM Madrid Chamartín1 change
Renfe MD18014+Renfe AVANT082081:55 PM Donostia-San Sebastián
7h45
9:40 PM Madrid Chamartín1 change
Renfe ALVIA04176 · 041924:45 PM Donostia-San Sebastián
6h35
11:20 PM Madrid Chamartín1 change
Renfe ALVIA041764:45 PM Donostia-San Sebastián
5h35
10:20 PM Madrid Chamartín0 changesdirect

This is the last train of the day.

Find all the dates and times for this journey

Why should you book Donostia-San Sebastian to Madrid trains with Omio?

Renfe ALVIA as well as Renfe INTERCITY, Renfe MD, Renfe and more offer trains services from Donostia-San Sebastian to Madrid.
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 or Renfe to find the best option for your trip from Donostia-San Sebastian to Madrid.
  • 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 Donostia-San Sebastian to Madrid.

How far in advance should I book train tickets from Donostia-San Sebastian to Madrid?

The best time to book your train from Donostia-San Sebastian to Madrid is 63 days before departure. See how prices for trains change on the Donostia-San Sebastian to Madrid route.
Prices are for one-way tickets for one passenger from Donostia-San Sebastian to Madrid per month. Insights are sourced from fares found by Omio users in the last 12 months. Current prices may differ as prices vary depending on the time of day, class or how far in advance you book your train from Donostia-San Sebastian to Madrid.

Train companies: Renfe MD, Renfe ALVIA, Renfe INTERCITY, Renfe from Donostia-San Sebastian to Madrid trainsRenfe MD, Renfe ALVIA, Renfe INTERCITY, Renfe trains will get you between Donostia-San Sebastian and Madrid from €7. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.

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 Renfe MD Duration
5h 50m
Cheapest Renfe MD Price
€9
Renfe MD frequency
8 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 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 Renfe ALVIA Duration
4h 55m
Cheapest Renfe ALVIA Price
€7
Renfe ALVIA frequency
6 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 Renfe INTERCITY Duration
4h 44m
Cheapest Renfe INTERCITY Price
€7
Renfe INTERCITY frequency
4 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

About
Renfe is Spain’s national train company operating freight and passenger on Spain’s extensive railway network as well as international routes to neighboring France and Portugal. Renfe has a wide range of ticket types to fit your budget like the Basic, Elige and Premium tickets. Renfe also offers discount cards like the Renfe Gold Card and +Renfe Youth Card 50 for qualified travelers. The Renfe AVE trains run at high speed and serve long-distance routes, Alvia trains combine high-speed and normal speed trains serving domestic routes, Altaria serves domestic routes into southern Spain, Euromed offers domestic routes along the Mediterranean coast, Avant trains serve regional commuter routes and Trenhotel offers night train routes.
Luggage & cancellation policy
Average Renfe Duration
5h 10m
Cheapest Renfe Price
€7
Renfe frequency
4 a day
Luggage included
一件手提行李和最多三件行李免费。
Luggage storage
车顶行李架、车厢末端的行李区,以及座位之间的空间
Cancellation Policy
根据票务条件可取消
Refund
因取消列车而提供全额退款
Amenities on board the train
Wifi
Food sold onboard
大多数长途列车上设有餐车(自助餐厅),提供热餐和冷餐、小吃及饮料。头等舱乘客享有座位服务。
Seat reservation
可选座位预订。某些票种包含在内,其他票种需额外收费。建议在高峰旅行时段使用。
Toilets
USB plugs
Accessibility
轮椅空间、无障碍厕所和为行动不便的乘客提供的协助服务。
Pets
小型宠物在笼子里可以免费旅行。狗必须系上牵引绳并戴上嘴套,需要购买票。导盲犬可以免费旅行。
Quiet zone

Companies, tickets, and onboard amenities between Donostia-San Sebastian and Madrid

Review the details behind your booking, from operators and ticket rules to luggage, onboard amenities, accessibility, and route-specific travel policies.

When taking a train from Donostia-San Sebastian to Madrid, you can count on Renfe ALVIA, Renfe INTERCITY, Renfe MD, Renfe for the best way to get you to Madrid. You can also check all possible train companies who offer a service between Donostia-San Sebastian and Madrid and compare the amenities they offer before buying a train ticket.

FAQs: Donostia-San Sebastian to Madrid train

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

FAQs
Cheap train tickets from Donostia-San Sebastian to Madrid can start from as little as €7 when you book in advance. The average train ticket price for Donostia-San Sebastian to Madrid is €32; 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 Donostia-San Sebastian to Madrid is 4h 44m to travel the 352 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 Donostia-San Sebastian to Madrid leaves at 4:45 am. Plan your trip with the Journey Planner from Omio.
The latest train from Donostia-San Sebastian to Madrid leaves at 5:37 pm.
Yes, there are 4 direct trains a day from Donostia-San Sebastian to Madrid with Renfe ALVIA, Renfe INTERCITY, Renfe MD, Renfe. Schedules can vary on holidays or weekends with fewer direct trains.
Yes, there's a high-speed train to Madrid. Take the fast train with Renfe ALVIA, Renfe from Donostia-San Sebastian to Madrid.
A trip to Madrid from Donostia-San Sebastian is worth doing but not as a day trip with a journey time of 4h 44m each way. Check with Omio app the best way to travel.
It's helpful to compare your options as there are 3 ways to travel between Donostia-San Sebastian and Madrid including taking a train, coach and flight.

popular train stations

Important Stations and Airports in Donostia-San Sebastian and Madrid

Most Donostia-San Sebastian to Madrid trains use the Donostia-San Sebastián to Madrid Chamartín station pair, with some services arriving at Madrid Príncipe Pío. Use this guide to compare Donostia-San Sebastian and Madrid train stations on this route, check city-centre transport, alongside checking practicalities like train station facilities and services.

Departure train stations in Donostia-San Sebastian
Arrival train stations in Madrid

Which Donostia-San Sebastian station do trains to Madrid leave from?

Trains from Donostia-San Sebastian to Madrid leave from Donostia-San Sebastián. The station is 1 km from Donostia-San Sebastian city centre at De Francia Ibilbidea, 22, 20012 Donostia, Gipuzkoa, Spain.
Donostia-San SebastiánDe Francia Ibilbidea, 22, 20012 Donostia, Gipuzkoa, SpainAccessibilityWCLost and Found OfficeTicket OfficeBike ParkingInformation Desk
City-centre transport

Getting to Donostia-San Sebastián from Donostia-San Sebastian city centre

Bus9, 37, B3, 42 · 6m · €2 · every ~14 min

Donostia-San Sebastián train station facilities and services

Donostia-San Sebastián has practical services for this route, including Accessibility, WC, Lost and Found Office, Ticket Office, Bike Parking and Information Desk.

Tickets and information

Ticket office support is available at Donostia-San Sebastián. Information desks are available at Donostia-San Sebastián.

Luggage and lost property

Lost and found is available at the station.

Parking, taxis and toilets

Available at Donostia-San Sebastián: WC.

Bike and car services

Available at Donostia-San Sebastián: Bike Parking.

Accessibility

Accessibility facilities are available at Donostia-San Sebastián.

More options for your journey from Donostia-San Sebastian to Madrid

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

HomeTrainsTrains in SpainDonostia-San Sebastian to Madrid 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