Trains tickets from Madrid to San Sebastian

Discover your next train travel journey from Madrid to San Sebastian and book online with ease

Join 75M+ travellers booking 2M+ routes across 85+ countries.
Enjoy our 24/7 customer service to assist you at every stage.
Cancel anytime and receive a 100% refund, no reason needed.
Tomorrow15 May
from US$59
Fri16 May
from US$56
Sat17 May
from US$59
Sun18 May
from US$59
Mon19 May
from US$56
Tue20 May
Wed21 May
from US$59
Thu22 May

Trains leaving tomorrow

One passenger / one way

  • This trip is recommended because it is the: Cheapest
    Departure time: 15 May at
    Departure city: Madrid
    Departure location: Madrid-Príncipe Pio
    Arrival time: 15 May at
    Destination city: San Sebastian
    Destination location: San Sebastian, Donostia
    Operated by: RENFE Media DistanciaRENFE Media Distancia
    Vehicle: TrainDuration:
  • This trip is recommended because it is the: Fastest
    Departure time: 15 May at
    Departure city: Madrid
    Departure location: Madrid-Chamartin
    Arrival time: 15 May at
    Destination city: San Sebastian
    Destination location: San Sebastian, Donostia
    Operated by: RENFERENFE
    Vehicle: TrainDuration:
  • Departure time: 15 May at
    Departure city: Madrid
    Departure location: Madrid-Chamartin
    Arrival time: 15 May at
    Destination city: San Sebastian
    Destination location: San Sebastian, Donostia
    Operated by: RENFE AlviaRENFE Alvia
    Vehicle: TrainDuration:
  • Departure time: 15 May at
    Departure city: Madrid
    Departure location: Madrid-Príncipe Pio
    Arrival time: 15 May at
    Destination city: San Sebastian
    Destination location: San Sebastian, Donostia
    Operated by: RENFE Media DistanciaRENFE Media Distancia
    Vehicle: TrainDuration:
  • Departure time: 15 May at
    Departure city: Madrid
    Departure location: Madrid-Chamartin
    Arrival time: 15 May at
    Destination city: San Sebastian
    Destination location: San Sebastian, Donostia
    Operated by: RENFERENFE
    Vehicle: TrainDuration:

Accepted payments

  • Visa
  • MasterCard
  • American Express
  • China Union Pay
  • Diners Club Canada
  • Discover Click to Pay
  • JCB payment
  • Klarna (Pay over time)
  • Google Pay

Compare 3 ways to travel from Madrid to San Sebastian

Average priceUS$53 - US$172Average duration6h
9kg CO₂e5 out of 5 stars
Average priceUS$23 - US$133Average duration5h 23m
8kg CO₂e5 out of 5 stars
Most eco-friendly
Carpool
Average priceUS$21 - US$59Average duration4h 50m
15kg CO₂e4 out of 5 stars
CheapestFastest
busbud logoBusbud recommends carpooling from Madrid to San Sebastian

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 US$21, it presents an excellent value for a comfortable ride.

20carpool per day
4h 50mAverage duration
US$21Cheapest ticket
15kgCO₂ emissions

Train Madrid to San Sebastian: Trip Overview

Please note, this information is subject to change.

Average ticket priceUS$64
Average train trip duration5h 23m
Number of daily trains4
Earliest train departure07:20
Distance219 miles
Latest train departure17:37

Madrid to San Sebastian Train

Busbud helps you find a train from Madrid to San Sebastian. Get the best fare and schedule, book a round trip ticket or find trains with WiFi and electrical outlets.

We make it our job to connect you with the most dependable companies that offer train services from Madrid to San Sebastian.

Whether it is train tickets or first class train tickets going to San Sebastian from Madrid, we help you find what you're looking for based on how much of a budget you have.

Frequently asked questions on the trip Madrid - San Sebastian

  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 US$64. 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 23m, although the fastest train will take about 4h 55m. 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. 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 Puerta De Atocha 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
12/05
US$72
13/05
US$85
Today
US$59
15/05
US$59
16/05
US$56
17/05
US$59
18/05
US$59
19/05
US$56
busbud logoThe cheapest trip from Madrid to San Sebastian was searched and found on 19 May 2025 with a price of US$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 US$56 to US$85 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 US$56, which is on 2025-05-19.

Usually RENFE_ALVIA will charge you higher prices for tickets closer to the departure date. To find the best prices, you should be flexible on your date of travel.

About Train Travel

Train Travel Tips

There are many train stations in the world, explore station pages on Busbud to get all information you need.

Whether you take a regional or high-speed train to San Sebastian, you’ll help reduce the environmental impact and carbon footprint of your trip. As you watch the landscapes unfold before your eyes, you can tell yourself that with this choice, you are making sure they remain protected.

By choosing the train between Madrid and San Sebastian, you emit up to 30 times less CO2 than for the same journey made by plane or car!

Make a music playlist for your train ride from Madrid to San Sebastian and enjoy the scenery to tunes from your own personal soundtrack.

Did you know?

One of the deepest train stations in the world is in Kiev. Located at a depth of 105m, it was designed in this way to serve as a shelter in the event of an attack. The second deepest station is in China. Badaling station is located 60m under the Great Wall of China!

New York holds the record for the most platforms and track numbers in a single station. Grand Central Station in Manhattan is one of the largest rail terminals in the world with more than 44 platforms and 67 tracks to accommodate passengers.

You can find dogs as passengers on the trains of Moscow, where there is a large number of stray dogs. Over time, the dogs have learned the inner workings of the rail system and it is not uncommon to find one travelling between the city and the suburbs.

Will you be returning to Madrid by train?

Train from San Sebastian to Madrid

Why choose Busbud?

The Best Way To Book Bus and Train Tickets

Busbud helps you easily search, compare and book intercity bus tickets on a worlwide scale with our comprehensive list of bus routes and schedules. Use Busbud to book your trip online, in your own language and currency, wherever you are. Busbud prides itself on its worldwide partnerships. We make it possible for you to buy tickets with its large network of trustworthy bus partners like Greyhound, Eurolines, ALSA, OUIBUS (BlaBlaBus), National Express and many others.

People from around the world trust Busbud

Popular Trains Connecting Madrid

Trains Leaving from Madrid

Popular Trains Connecting San Sebastian

Trains Going to San Sebastian