Tren en la ruta Madrid San Sebastián
Train Route

Madrid-San Sebastián trains: schedules, prices and offers

Train Madrid-San Sebastián in 3h 30min from €32. 8 daily indicative services, prices and packages. Check schedules and book your trip.

From 32€ 4 trains/day Alvia 3h 30'

Check prices for your dates

2026-09-03
Add return

🔒 No hidden fees · Best price guaranteed

32€Minimum price
3h 30'Direct journey
4Daily trains
35%Early booking savings
Route summary

Quick summary of the route Madrid-San Sebastián

Madrid-San Sebastián train connects Madrid and San Sebastián in 3h 30min as a minimum reference. The daily offer is around 8 indicative departures, with prices between €32 and €81 depending on class and advance notice. The data is indicative and may vary depending on date, advance notice and commercial offer. Always check the search engine for your specific schedule.
Interior of a train Alvia
train interior
Distance450 km
Minimum duration3h 30min
Maximum duration4h 07min
Daily frequency8 trains
Minimum price€32
Maximum price€81
Average price€56
Cheapest strip2:00 p.m.-4:00 p.m. Tue.-Thu.
Optimal advance notice21 days (average savings 35%)
Origin stationMadrid Chamartín
Destination stationDonostia-San Sebastián
Schedules

Train schedules Madrid-San Sebastián

The Madrid-San Sebastián train schedules are spread throughout the day. The approximate duration ranges between 3h 30min and 4h 07min depending on service and stops. The data is indicative and may vary depending on date, advance notice and commercial offer. Always check the search engine for your specific schedule.

Indicative schedules Madrid-San Sebastián (example)
ExitArrivalDurationGuyStops
07:20 12:50 5h 30min
ALVIA
10:15 16:46 6h 31min
AVANT
13:40 20:23 6h 43min
ALVIA
14:46 19:46 5h 00min
Intercit
17:37 22:52 5h 15min
ALVIA

Indicative schedules. Check actual availability for your date.

Prices

Train prices Madrid-San Sebastián

Renfe app to check prices and places
Check prices in the app
The Madrid-San Sebastián train starts at €20.40 in Turista class, with an average fare of €53 across everything on sale. Preferente class can reach €109. Based on 194 real queries to the Renfe API.
Madrid-San Sebastián train fares by type and class
Type/classFromAverage fareUp to
ALVIA Turista €20.40 €50.59 €88.60
Intercit Turista €25.70 €49.19 €70.75
ALVIA Preferente €32.55 €61.44 €108.55
AVANT Turista €53.40 €53.40 €53.40
Journey time

How long does the Madrid-San Sebastián train take?

The shortest travel time on Madrid-San Sebastián is 3h 30min. Services with more stops can get closer to 4h 07min. To choose the fastest option, consult the real-time departure finder. The data is indicative and may vary depending on date, advance notice and commercial offer. Always check the search engine for your specific schedule.

🚄
Alvia (reference)
3h 30min
€56 · Several/day
⭐ Más rápido
🚄
Car
5h 46min approx.
🚄
Bus
7h 46min approx.
20-45€ · Several/day
Stations

Stations of the route Madrid-San Sebastián

The Madrid-San Sebastián route operates between Madrid Chamartín and Donostia-San Sebastián. Both stations usually have connections with urban or regional transport and services for travelers. The data is indicative and may vary depending on date, advance notice and commercial offer. Always check the search engine for your specific schedule.
Madrid Chamartín Station
🟢 Origen
Madrid Chamartín
Madrid
Connection with public transport and passenger services in Madrid.
Regular departure of services towards San Sebastián.
Donostia Station-San Sebastián
🏁 Destino
Donostia-San Sebastián
San Sebastián
Arrival at San Sebastián; links with urban or regional bus depending on destination.
Reference main station at San Sebastián for this relationship.
On board

Service on board the train Madrid-San Sebastián

Depending on the type of train (Alvia), the trip may include Wi-Fi, plugs and a cafeteria as part of the services. Exact availability changes by model and class, so check before confirming your reservation. The data is indicative and may vary depending on date, advance notice and commercial offer. Always check the search engine for your specific schedule.

Service on board train Alvia
Interior Alvia
Service Alvia
Wi-Fi According to service
Plugs
Luggage space Standard
Cafeteria/vending According to composition
Change/cancellation According to rate
Learn about all the Renfe services on board
Savings

Tips to get the best price on the train Madrid-San Sebastián

To save on the Madrid-San Sebastián train, book 8-14 days ahead (23% average saving). Wednesday is the cheapest day of the week, averaging €42. Data from 194 real queries to the Renfe API.
Book 8-14d ahead
22.8% cheaper than buying in the last 48 hours
Average fare booking this far ahead: €47
Travel on Wednesday
The cheapest day of the week, averaging €42
Wednesday: €42 on average vs Sunday: €62
Pick the morning trains
The cheapest time of day, averaging €49
€49 on average vs €58 at the most expensive time
Search with flexible dates
Moving the trip by ±2 days can bring the fare down a long way
Compare departure days in the ofertren.com search box
Search with flexible dates
Moving the trip by ±2 days can bring the fare down a long way
Compare departure days in the ofertren.com search box
FAQ

Train FAQ Madrid-San Sebastián

How much does the Madrid-San Sebastián train cost?

Rates usually range between €32 and €81 depending on advance notice and occupancy, with an approximate average of around €56. By booking 21 days in advance you usually save an average of approximately 35% compared to last minute purchases.

How long does the Madrid-San Sebastián train take?

The fastest approximate route takes about 3h 30min between Madrid Chamartín and Donostia-San Sebastián. Always consult the search engine for your specific output.

What station does the train between Madrid and San Sebastián depart from?

In this relationship, the usual services link Madrid Chamartín with Donostia-San Sebastián. Check the details of your train in the search engine.

How many trains are there per day on the Madrid-San Sebastián route?

The indicative offer is around 8 daily services, spread throughout the day; The exact number may vary depending on the commercial calendar.

What is the best time to travel cheap in Madrid-San Sebastián?

The period between 2:00 p.m. and 4:00 p.m. between Tuesday and Thursday is usually convenient; Early mornings and weekends tend to be more expensive.

Can the Madrid-San Sebastián train be combined with a hotel?

Yes. Ofertren publishes train+hotel packages for Madrid-San Sebastián that combine place and accommodation; Check availability and prices for your date.

Does the Madrid-San Sebastián train have intermediate stops?

The Alvia connect Madrid with Gipuzkoa; some services stop in Valladolid or Vitoria. Check the details of your train in the search engine in case there are specific exceptions.