Winner: Advancing International Rail TravelBranchBranchWinner2024 Global Recognition AwardGlobal Recognition Award*

San Sebastian/Donostia to Madrid Trains

Get real-time train timetables

Download the Rail Monsters app today

qr code
apple
google
mi
huawei

San Sebastian/Donostia to Madrid Bullet Train Tickets & Timetable

San Sebastian/Donostia to Madrid trains are mainly Renfe Alvia services, using variable-gauge trains that run on classic Basque lines and high-speed sections closer to Madrid. Trains depart from Donostia-San Sebastian station and usually call at stops such as Zumarraga, Vitoria-Gasteiz, Miranda de Ebro, Burgos Rosa Manzano, Valladolid Campo Grande, and Segovia Guiomar before arriving at Madrid-Chamartin Clara Campoamor. The rail distance is about 622 km, with the fastest direct services taking around 5 hours 5 minutes and slower departures taking about 6 hours 30 minutes. There are usually 3 to 4 direct departures per day in one direction, with more options requiring a change. One-way fares start from about €25 ($27 USD) for advance Basico-style tickets and can rise to around €100 ($108 USD) for flexible fares in higher classes. Prices shown are starting from; final fares depend on class, time of booking, and availability. Rail Monsters accepts bookings 6 to 12 months ahead; book earlier for Semana Santa, August holidays, Christmas and New Year, and long weekends.
16Jul
1
Seats
San Sebastian/Donostia
Madrid

Each ticket has information about

Departure Time

Travel time

Arrival Time

Changes

Brand name / Train type

Ticket price

Morning trains

04:55
San Sebastian/DonostiaStation
5h 5m
10:00
MadridMadrid-Chamartín-Clara Campoamor
Direct
Intercit 04056
from
83 USD
1
5h 5m, Direct
04:55
San Sebastian/DonostiaStation
10:00
MadridMadrid-Chamartín-Clara Campoamor
from
83 USD
1
Direct
08:40
San Sebastian/DonostiaStation
5h 11m
13:51
MadridMadrid-Chamartín-Clara Campoamor
Direct
Renfe Alvia 04086
from
102 USD
1
5h 11m, Direct
08:40
San Sebastian/DonostiaStation
13:51
MadridMadrid-Chamartín-Clara Campoamor
from
102 USD
1
Direct
High-speed

Day trains

16:47
San Sebastian/DonostiaStation
5h 26m
22:13
MadridMadrid-Chamartín-Clara Campoamor
Direct
Renfe Alvia 04176
from
88 USD
1
5h 26m, Direct
16:47
San Sebastian/DonostiaStation
22:13
MadridMadrid-Chamartín-Clara Campoamor
from
88 USD
1
Direct
High-speed
day

First train

04:55
night

Last train

16:47
distance

Travel duration

5h 21m
daily-departure

Daily departures

3
departure-station

Departure station

San Sebastian/Donostia
changes-type

Changes

direct
arrival-station

Arrival station

Madrid
ticket-price

Ticket price

$25
background

How to Book Train Tickets Online from San Sebastian/Donostia to Madrid

1

Search

2

Add passengers

3

Receive your ticket

4

Take the train

24/7 Human Customer Support
Human support agents are available 24/7 by chat, email, or phone for questions about Donostia-San Sebastian station, Madrid-Chamartin arrivals, seat reservations, or ticket changes on this route.
Book Official Tickets Easily
Rail Monsters provides official tickets for the San Sebastian/Donostia to Madrid route on Renfe Alvia services. Select Donostia-San Sebastian as your departure station and Madrid-Chamartin Clara Campoamor as your arrival station when booking online.
Secure Payment Options
Pay for San Sebastian/Donostia to Madrid train tickets with major credit and debit cards, Apple Pay, Google Pay, and other supported digital payment methods. Payment checks use secure online verification for Spanish rail bookings.
Flexible Exchanges & Cancellations
Exchange and cancellation options depend on the Renfe fare selected for the San Sebastian/Donostia to Madrid Alvia. Flexible fares usually allow changes before departure, while the lowest advance fares are more restricted.
Receive Your Tickets Instantly
After checkout, San Sebastian/Donostia to Madrid e-tickets are sent by email. Present the ticket barcode on a phone or printed copy at the station access control before boarding the Alvia.

Why Book San Sebastian/Donostia to Madrid Train Tickets with Rail Monsters?

star

Trusted by travelers
and rated 4.8 on average

e-tickets

e-Tickets to board

seat

Seat Preferences
that works

payment

International
Payment options

Rail Monsters gives San Sebastian/Donostia to Madrid travelers 24/7 human support, mobile apps for iOS and Android, real-time train information, and a single account for rail bookings in Spain and worldwide. The route search shows current Alvia schedules and ticket conditions before payment.

We accept payments:

payment-logos
payment-logos

San Sebastian/Donostia to Madrid Route Overview

This route links the Bay of Biscay with central Spain, leaving the green Gipuzkoa valleys before crossing the Castilian plateau through Burgos and Valladolid. Its distinctive feature is the Alvia train's gauge-changing operation, which lets the same train use Iberian-gauge conventional track in the Basque Country and standard-gauge high-speed infrastructure nearer Madrid. Seat reservation is standard on long-distance Renfe services, so passengers travel with an assigned coach and seat rather than an open non-reserved ticket. Choose a window seat on the early part of the route for views of the Urumea valley and inland Basque hills after leaving Donostia-San Sebastian.
time-s

Travel time

5h 21m

train-s

Train type

fastest-s

Fastest trip

5h 5m

longest-s

Longest trip

5h 33m

San Sebastian/Donostia

San Sebastian, officially Donostia-San Sebastian, is a Basque coastal city known for La Concha bay, the Parte Vieja, and pintxo bars around Calle 31 de Agosto. Donostia-San Sebastian station sits by the Urumea River, a short walk from the city center and connected to local buses and Euskotren services nearby.

San Sebastian/Donostia

StationStation
arrowarrow

5h 21m

Madrid

Madrid is Spain's capital, with the Prado, Reina Sofia, Royal Palace, Retiro Park, and major business districts spread around the center. Long-distance trains from San Sebastian/Donostia arrive at Madrid-Chamartin Clara Campoamor, north of the center, with Metro, Cercanias, and onward high-speed rail connections.

Madrid-Chamartín-Clara Campoamor

StationStation

Madrid Atocha

StationStation

Madrid Príncipe Pio

StationStation

Madrid - Atocha Cercanías

StationStation

Practical Information for Alvia Travelers

Luggage icon
Renfe long-distance luggage rules apply on Alvia services between San Sebastian/Donostia and Madrid. Keep bags within the permitted size because station access controls may check large items.
Luggage Allowance
Passengers may take up to 3 pieces of luggage, with each item up to 25 kg and total combined dimensions up to 285 cm. The largest single item should not exceed 85 x 55 x 35 cm under standard Renfe long-distance rules.
Storage Facilities
Alvia trains have overhead racks for smaller bags and luggage shelves at the ends of coaches for larger suitcases. Keep valuables and documents at your seat, especially on the longer stops at Burgos, Valladolid, or Segovia.
Special Items
Folded bicycles, scooters, skis, golf bags, and musical instruments can travel if packed and within Renfe's special-item size rules. Fully assembled bicycles are not normally accepted on Alvia unless a specific permitted arrangement applies.

Average rating & reviews

4.7
starstarstarstarstar
Among mobile stores and search platforms
4.7
starstarstarstarstar
Among mobile stores and search platforms
Easy purchase and process
We went from Tokyo station to Hiroshima for the first time. We bought our tickets online, printed the tickets and had no issues. Great experience
avatarDenise Harston
Thank you very much for your support
Even with very short time frame you suceeded to change our tickets. We are very gratefull. You are the best.
avatarMitja Bostner
Thank you, David!
Could not thank David from Rail Monsters enough, i made a couple of errors in my booking for japan and he fixed them asap with no hassle, customer service A1
avatarAlan
Local Guide
Wonderful trip from Tokyo to Kyoto. Excellent service.
avatarMarius-Adrian Nicoara
Very kind and helpful staff
Very kind and helpful staff who were very diligent and thorough in helping secure tickets for a sold out train. Thank you so much!
avatarAllison Makhoul

San Sebastian/Donostia to Madrid Map

The San Sebastian/Donostia to Madrid route starts at Donostia-San Sebastian station, runs inland through Gipuzkoa toward Zumarraga and Vitoria-Gasteiz, then continues via Miranda de Ebro and Burgos Rosa Manzano. South of Burgos and Valladolid, Alvia services use upgraded and high-speed sections toward Segovia Guiomar and Madrid-Chamartin Clara Campoamor. The line crosses Basque valleys, the Ebro area near Miranda, and the open Castilian plateau.

Rail vs Bus vs Plane

Train

Changes

Travel time

Price from

Departures

Rating

Train

ALVIA

Changes

Direct

Travel time

5h 24m

Price from

$26

Departures

53

Rating

Train

Intercit

Changes

Direct

Travel time

5h 14m

Price from

$25

Departures

22

Rating

The train runs from Donostia-San Sebastian station to Madrid-Chamartin, avoiding airport transfers at both ends. Buses between San Sebastian and Madrid usually take 5 hours 45 minutes to 7 hours, often using Madrid Avenida de America, with fewer onboard movement options than rail. Flights from San Sebastian Airport to Madrid-Barajas take about 1 hour 10 minutes in the air, but airport access, check-in, security, and baggage collection add substantial time. Rail also has a lower carbon footprint than flying on this domestic corridor.
Greener choice

Plus, it’s a greener choice, reducing your carbon footprint

Travel time

Price range

Travel time

Price range

Travel time

Price range

Winner

Train

Apprx.

5h 21m

$25-$126

Bus

Apprx.

6h 15m

$25-$55

Flight

Apprx.

1h 10m

$55-$220

FAQ about the San Sebastian/Donostia - Madrid Route

How much is the train from San Sebastian/Donostia to Madrid?

One-way fares start from about €25 ($27 USD) for advance Basico-style tickets and can rise to around €100 ($108 USD) for flexible or higher-class fares. Prices shown are starting from; final fares depend on class, time of booking, and availability.

How long is the train from San Sebastian/Donostia to Madrid?

The fastest direct Alvia trains take about 5 hours 5 minutes from Donostia-San Sebastian to Madrid-Chamartin Clara Campoamor. Slower direct departures take around 6 hours 30 minutes, depending on stops and the path used across northern Castile.

How do I book San Sebastian/Donostia to Madrid train tickets?

Book through Rail Monsters by entering Donostia-San Sebastian as the departure station, Madrid-Chamartin Clara Campoamor as the arrival station, and selecting your travel date. Choose an Alvia departure, review the fare conditions, and pay online. Rail Monsters accepts bookings 6 to 12 months ahead and offers iOS and Android apps for managing tickets.

Does a rail pass cover San Sebastian/Donostia to Madrid?

Eurail and Interrail passes are valid on Renfe long-distance trains in Spain, including Alvia services, but a paid seat reservation is required before boarding. Rail Monsters sells individual tickets for the San Sebastian/Donostia to Madrid route.

How fast is the Alvia from San Sebastian/Donostia to Madrid?

Renfe Alvia trains can reach up to 250 km/h (155 mph) on high-speed sections closer to Madrid. Speeds are lower on conventional parts of the route through the Basque Country and around some intermediate stops.
Learn more information at our
Country Guide