Read real reviews from real users
If you want to travel from Madrid to Ljubljana by train, you've come to the right place.
You can expect the journey from Madrid to Ljubljana by train to take around 30 hours 45 minutes. If you want to get there as quickly as possible, it can take as little as 25 hours 53 minutes on the fastest services. You'll usually find around 6 trains per day running on this route, which spans 1599 km. You'll have to make 4 changes along the way on your journey to Ljubljana. AVE, ICE or Renfe are the main rail operators on this route, all of which offer modern trains with plenty of space for luggage and comfortable seating.
Use our Journey Planner at the top of the page to search for cheap ticket prices – we'll show you how much you can save on train tickets from Madrid to Ljubljana if you book in advance.
If you want to know more about the journey, keep reading for train schedules, tips on finding cheap tickets and FAQs, including first and last train times. Want to go straight to booking? Start a search with us today!
AVE is Renfe's flagship high-speed service, with trains capable of reaching up to 193 mph (310 km/h). It’s one of the fastest trains in Europe and connects the main cities of Spain. Most AVE trains offer two comfort classes – Estándard (Standard Class) and Confort (First Class equivalent, with 1-1 configuration, ultra-wide seats, gourmet food and drink and lounge access). All AVE trains have air conditioning, power sockets, free WiFi and a buffet carriage serving a selection of food and drinks. There are three fares for AVE services: the cheapest but least flexible Básico fare, the Elige fare (slightly pricier but more flexible), and the Premium fare for seats in Confort Class.
OUIGO is the low-cost, high-speed train service operated by the French national train company SNCF. Despite having only one class on board, OUIGO trains offer the same comfort as Second Class seats on TGV trains, although OUIGO tickets are only available to purchase online. To make your journey as smooth as possible, arrive at least 30 minutes before departure and bear in mind that there's an additional fee for bringing a suitcase with you, having a seat with power sockets and travelling with a stroller/buggy.
Operating since the end of 2022, iryo is a new high-speed train company in Spain. It’s a consortium between the Spanish airline Air Norstrum and the train company Trenitalia, one of the greatest leaders in European rail transport. The first private Spanish high-speed company to operate, iryo runs high-speed services on the Madrid – Zaragoza – Barcelona route and connects Madrid – Cuenca – Valencia/Alicante and Madrid – Cordoba – Seville/Malaga. They are doing this all with a fleet of ETR1000 model trains that offer the highest level of comfort in Spain, with a combination of advanced propulsion and highest quality onboard services, including WiFi connection and catering service. 98% of the parts of the trains are 100% recyclable, making this trip sustainable as well!
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.
If you're looking for a reasonably-priced experience without compromising on the best service and comfort, Inicial Class is ideal for you!
Inicial Superior Class is ideal for business travelers looking for flexibility and comfort. If you need to, you can adapt your ticket to your needs at the time.
If you're looking for added comfort and full flexibility, Infinita class is a fantastic choice.
iryo's Infinita Bistró Class offers plenty of amenities on board, including wider leather reclining seats, free WiFi and in-seat meal service offering a complimentary gourmet meal. You'll need to book your meal 24 hours in advance.
In AVE's Estándar Class, you'll enjoy comfortable fuss-free travel. With baggage storage and air-conditioning throughout, there's access to their dining car serving drinks and snacks and seats are usually in a row of 2 or 4 around a table. On board, you'll enjoy:
Onboard AVE's Confort Class, you’ll enjoy all the amenities of Estándar Class as well as extra perks, such as complimentary food and drinks, free newspapers and more. Don't forget to enjoy access to Renfe's Club Rooms before your trip to kick it off in style. On board, you'll enjoy:
OUIGO comes with only one class, Standard Class, which is the equivalent of TGV's Second Class. On board you'll find WiFi and a café-bar (on services in Spain). There may be a trolley service on Train Classique services in France. You can pay extra to guarantee a seat with a power outlet, as not all seats currently have one.
If you're traveling in ICE's Second Class, you'll get to enjoy free WiFi and a bistrò carriage where you can buy snacks and drinks.
In addition to all the perks available in Second Class, you'll get more legroom, an in-seat meal service, Fast Track in some stations and free access to DB lounges.
What baggage limits are there? | Iryo's baggage policy varies by class. With an Inicial ticket, you can take one carry-on bag measuring 36 x 27 x 15 cm and one cabin suitcase measuring 55 x 35 x 25 cm. With a Inicial Superior or Infinita ticket, you can also take one large suitcase measuring 80 x 55 x 35 cm. The Infinita Bistró fare includes all of the above and also allows travel with one pet inside a carrier. |
---|---|
What food and drink is available? | iryo offers different menus with high-quality products in all classes. You can buy your favorite meal from their onboard restaurant/bar car, which is usually near car 2. If you’re traveling in the Infinita Bistró Class, you can enjoy the Infinita Bistró food service – your meal will be served straight to your seat. Please note that you’ll need to book your meal at least 24 hours in advance. |
What onboard entertainment is available? | You can enjoy free WiFi in all classes on iryo trains, as well as an onboard entertainment platform providing a wide selection of movies, TV series, live news and Spotify. |
What facilities are there for travel with children? | Kids aged 0-3 travel for free on all iryo trains. Kids aged 4-13 get a discounted ticket while those aged 14-18 need to pay the full price. Please note that kids aged under 18 need to be accompanied by their parents or legal guardians. |
Can I bring a bike on board? | You can take your bike on board iryo trains for free if it’s folded and does not exceed 90 x 120 x 40cm. Also, your bike must travel without the pedals and with the handlebar rotated 90 degrees. |
Can I bring pets on board? | iryo allows pets that do not exceed 10kg (22lbs) in weight, as long as they travel inside a carrier with a maximum size of 60 x 35 x 35cm (23.6 x 13.7 x 13.7 inches). You'll need to buy a ticket for your pet in advance. In addition, guide dogs can travel at no additional cost. |
What special assistance is available? | There are 2 seats for people with reduced mobility on iryo trains. Step-free access is also available both when boarding and when getting off the train. |
What baggage limits are there? | With AVE, you can travel with up to 3 pieces of baggage that do not exceed 290cm (114.1 inches) and 25kg (55.1 pounds). In total, the maximum measurements of each piece of baggage are 85 x 55 x 35cm (33.4 x 21.6 x 13.7 inches). Musical instruments also count as hand baggage as long as they do not exceed the dimensions 30 x 120 x 38cm (11.8 x 47.2 x 14.9 inches) and are stored in a case. |
---|---|
What food and drink is available? | If you’d like to stretch your legs and grab a coffee during your journey, AVE trains have an onboard dining car. If you’d prefer to stay in your seat, AVE staff will pass through each car with a food and drink cart. |
What onboard entertainment is available? | On AVE trains, you can take advantage of PlayRenfe – their free WiFi and entertainment pass. Giving you access to exclusive content and fast connection speeds, PlayRenfe can be downloaded from the app store on your phone. Once you’re connected, you can access the PlayRenfe portal, where you’ll find exclusive live sport, news, films and TV series. |
What facilities are there for travel with children? | Children under 3 years old travel for free with AVE, as long as they do not occupy a seat and have their free child ticket. Children from 3 to 14 years old can take advantage of a 40% discount on ticket prices. |
Can I bring a bike on board? | On all AVE trains, each passenger can take one bicycle or scooter on board, as long as it’s folded and carried inside a case. Also, the pedals must be removed and handlebars turned 90 degrees. Lastly, if the sum of the dimensions of the case is less than 180cm (70.8 inches), it's considered as hand luggage. However, if it’s bigger, it will be considered as special luggage (max dimensions 120 x 90 x 40 cm or 47.2 x 35.4 x 15.7 inches). |
Can I bring pets on board? | With AVE, you can travel with a pet as long as it weighs no more than 10 kg (22 pounds) and travels inside a cage or carrier that measures max 60 x 35 x 35 cm (23 x 13 x 13 inches). Your pet must have their own pet ticket, unless you’re traveling with a Premium ticket, in which case the pet ticket is free. Guide and assistance dogs travel for free. |
What special assistance is available? | AVE offer a free assistance and care service for people with reduced mobility. To request the service, passengers should contact AVE directly. |
What baggage limits are there? | One piece of hand baggage (36 x 27 x 15 cm) and one piece of cabin baggage (55 x 35 x 25 cm) can be taken onboard. You can take additional or larger bags with you (max. 30kg) for an extra fee or by paying for OUIGO Plus. |
---|---|
What food and drink is available? | On OUIGO trains in France: an at-seat service of snacks is available on Train classique services. This service is not available on high-speed OUIGO trains. |
What onboard entertainment is available? | WiFi (OUIFI) and an entertainment portal (OUIFUN) are available at an additional cost. |
What facilities are there for travel with children? | For OUIGO trains in France: Passengers under 12 years old pay a fixed price for tickets all year round - €5 for journeys on Train classique services, and €8 for high speed services. |
Can I bring a bike on board? | You can take your bicycle on board OUIGO trains if you add the 'Bike' option onto your ticket for an additional fee of at least €5. Your bike must be folded or dismantled and placed in a storage bag for transport. |
Can I bring pets on board? | Pets are only allowed on board OUIGO trains if the 'Pets' option is added to your ticket at the time of booking. (1 pet per adult, per booking, €10 per pet.) |
What special assistance is available? | For disabled passengers or those with reduced mobility, you can request assistance through 'Accès Plus'. With this service, a member of staff will meet you at the station and help you get to your seat on the train. To book assistance, contact Accès Plus after you book your tickets (and no later than 48 hours before your train is due to depart). |
What baggage limits are there? | You can take as much baggage as you like for free without making a reservation. Baggage items include briefcases, laptops, rucksacks, trolley bags or suitcases. You can also take pushchairs, folding bikes, scooters, skis and surfboards. Baggage should be stored under the seat or in the overhead baggage rack. The standard dimensions of baggage racks are 70 x 50 x 30 cm (27.5 x 19.6 x 11.8 inches). Larger items of baggage such as suitcases can be stored in the large baggage racks by the doors. |
---|---|
What food and drink is available? | When traveling with ICE, you can enjoy an extensive menu in the on-board restaurant, or you can grab a snack from the bistro carriage. If you choose the latter, you can enjoy your food and drink in the bistro or take it back to your seat. Upgrade to First Class and you will be served complimentary food and drink at your seat. DB change their menu every three months, but you will always find a wide variety of locally sourced food and drink, including a range of vegetarian and vegan dishes. |
What onboard entertainment is available? | If you’re traveling on an ICE train, you can connect to the free WiFi and catch up on some work or your favorite TV show. You can also connect to the ICE portal, where you’ll find a wide range of entertainment, such as films, television, audiobooks, games, newspapers and magazines. |
What facilities are there for travel with children? | On DB’s ICE trains, kids under 5 years old travel for free and don’t need a ticket. Children up to 14 years old travel for free if they are accompanied by a person who is at least 15 years old. You can also book family areas and children compartments on all ICE trains. |
Can I bring a bike on board? | With ICE, you need a bicycle ticket and reservation to take a bicycle onboard. The reservation for your bike is included in the price. Generally, bike storage spaces are located in second class carriages. Please note that your seat and bike storage space might be located in different carriages. |
Can I bring pets on board? | You can travel with your pet on all ICE trains. You do not need an extra ticket If you have a small dog and they can travel in a transport box. If your dog or pet is bigger than the size of a house cat, you will need an additional ticket, which costs 50% less than a standard ticket. Dogs not traveling in a transport box must be on a lead and wear a muzzle. Assistance dogs travel free of charge and do not have to wear a muzzle on the train. |
What special assistance is available? | DB’s Mobility Service can assist you with boarding, disembarking or changing trains. Also, staff are happy to answer any questions or assist with any queries to make your journey easier. |
For specific information about how to get your hands on cheap tickets, check out our European train tickets hub.