Train from Madrid to San Sebastian: Tickets & Timetables

Next train departures

Next departures from Madrid to San Sebastian on 12 December
Operated byVehicle typeDeparture timeDeparture locationTrip durationArrival timeArrival locationRecommendedPrice and booking link
RENFE AlviaTrain
Madrid-Chamartin
San Sebastian, DonostiaCheapest
RENFE AlviaTrain
Madrid-Chamartin
San Sebastian, DonostiaFastest
RENFE AlviaTrain
Madrid-Chamartin
San Sebastian, DonostiaNo tags
RENFE AlviaTrain
Madrid-Chamartin
San Sebastian, DonostiaNo tags
RENFE Media DistanciaTrain
Madrid-Príncipe Pio
San Sebastian, DonostiaNo tags

Last refresh of the prices: Today at 9:05 PM CET.

Compare 3 ways to travel from Madrid to San Sebastian

We recommend carpooling

Among the sustainable travel choices, the carpool stands out as a good way to reach San Sebastian. The journey takes about 4 hours 50 minutes and with fares starting at just R 340, it presents an excellent value for a comfortable ride.

14carpool per day
4h 50mAverage duration
353 kmDistance
15kgCO₂ emissions
Average priceR 728 - R 2 540Average duration6h
9kg CO₂e
Average priceR 477 - R 2 384Average duration5h 28m
8kg CO₂e
Carpool
Average priceR 340 - R 1 084Average duration4h 50m
15kg CO₂e

Frequently asked questions about travelling from Madrid to San Sebastian by train

Please note that timetables, routes, or operator details shown here may be updated or differ at the time of your trip.

  1. How much is the train ticket from Madrid to San Sebastian?

    The cheapest train tickets from Madrid to San Sebastian start from R 477. The average price for this train route is around R 1 116. Busbud recommends booking your tickets in advance for a better chance to secure the lowest possible price.

  2. How long is the train journey from Madrid to San Sebastian?

    The average train journey time from Madrid to San Sebastian is 5h 28m, covering a distance of 347 km. The quickest train can get you there in 5h and is operated by Renfe.

  3. Which train operators serve the Madrid to San Sebastian route?

    Several major train operators run on this route, with 4 trains available per day.

  4. What are the earliest and latest departure times for the train from Madrid to San Sebastian?

    The earliest train from Madrid to San Sebastian departs at 07:20. And the latest train departs at 17:37.

Find cheapest prices for trains

Price is for a one-way ticket for one passenger and based on past searches.

Best price found
09/12
R 1 056
10/12
R 1 165
Today
R 1 465
12/12
R 1 038
13/12
R 1 031
14/12
R 1 031
15/12
R 889
16/12
R 353
busbud logoThe cheapest trip from Madrid to San Sebastian was searched and found on 16 Dec 2025 with a price of R 353

To save money and be sure you have the best seat, it's a good idea to buy your train tickets from Madrid to San Sebastian as early as possible.

You can expect to pay from R 353 to R 1 952 for a train ticket from Madrid to San Sebastian based on the last 2 days. You can expect to find the cheapest price for the trip at R 353, which is on 2025-12-16.

People from around the world trust Busbud