Train from San Sebastian to Madrid: Tickets & Schedules

Next train departures

Next departures for San Sebastian to Madrid on December 2
Operated byVehicle typeDeparture timeDeparture locationTrip durationArrival timeArrival locationRecommendedPrice and booking link
RENFE AlviaTrain
San Sebastian, Donostia
Madrid-ChamartinCheapest
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: Yesterday at 9:51 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 $29, it presents an excellent value for a comfortable ride.

18carpool per day
4h 50mAverage Duration
353 kmDistance
15kgCO₂ emissions
Average Price$84 - $129Average Duration5h 45m
9kg CO₂e
Average Price$43 - $198Average Duration7h 42m
8kg CO₂e
Carpool
Average Price$29 - $116Average Duration4h 50m
15kg CO₂e

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

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

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

    The cheapest train tickets from San Sebastian to Madrid start at $43. The average price for this train route is around $93. Busbud recommends booking your tickets in advance to increase your chances of getting the lowest possible price.

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

    The average train trip from San Sebastian to Madrid takes 7h 42m and covers 353 km. The quickest train gets you there in 5h 9m and is operated by Renfe.

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

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

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

    The earliest train from San Sebastian to Madrid departs at 8:40am. The latest train departs at 4:47pm.

Find cheapest prices for trains

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

Best price found
11-30
$133
12-01
$109
Today
$85
12-03
$85
12-04
$88
12-05
$88
12-06
$88
12-07
$88
busbud logoThe cheapest trip from San Sebastian to Madrid was searched and found on Dec 2, 2025 with a price of $85

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 $85 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 $85 which is on 2025-12-03.

People from around the world trust Busbud