Train tickets from Madrid to San Sebastian

Next train departures

Next departures from Madrid to San Sebastian on 22 November
Operated byVehicle typeDeparture timeDeparture locationTrip durationArrival timeArrival locationRecommendedPrice and booking link
RENFE Media DistanciaTrain
Madrid-Príncipe Pio
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 AlviaTrain
Madrid-Chamartin
San Sebastian, DonostiaNo tags

Last refresh of the prices: Today at 10:31 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 £16, it presents an excellent value for a comfortable ride.

16carpool per day
4h 50mAverage duration
219 milesDistance
15kgCO₂ emissions
Average price£39 - £117Average duration5h 45m
9kg CO₂e
Average price£19 - £109Average duration5h 28m
8kg CO₂e
Carpool
Average price£16 - £49Average duration4h 50m
15kg CO₂e

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

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

    The average train ticket price from Madrid to San Sebastian is £51. The best way to find cheap train tickets from Madrid to San Sebastian 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 train trip from Madrid to San Sebastian?

    A train trip between Madrid and San Sebastian is around 5h 28m, although the fastest train will take about 5h. This is the time it takes to travel the 219 miles that separates the two cities.

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

    The number of trains from Madrid to San Sebastian 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 Madrid to San Sebastian by comparing and selecting the train that fits your travel style and budget on Busbud.

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

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

  5. What are the departure and arrival stations for a train from Madrid to San Sebastian?

    Trains travelling between Madrid and San Sebastian leave from Madrid-Príncipe Pio or Madrid-Chamartin and arrive at Donostia.

Find cheapest prices for trains

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

Best price found
19/11
£86
20/11
£105
Today
£48
22/11
£48
23/11
£48
24/11
£44
25/11
£40
26/11
£33
busbud logoThe cheapest trip from Madrid to San Sebastian was searched and found on 26 Nov 2025 with a price of £33

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 £33 to £105 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 £33, which is on 2025-11-26.

People from around the world trust Busbud