Train tickets from San Sebastian to Madrid

Next train departures

Next departures for San Sebastian to Madrid on November 20
Operated byVehicle typeDeparture timeDeparture locationTrip durationArrival timeArrival locationRecommendedPrice and booking link
RENFE Media DistanciaTrain
San Sebastian, Donostia
Madrid-Príncipe PioCheapest
RENFE AlviaTrain
San Sebastian, Donostia
Madrid-ChamartinFastest
RENFE AlviaTrain
San Sebastian, Donostia
Madrid-ChamartinNo tags
RENFE AlviaTrain
San Sebastian, Donostia
Madrid-ChamartinNo tags
RENFE Media DistanciaTrain
San Sebastian, Donostia
Madrid-Príncipe PioNo tags

Last refresh of the prices: Today at 7:44 PM CET.

Compare 3 ways to go from San Sebastian to Madrid

We recommend carpooling

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

19carpool per day
4h 50mAverage Duration
353 kmDistance
15kgCO₂ emissions
Average Price$84 - $131Average Duration5h 45m
9kg CO₂e
Average Price$43 - $201Average Duration7h 42m
8kg CO₂e
Carpool
Average Price$31 - $117Average Duration4h 50m
15kg CO₂e

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

  1. How much does a cheap train ticket from San Sebastian to Madrid cost?

    The average train ticket price from San Sebastian to Madrid is $94. The best way to find cheap train tickets from San Sebastian to Madrid is to book your tickets as early as possible. Prices tend to rise as your travel date approaches, so book in advance to secure the best prices!

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

    A train trip between San Sebastian and Madrid is around 7h 42m, although the fastest train will take about 5h 9m. This is the time it takes to travel the 353 km that separates the two cities.

  3. How many daily trains are there between San Sebastian and Madrid?

    The number of trains from San Sebastian to Madrid can differ depending on the day of the week. On average, there are 4. Some trains are direct while others include transferring trains. Simplify your train trip from San Sebastian to Madrid by comparing and selecting the train that fits your travel style and budget on Busbud.

  4. Which train companies travel from San Sebastian to Madrid?

    When taking the train from San Sebastian to Madrid, you can travel comfortably and safely with Renfe.

Find cheapest prices for trains

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

Best price found
11-17
$134
11-18
No data
Today
$122
11-20
$88
11-21
$88
11-22
$89
11-23
$88
11-24
$88
busbud logoThe cheapest trip from San Sebastian to Madrid was searched and found on Nov 21, 2025 with a price of $88

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

You can expect to pay from $88 to $194 for a train ticket from San Sebastian to Madrid based on the last 2 days. You can expect to find the cheapest price for the trip at $88 which is on 2025-11-21.

People from around the world trust Busbud