Madrid to San Sebastián by train Find train times and tickets

Prices explained

Prices explained

At Loco2 we believe in price transparency. We use real data from Loco2 searches to estimate the cheapest fares you should be able to find for your journey.

The cheapest price is the lowest fare we've ever found for this journey. These prices can usually be found by searching when booking opens but they vary due to availability, which depends on factors like the day of the week or time of year.

More popular journeys include 30 day advance and 7 day advance prices. These are updated every two weeks using prices we've found by searching exactly 7 or 30 days from the most recent Thursday (we picked Thursday because this is when average prices are usually found).

30 day and 7 day prices fluctuate based on demand and availability at the time of search. For example, the 7-day price in summer is likely to be more expensive than the same journey in winter.

Prices are sourced in GBP and converted to other currencies using the daily market exchange rate.

We're always seeking to improve how price-checking works, and we welcome feedback on how we can make it better.

More advice about how to find the cheapest tickets can be found in our infographic.

  1. Cheapest price $20.57
  2. 30 day advance $58.40
  • First train
    08:00
  • Last train
    17:40
  • Avg changes
    0
  • Fastest journey
    5hr 10m

Travelling from Madrid to San Sebastián by train

Fast trains from Madrid to San Sebastián take around 5 hours and 10 minutes, covering a distance of approximately 353 kilometres. There are frequent services on the rail route between Madrid and San Sebastián.

Are there direct trains from Madrid to San Sebastián?

Direct trains from Madrid to San Sebastián have been found.

We usually find around 6 direct trains on the route from Madrid to San Sebastián every weekday.

Trains usually run with a similar frequency on weekends.

How long is the train journey from Madrid to San Sebastián?

The Madrid to San Sebastián train travel time is normally about 5 hours and 10 minutes, whatever time you make the journey.

What are the Madrid to San Sebastián train times and schedule?

On weekdays the earliest direct train to San Sebastián is usually scheduled to depart Madrid around 08:00 and the last train is around 17:40. This is the same at the weekend.

Route map is indicative only and may differ from the optimal route. Actual routes will be displayed when searching.

What's the Madrid to San Sebastián train price?

The earlier you book the better, and the cheapest tickets we've found for trains from Madrid to San Sebastián are $20.57.

Trains departing 30 days in advance will cost around $58 while booking 7 days in advance the price is around $44. Booking on the day of travel is likely to be more expensive, so it is worth booking in advance if you can to save money.

When to book Madrid to San Sebastián train tickets?

Trains in Spain usually open for booking around 4 months in advance. If booking is not yet open for your dates then you can set a booking alert to receive an email on the day that the cheapest tickets are released for your journey from Madrid to San Sebastián by train.

Which train companies operate between Madrid and San Sebastián?

More than one train company operates on the route from Madrid to San Sebastián, so you’ll be travelling with one or more of the following rail operators:

  • Alvia
  • Intercity
  • Media Distancia

You can check which train you’ll be travelling on by looking for the train name in search results.

Find journey information for San Sebastián to Madrid

Route map is indicative only and may differ from the optimal route. Actual routes will be displayed when searching.

Other journeys to San Sebastián View all journeys to San Sebastián

  1. It is very easy to travel by train from Madrid to San Sebastián. On most days, there are Alvia trains and slower Media Distancia (MD) services linking the two cities.

    The fast Alvia trains cut through the hills north-west of Madrid in a long tunnel. If you are interested in some beautiful Spanish landscape, you might prefer the slower option, for the rail route over the Sierra de Guadarrama is one of the most beautiful in Spain. It’ll add two hours to your journey time but the views are worth it.

    8

    Madrid to San Sebastián/Donostia

    Choose between a high-speed Alvia train and slower Media Distancia train to travel directly from Madrid Chamartín station to San Sebastián. Fast Alvia trains stop six to seven times along the way, including Burgos. Media Distancia trains stop at least 20 times.

Search accommodation in San Sebastián

Airbnb
Country guide

Trains to Spain

Read our country guide

Child and youth passengers

The definition of "Child" and "Youth" varies by country and rail operator. This is why we ask for the age of young passengers.

Sometimes children below a certain age can travel without a seat for free. If you want to guarantee a seat for child passengers, enter '6' as the age of the child.

Read more about child and youth passenger ages. See also youth discounts and railcards.

Log in / Register

  1. We'd love to send you (occasional) emails with travel tips, sales and special offers. You can change your preferences at any time.
  1. By registering you agree with our privacy policy.