French winter train tickets are now live! Find travel dates and carriers here… Book me in

Business

No tickets in your basket.

Why not plan a trip?

My Bookings
Loading...
Loading...

TrainlineTrainline is Europe’s leading platform for train and bus tickets

Looking for the cheapest date to travel?

Within 7 days

Outbound from

Within 1 month

Outbound from

Within 3 months

Outbound from
Low prices found by our customers
Each fare is the lowest adult economy ticket fare found by our customers on Trainline. Fares booked further in advance than the dates displayed may be cheaper. Prices are updated daily, subject to change and indicative of price last update. Limited availability. Discount cards and coach journeys excluded, prices exclusive of booking fee.

What customers say about Trainline

Read real reviews from real users

Take the train from Madrid to San Sebastian in 6h 05m

If you want to travel from Madrid to San Sebastian by train, you've come to the right place.

The average journey time from Madrid to San Sebastian by train is 6h 5m, with around 1 train per day travelling 219 miles (353 km) between these two destinations. Although there aren't any direct services on this line, it's still easy to travel to San Sebastian from Madrid, you'll just need to make 1 change along the way. You can travel on this route with Renfe, which is the main train operator in Spain and has the widest network of high-speed trains in Europe. The fastest journey time from Madrid to San Sebastian is 6h 05m on the fastest Renfe services.

You can save money on train tickets from Madrid to San Sebastian if you book in advance. Use our Journey Planner at the top of the page to compare ticket prices and get the cheapest fares.

Keep reading for more information about the train journey to San Sebastian, including FAQs, timetables with first and last train times and tips on booking cheap train tickets. If you’re ready to book, just start a search for tickets with us today.

Madrid to San Sebastián-Donostia by train

It takes an average of 7h 7m to travel from Madrid to San Sebastián-Donostia by train, over a distance of around 219 miles (353 km). There are normally 7 trains per day travelling from Madrid to San Sebastián-Donostia and tickets for this journey start from £11.54 when you book in advance.

First train

07:15

Last train

19:53

Departure station

Madrid

Arrival station

San Sebastián-Donostia

Journey time

From 4h 55m

Distance

219 miles (353 km)

Frequency

7 trains per day

Changes

Direct trains available

Price

From £11.54

Train and bus operators

Renfe, ALSA

Madrid to San Sebastián-Donostia train times

Check out the next trains departing from Madrid to San Sebastián-Donostia for Tuesday 19th November 2024. For the full train timetable/schedule, or to search for a later time or date, click here.
DepartsArrivesDuration
06:15 11:43 5h 28m, direct
09:15 15:48 6h 33m, 1 change
11:05 17:50 6h 45m, 2 changes
13:46 18:41 4h 55m, direct
13:50 19:53 6h 3m, 1 change
16:37 21:47 5h 10m, direct
18:53 09:48 14h 55m, 2 changes

Renfe, Alvia and Media Distancia trains from Madrid to San Sebastián-Donostia

You can travel from Madrid to San Sebastián-Donostia on Renfe, Alvia and Media Distancia trains. When you search for times and tickets, we might also show you some other options with multiple connections or operators if they’re available.

Renfe is the national train operator in Spain. It operates trains on the longest high-speed railway network in Europe, and the second-longest in the world. The country's major cities are linked up by the high-speed AVE and Avlo trains, while other long-distance routes are served by Altaria, Talgo, Alvia and Euromed trains. Renfe also operates cross-border services into neighbouring Portugal and France. Depending on which service you are travelling on, you'll usually find two classes on Renfe trains - Estándard (Standard Class) and Confort (First Class). Fare types range from the cheapest (but least flexible) Básico fare, to the more flexible Elige fares, to the Premium fare for seats in Confort carriages.

Renfe's Alvia services combine high-speed tracks with lower speed sections, reaching speeds of up to 155 mph (250 km/h) on international lines and 125 mph (200 km/h) on conventional lines. These trains connect the cities of Madrid, Barcelona and Alicante with the other main Spanish cities. Alvia offers two types of classes – Turista (Second Class) and Preferente (First Class). The latter has wider seats, carriages with fewer seats, offers complimentary food and drinks, free newspapers, and access to parking and Club meeting rooms.

Renfe's Media Distancia are regional trains operated by CAF locomotives that run on medium-distance routes not covered by Avant high-speed trains. Most Media Distancia trains have one class. However, there are some that will have Turista (Second Class) and Preferente (First Class). These trains also have spaces for bicycles, and all seats are equipped with power sockets and reading lights.

Alvia classes from Madrid to San Sebastián-Donostia

Compare the different travel classes offered by Alvia when travelling from Madrid to San Sebastián-Donostia.

Onboard services on Alvia

Discover more about the onboard services offered on trains from Madrid to San Sebastián-Donostia.

LuggageLuggageLuggage

On Alvia trains you can take up to three pieces of luggage on board, provided that they are less than 290cm long and weigh less than 25kg in total. Pushchairs and instruments smaller than 30 x 120 x 38 cm are also classed as hand luggage.

RestaurantRestaurantFood and drink

Most Alvia trains have an onboard café-bar, as well as an at-seat trolley service with a wide selection of food and drinks.

WiFiWiFiEntertainment

On board Alvia services, you can connect to PlayRenfe, a platform offering free WiFi and hours of entertainment.

ChildPassengerChildPassengerTravel with children

Children under 4 travel free on Alvia services with a free child's ticket. Plus, passengers under 14 get a 40% discount on their chosen tariff.

ModeOfTransportBikeModeOfTransportBikeBikes

With Alvia, folded bicycles that are less than 180cm long and are stored in a case count as hand luggage. If your bike is larger than this, it will count as special luggage and must be no larger than 120 x 90 x 40 cm - you must also detach the pedals and rotate the handlebars 90 degrees.

PetPetPets

You can take your pet with you if they weigh less than 10kg, travel in a carrier no larger than 60 x 35 x 35 cm, and have a pet ticket. In Elige Confort a pet ticket is free, while in Básico a pet ticket costs 25% of the price of a ticket.

WheelchairWheelchairSpecial Assistance

Alvia has an assistance service for passengers with reduced mobility or a disability. To arrange assistance, you can call (+34) 900 400 555 (international calling charges may apply).

Cheap train tickets from Madrid to San Sebastián-Donostia

The price of train tickets from Madrid to San Sebastián-Donostia starts at £11.54 one-way for a Standard Class ticket if you book in advance. Booking on the day is usually more expensive and costs can vary depending on the time of day, route or class.

Book in advance

Most of the train companies across Europe release their tickets around three to six months in advance, many of which can be cheaper the earlier you book. If you know the dates you want to travel, you may be able to find some cheaper train tickets from Madrid to San Sebastián-Donostia by booking early.§

Be flexible with your travel times

Many of the train services in Europe are also popular commuter services, lots of train companies increase ticket prices during “peak hours” (generally between 06:00 – 10:00 and 15:00 – 19:00 on weekdays). If you can, consider travelling outside of peak hours to find lower priced tickets.

Choose a slower or connecting train

On some of the busier routes, you might also have the option to take a slower or connecting train. It may take a little longer than some high-speed or direct services, but if you have a little extra time on your hands, you might find a cheaper fare. Plus, you'll have more time to enjoy the view of the countryside!

Look out for special deals

Take a look at our handy guides to find out when train operators release their special deals and offers to see if you can find cheap European train tickets for your journey.

For specific information about how to get your hands on cheap tickets, check out our European train tickets hub.

§Some train companies may not offer any Advance ticket types or cheaper deals for early bookings. On rare occasions, train companies may choose to release special offers closer to the date on last-minute or late-release tickets. This is dependent on the individual train operating company you travel with.

Journey details

Want to know more about your journey from Madrid to San Sebastián-Donostia? We've compiled some of the most frequently asked questions by our customers to help you plan your journey.

How long does the train from Madrid to San Sebastián-Donostia take?

The average journey time by train between Madrid and San Sebastián-Donostia is 7 hours and 7 minutes, with around 7 trains per day. The journey time may be longer on weekends and holidays, so use our Journey Planner on this page to search for a specific travel date.

What's the fastest journey time between Madrid and San Sebastián-Donostia by train?

The fastest journey time by train from Madrid to San Sebastián-Donostia is 4 hours and 55 minutes.

How much does the train from Madrid to San Sebastián-Donostia cost?

Train ticket prices from Madrid to San Sebastián-Donostia can start from as little as £11.54 when you book in advance. The cost of tickets can vary depending on the time of day, route and class you book and are usually more expensive if you book on the day.

Is there a direct train from Madrid to San Sebastián-Donostia?

Yes, it is possible to travel from Madrid to San Sebastián-Donostia without having to change trains. There are 3 direct trains from Madrid to San Sebastián-Donostia each day. Though there may be fewer direct services available depending on your exact departure date.

What time does the first train from Madrid to San Sebastián-Donostia leave?

The first train from Madrid to San Sebastián-Donostia leaves at 07:15. Times and services may vary during weekends and holidays.

What time does the last train from Madrid to San Sebastián-Donostia leave?

The last train from Madrid to San Sebastián-Donostia leaves at 19:53. Trains that depart in the early morning hours or very late evening may be sleeper services, time and services may also vary during weekends and holidays.

What's the distance between Madrid and San Sebastián-Donostia by train?

Trains travelling from Madrid to San Sebastián-Donostia cover a distance of around 219 miles (353 km) during the journey.

Looking for more information?

If you’re looking for the return train journey, check out trains from San Sebastián-Donostia to Madrid.

Europe’s leading train and coach app

We help customers across Europe make more than 172,000 smarter journeys every day.