Donostia-San Sebastian to Madrid train with Renfe ALVIA

Wed, Feb 11
+ Add return
Renfe ALVIA
Renfe Intercity
Renfe (13)
Renfe Viajeros
Deutsche Bahn
1,000+ travel companies
Renfe ALVIA
Renfe Intercity
Renfe (13)
Renfe Viajeros
Deutsche Bahn
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 Donostia-San Sebastian to Madrid

Showing times and prices for Feb 11

Cheapest price

€27

Average price

€49

Fastest journey

5 h 11 m

Average duration

5 h 45 m

Trains per day

15

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 traveling at rush hour.

The average ticket from Donostia-San Sebastian to Madrid will cost around €49 if you buy it on the day, but the cheapest tickets can be found for only €27.

Fast trains

Of the 15 trains that leave Donostia-San Sebastian for Madrid on Wed, Feb 11, 4 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.

On Wed, Feb 11 the direct trains cover the 352 km distance in an average of 5 h 45 m but if you time it right, some trains will get you there in just 5 h 11 m .

On Wed, Feb 11 the slowest trains will take 6 h 20 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 ALVIA04176
04:47PM5h26
Donostia-San Sebastián
10:13PMMadrid Chamartín
271One-way
0 transfers
Renfe ALVIA04086
08:40AM5h11
Donostia-San Sebastián
01:51PMMadrid Chamartín
271One-way
0 transfers
Renfe ALVIA04086+Renfe AVLO05178
08:40AM8h04
Donostia-San Sebastián
04:44PMMadrid Chamartín
291One-way
1 transfer
Renfe ALVIA04086+AVE05750
08:40AM6h20
Donostia-San Sebastián
03:00PMMadrid Chamartín
491One-way
1 transfer
Renfe (13)18012
11:01AM7h54
Donostia-San Sebastián
06:55PMMadrid Príncipe Pío
501One-way
0 transfers

Travel Information

Compare train, bus, and flight for Donostia-San Sebastian to Madrid

Omio recommends booking the train as it is the most popular option from Donostia-San Sebastian to Madrid among Omio's users. If you are prioritising price take the bus with prices starting from €33. For those with little time consider booking a flight which can get you there in 2h 28m. 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 bus costs an average of €33, and a flight costs an average of €28.

Distance: 352 km

Compare train with

Most popular
Train
Bus
Flight

€51

Average price

€47

Average price

Cheapest

€223

Average price

6h 8m

Average total duration

5h 38m

Onboard

+

30m

Additional time*

7h 2m

Average total duration

6h 32m

Onboard

+

30m

Additional time*

5h 28m

Average total duration

Fastest

2h 28m

Onboard

+

3h 0m

Additional time*

0.1 - 0.3kg

CO2 emissions

Lowest

0.4 - 0.9kg

CO2 emissions

1.1 - 2.1kg

CO2 emissions

Renfe Intercity

Most popular train company

Alsa

Most popular bus company

Iberia

Most popular airline

Direct Options

Direct Options

Direct Options

Additional time: Average total travel duration to departure point, security checks and transfers.

Live departures

Donostia-San Sebastian to Madrid train times

The table below shows live departures for Donostia-San Sebastian to Madrid trains for today, Tuesday, February 10. You can also manually refresh the results below to see updated train journeys.

Last updated at 1:44 PM
ProviderDepartsDurationArrivesTransfers
Tickets
RenfeALVIA04176+RenfeAVLO04190
On time
3:47 PM Donostia-San Sebastián
5h38
9:25 PM Madrid Chamartín
1 transfer
RenfeALVIA04176 · 04192
On time
3:47 PM Donostia-San Sebastián
6h37
10:24 PM Madrid Chamartín
1 transfer
RenfeALVIA04176
On time
3:47 PM Donostia-San Sebastián
5h26
9:13 PM Madrid Chamartín
0 transfersDirect
Wednesday, February 11
RenfeALVIA04086+RenfeAVANT08148
On time
7:40 AM Donostia-San Sebastián
6h35
2:15 PM Madrid Chamartín
1 transfer
RenfeALVIA04086+RenfeAVLO05178
On time
7:40 AM Donostia-San Sebastián
8h04
3:44 PM Madrid Chamartín
1 transfer
RenfeALVIA04086+RenfeAVE05750
On time
7:40 AM Donostia-San Sebastián
6h20
2:00 PM Madrid Chamartín
1 transfer
RenfeALVIA04086
On time
7:40 AM Donostia-San Sebastián
5h11
12:51 PM Madrid Chamartín
0 transfersDirect
RenfeMD1801210:01 AM Donostia-San Sebastián
7h54
5:55 PM Madrid Príncipe Pío0 transfersDirect
RenfeMD18012+RenfeALVIA04142
On time
10:01 AM Donostia-San Sebastián
7h13
5:14 PM Madrid Chamartín
1 transfer
RenfeMD18012+RenfeAVE05170
On time
10:01 AM Donostia-San Sebastián
6h11
4:12 PM Madrid Chamartín
1 transfer
RenfeMD18012+RenfeINTERCITY04786
On time
10:01 AM Donostia-San Sebastián
9h14
7:15 PM Madrid Chamartín
1 transfer
RenfeMD18014+RenfeINTERCITY04786
On time
12:55 PM Donostia-San Sebastián
6h20
7:15 PM Madrid Chamartín
1 transfer
RenfeMD18014+RenfeALVIA04170
On time
12:55 PM Donostia-San Sebastián
7h17
8:12 PM Madrid Chamartín
1 transfer
RenfeMD18014+RenfeALVIA04366
On time
12:55 PM Donostia-San Sebastián
8h18
9:13 PM Madrid Chamartín
1 transfer
RenfeMD1801412:55 PM Donostia-San Sebastián
7h47
8:42 PM Madrid Príncipe Pío0 transfersDirect

Find all the dates and times for this journey

Compare prices and tickets Donostia-San Sebastian to Madrid 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.

Tue
Feb 10
Wed
Feb 11
Thu
Feb 12
Fri
Feb 13
Sat
Feb 14
Sun
Feb 15
Mon
Feb 16
Tue
Feb 17
Wed
Feb 18
Thu
Feb 19
Fri
Feb 20
Sat
Feb 21
Sun
Feb 22
Mon
Feb 23
Tue
Feb 24
Wed
Feb 25
Thu
Feb 26
Fri
Feb 27
Sat
Feb 28
Sun
Mar 01
Mon
Mar 02

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 84 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.

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 4 times per day, taking around 5h 38m. 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 04:50, the last at 17:37. The fastest train covers the 352 km distance in 5h 5m.

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 38m
Cheapest ticket price
€25
Trains per day
4
Direct trains
4
Fastest train
5h 5m
First train
04:50
Last train
17: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 from Donostia-San Sebastian to Madrid trainsRenfe ALVIA, Renfe Intercity, Renfe (13), Renfe Viajeros trains will get you between Donostia-San Sebastian and Madrid 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 21m
Cheapest Price
€53
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 5m
Cheapest Price
€38
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 42m
Cheapest Price
€5
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 53m
Cheapest Price
€36
Renfe Viajeros frequency
2 a day

Trains from San Sebastian to Madrid

The Spanish state rail operator Renfe provides direct and indirect rail connections between San Sebastian and Madrid. There are an early morning, late morning and two afternoon direct departures from San Sebastian with journey times ranging from five hours and 30 minutes to eight hours. Additional early morning and late afternoon indirect options require a change at Zaragoza to high-speed AVE connections to Madrid. Trains from San Sebastian to Madrid depart from the Estacion del Norte in the centre of the city, arriving at Madid Chamartin Station, north of the city centre, with connections on the city Metro.


Renfe trains from San Sebastián to Madrid

+

Renfe is Spain's national train operator and connects the country's main points of interest. In addition, Renfe has the largest high-speed network in Europe with AVE and Alvia trains. Other Renfe train types are Altaria, Euromed and Talgo. All Renfe trains are equipped with an on-board bistro, toilets, air conditioning and many of them with Wi-Fi.

At Omio you can easily check the Renfe timetable for your trip and book cheap Renfe tickets from San Sebastián to Madrid. When booking, you can choose different classes (Tourist, Tourist Plus, Preferred and Club), the seat and the type of ticket you want (Promo, Promo+, Flexible or Round Trip). If you have a Renfe discount card, you can specify it when you buy your ticket at Omio and take advantage of many offers. For information on ticket cancellation, please visit our Help centre.


More information: Trains in Spain
More information: Renfe
More information: Book your trains in Europe
More information: Cheap train tickets
More information: High speed trains in Europe

FAQs: Trains from Donostia-San Sebastian to Madrid

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 €25 when you book in advance. The average train ticket price for Donostia-San Sebastian to Madrid is €51; 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 5h 5m 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:50 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 (13), Renfe Viajeros. Schedules can vary on holidays or weekends with fewer direct trains.
When taking a train from Donostia-San Sebastian to Madrid, you can count on Renfe ALVIA, Renfe Intercity, Renfe (13), Renfe Viajeros 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.
A trip to Madrid from Donostia-San Sebastian is worth doing but not as a day trip with a journey time of 5h 5m each way. Check with Omio app the best way to travel.
The cheapest month for a train from Donostia-San Sebastian to Madrid is February.
It's helpful to compare your options as there are 3 ways to travel between Donostia-San Sebastian and Madrid including taking a train, bus, and flight.

popular train stations

Popular train stations from Donostia-San Sebastian to Madrid

Donostia-San Sebastian
Madrid
The major train station for departures in Donostia-San Sebastian is Donostia-San Sebastián. Find all the information you need to know about services, amenities and connections at Donostia-San Sebastián for your trip from Donostia-San Sebastian to Madrid.
Donostia-San SebastiánAccessibilityWCLost and Found OfficeTicket OfficeBike ParkingInformation Desk
Amenities at train station
AccessibilityAccessibility
WCWC
Lost and Found OfficeLost and Found Office
Ticket OfficeTicket Office
Bike ParkingBike Parking
Information DeskInformation Desk
HomeTrainsTrains in SpainTrain Times to MadridDonostia-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