Train tickets from Madrid to San Sebastian

Next train departures

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

Last refresh of the prices: Today at 12:41 AM CET.

Compare 3 ways to go from Madrid to San Sebastian

We recommend carpooling

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

16carpool per day
4h 50mAverage Duration
219 milesDistance
15kgCO₂ emissions
Average Price$50 - $149Average Duration5h 45m
9kg CO₂e
Average Price$24 - $140Average Duration5h 28m
8kg CO₂e
Carpool
Average Price$20 - $63Average Duration4h 50m
15kg CO₂e

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

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
$110
11/18
$101
Today
$62
11/20
$62
11/21
No data
11/22
$62
11/23
$60
11/24
$56
busbud logoThe cheapest trip from Madrid to San Sebastian was searched and found on Nov 24, 2025 with a price of $56

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 $56 to $135 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 $56 which is on 2025-11-24.

People from around the world trust Busbud