Madrid to Edinburgh by train

Compare prices, times and book fast direct trains

Overview: trains from Madrid to Edinburgh

Find the key information for travelling by train from Madrid to Edinburgh, including journey times, fares and operators serving the route. Compare your options and plan the journey that works for you with Rail Europe.

First train 05:50 View journey
Last train 21:30 View journey
Avg changes 3
Fastest journey 19hr 3m View journey
Distance (km) 1729
Trains / day 13 View all
Cheapest journey AU$930.02 View journey
Avg journey time 30hr 5m
Train operators 17

Travelling by train from Madrid to Edinburgh

Ready to travel from Madrid to Edinburgh by train? Whether it’s your first time or you’re a seasoned train traveller, this guide will provide you with all the essential information you need for a smooth, enjoyable ride.

Cost of a train ticket between Madrid and Edinburgh

The cheapest ticket price along this route is AU$930.02. Fares naturally increase as the travel date approaches. A month out, expect prices run around , and a week out, fares can hit around on average. Tickets for this journey can be purchased 5 and a half months in advance.

What’s included in the price of a European train ticket

When booking with Rail Europe, you will be prompted to choose the class of service before checking out. We will automatically select the most affordable option. Choosing a more elevated class will increase the cost, but also often includes a number of other perks like elaborate dining menus and extra space. It's good to know that many train operators do include luggage, Wi-Fi and other basic amenities at no extra cost. Seat reservations and meals often do incur a further cost. You can review the terms of service of each type of ticket at checkout.

Train times for travel between Madrid and Edinburgh

If you are taking the train from Madrid to Edinburgh, you will have 13 trains each day (with a departure every 34 minutes) to choose from. Earlier risers can catch the first weekday train at 05:50. If you are looking to jump aboard the last train out of the station, the latest train departs at 21:30. On weekends, the first train departs at 06:20, and the last scheduled train of the day leaves at 21:25.

How long is the train journey from Madrid to Edinburgh?

This journey covers a total of 1,729 kilometres, with the quickest trip taking 19 hours and 3 minutes.

When do tickets between Madrid and Edinburgh go on sale?

Travellers can book train journeys between Madrid and Edinburgh 5 and a half months before the travel date. The earlier you book, the better the price. Stay informed about ticket availability by setting up a personalised booking alert with Rail Europe.

Maximising your travels to Edinburgh

For a smooth travel experience, explore our help articles. Start planning your holiday and explore travel ideas in our city guide: Edinburgh.

FAQs about the train journey from Madrid to Edinburgh

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

The train route from Madrid to Edinburgh covers 1,729 kilometres.

230+ European rail operators Official partner of 230+ European rail operators

Sncf Eurostar Deutsche Bahn Trenitalia National Rail ÖBB Renfe SBB
Interrail Eurail TGV Lyria Swiss Travel System Italo Iryo Alleo OUIGO RegioJet

Travellers rate us "Excellent!"

Child and youth passengers

The definition of "Child" and "Youth" varies by country and 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.