Trains in Bosnia and Herzegovina: what actually runs
Are there useful train routes in Bosnia and Herzegovina?
Only two matter for visitors: Sarajevo–Mostar–Čapljina (about 2h40, around 12 KM, twice daily) and Sarajevo–Banja Luka (one daily departure, slower than the bus). Buy tickets at the station on the day of travel; there is no reliable online booking system.
Two lines, and that is nearly the whole network
Bosnia and Herzegovina’s railway system was never rebuilt to its pre-war extent, and today it runs two passenger routes that matter to a visitor based in Sarajevo: south-west to Mostar and Čapljina, and north-west to Banja Luka. That is genuinely the full list. There is no train to Trebinje, none to Višegrad, none to the coast, and none that shortcuts the bus network for day trips to Konjic, Jajce, or Travnik. If you came here expecting a rail pass and a network map worth studying, put that idea away: in Bosnia, buses in Bosnia and a rented car are how almost everyone actually gets around, and the train is a deliberate choice for one journey in particular, not a default.
That one journey, Sarajevo to Mostar, is worth knowing about in detail, because it is genuinely one of the more scenic stretches of railway in Europe and costs next to nothing. The Banja Luka route exists and is usable, but it is slower than the alternative and carries less reason to choose it over a bus. This guide sets out timetables, prices, where to buy tickets, and when the train is the wrong choice entirely.
Sarajevo to Mostar and Čapljina: take it for the view
Two trains run daily each way between Sarajevo and Mostar, continuing on to Čapljina. The journey takes around 2h40, cutting through the Neretva river gorge for a long stretch south of Konjic: limestone walls close in on both sides, the river turns an improbable turquoise-green below the tracks, and the line crosses it repeatedly on old bridges and through short tunnels. It is slow travel in the literal sense, and that is the appeal. Locals and rail enthusiasts alike rate it among the more scenic rail journeys in Europe, and unlike most such claims, this one survives a window seat.
A one-way ticket costs around 12 KM, close to 6 euros at Bosnia’s fixed 1.95583 KM to 1 EUR peg. There is no seat reservation system to fight with and no online booking to attempt: buy your ticket at the window in Sarajevo’s railway station on the day you travel, or the evening before if the timetable makes you nervous. Carriages are older, unreserved, and rarely full outside the height of summer, so arriving 20 to 30 minutes ahead of departure is enough.
Be clear-eyed about the trade-off. The equivalent bus or shared minivan from Sarajevo to Mostar takes about 2h15, noticeably faster than the train’s 2h40, and buses run far more frequently throughout the day. If your only goal is to get to Mostar and start exploring the Stari Most and the old town, the bus wins on every practical measure. Take the train specifically because you want the ride itself, not because it is the efficient option. For the destination itself, see our dedicated guide to Sarajevo to Mostar transport, which compares train, bus, and organised day trip side by side.
Sarajevo–Mostar–Čapljina at a glance
| Detail | Train | Bus |
|---|---|---|
| Frequency | 2 departures daily | Roughly hourly in season |
| Journey time | About 2h40 | About 2h15 |
| One-way price | Around 12 KM (~6 EUR) | Similar or slightly higher |
| Booking | Station window, same day | Station window or online reseller |
| Why choose it | The Neretva gorge scenery | Speed and frequency |
Sarajevo to Banja Luka: the long way around
The second passenger line runs once a day from Sarajevo to Banja Luka, Bosnia’s second city and the administrative centre of Republika Srpska, roughly 230 km and 3h30 away by road. The train takes noticeably longer than the direct bus, working its way north-west through Zenica and a string of smaller towns rather than following the more direct highway corridor a coach uses. There is only the one daily departure in each direction, so if you miss it, the bus is your only same-day option regardless of preference.
The scenery is pleasant rather than dramatic: river valleys, forested hills, small industrial towns that show the country’s less-visited working landscape. It does not have the singular drama of the Neretva gorge run to Mostar. Take this train if you specifically enjoy rail travel, are not in a hurry, or want to see a slice of central Bosnia that the highway bypasses. Otherwise, the bus to Banja Luka is the more practical choice, and it is what most travellers and locals actually use.
Buying tickets: no online booking, and that is fine
This is worth repeating because visitors keep searching for it and coming up empty: there is no dependable website for booking Bosnian train tickets in advance. The national and Federation railway operators do not run consumer-facing online sales, and third-party booking sites that claim to sell Bosnian rail tickets are unreliable at best. This is not a gap that needs a workaround.
In practice, buying a ticket is simple and low-stress. Go to the ticket window at Sarajevo’s railway station, say your destination and date, and pay in cash — cards are not guaranteed to work at every window, and money and currency in Bosnia is worth reading if you have not sorted out KM cash yet. Trains are rarely full outside the peak of summer, so buying on the morning of travel is usually fine; if you are travelling in July or August, or on a specific date you cannot move, buying the ticket the evening before removes any doubt. There is no seat reservation to select and no fee for buying close to departure, unlike the online-surcharge games some European rail operators play.
Where the station actually is
Sarajevo’s railway station, Željeznička stanica, sits near Marijin Dvor, a few minutes by tram from the city centre and a separate building entirely from either of the two intercity bus stations. That distinction trips people up: Sarajevo runs two coach stations depending on which entity your onward bus serves, a quirk covered in getting to Sarajevo, but the railway station is its own single building and does not split by route.
If you are coming from the airport, see Sarajevo airport to city centre for the fastest way in before connecting to a train. Trams on Sarajevo’s tram network run close to the station, and a taxi from most central hotels takes only a few minutes; see taxis in Sarajevo for fair prices if you would rather not walk with luggage.
Where the train will not take you
Be honest with yourself about the limits of Bosnia’s rail network before you build a trip around it. There is no train to Trebinje, none to Višegrad, none to Konjic, Jajce, or Travnik, and no direct rail connection to the Croatian coast or to Dubrovnik. For all of those, the country runs on buses and cars. Driving in Bosnia and car rental in Sarajevo open up the mountain villages and day trips that the railway simply does not reach, while buses in Bosnia covers the wider intercity network that fills every gap the two train lines leave.
If your itinerary includes Jajce and Travnik, a Jajce and Travnik day trip by car or organised tour is the only realistic option; the train does not go there at all. The same applies to onward travel toward Serbia or Croatia: see Sarajevo to Belgrade and Zagreb and Sarajevo to Dubrovnik transport for the bus and transfer options that actually exist, since no rail line runs in either direction.
For the coast specifically, a guided transfer is often the simplest fix: an one-way tour from Sarajevo to Dubrovnik via Mostar combines the Mostar stop most travellers want with a door-to-door coastal drop-off the railway cannot provide, and it runs the other direction too, as a private excursion from Dubrovnik to Sarajevo for anyone based on the coast and heading inland.
Making the most of the Mostar train day
If you do take the train to Mostar, treat the journey itself as the point rather than a means to an end. Sit on the right-hand side heading south from Sarajevo for the best views of the Neretva gorge as the line threads through it after Konjic. Bring water and something to eat, since the onboard offering is minimal to non-existent. Once in Mostar, the Stari Most and old town are a short walk from the station, and a full day is enough to see the bridge, the old town, and a meal before catching a train or bus back; our Mostar day trip from Sarajevo guide lays out a full day plan whichever transport you use to get there.
For a different kind of Sarajevo day before or after a train trip, a guided hike through Sarajevo’s traditional mahala neighbourhoods covers the steep, old residential quarters above Baščaršija that most visitors never reach on foot alone, and pairs well with an early or late train departure since it starts from the centre.
The honest verdict
Bosnia’s railway is not a transport network in the sense most European visitors expect: it is two lines, a handful of daily departures between them, tickets bought in person, and nothing resembling a national timetable worth planning a multi-stop trip around. For getting anywhere in the country efficiently, the bus and the car do the job the train cannot.
But the Sarajevo–Mostar–Čapljina run earns its reputation. Two and three-quarter hours through the Neretva gorge for the price of a coffee and a sandwich is a genuinely good use of a morning, and it is one of the few times in Bosnia where the slower option is also the better one. Take the bus if you need to be in Mostar by a certain hour. Take the train if you have the time and want the window seat.
Trains in Bosnia and Herzegovina: frequently asked questions
Can I book Bosnian train tickets online in advance?
Not reliably. Bosnia’s national and Federation railways do not run a functioning international booking site, and third-party resellers are inconsistent. Buy your ticket at the station ticket window on the day, or at most the evening before if you want to check the timetable in person.
Is the train to Mostar faster than the bus?
No. The train takes about 2h40 against roughly 2h15 by bus or shared minivan. Choose the train for the Neretva gorge scenery, not for speed.
How much does the Sarajevo to Mostar train cost?
Around 12 KM one way, close to 6 euros at the fixed 1.95583 KM to 1 EUR rate. Prices are similar for the return leg and there is no online surcharge to avoid, since there is no online sale.
Does the train go from Sarajevo to Dubrovnik or the coast?
No direct rail link exists between Sarajevo and the Croatian coast. Travel to Čapljina or Mostar by train, then continue by bus, transfer, or a booked coastal transfer for the final stretch.
Are there trains from Sarajevo to Trebinje or Višegrad?
No. Bosnia’s passenger network covers Sarajevo–Mostar–Čapljina and Sarajevo–Banja Luka and almost nothing else. Trebinje, Višegrad, Konjic day trips, and most of the country are bus or car territory.
Which station do trains leave from in Sarajevo?
Sarajevo’s railway station (Željeznička stanica), on the Federation side near Marijin Dvor, a few minutes by tram from the centre. It is a different building from either of the two intercity bus stations, so check you have the right address before you go.
Is the Sarajevo to Banja Luka train worth taking?
Only if you specifically want the train experience or dislike buses. It takes noticeably longer than the bus, runs once a day, and the Banja Luka line has less obvious drama than the Neretva route to Mostar.
Do I need to reserve a seat on Bosnian trains?
Not usually. Trains are rarely full, carriages are older and unreserved, and you buy your ticket and pick a seat at the station on the day. Arrive 20 to 30 minutes early in high season to be safe.
Transport passes & transfers on GetYourGuide
Verified deep-linked GetYourGuide tours. Book through these links and we earn a small commission at no cost to you.
GetYourGuide does not provide a product photo for this activity — the image shows the meeting point, photographed by us.


