Home › Routes › Dubrovnik to Sarajevo
How to get from Dubrovnik to Sarajevo
Buses from Dubrovnik take about 5 h 30 – 7 h to Sarajevo, either via Mostar or via Trebinje, for roughly €25–40. Driving takes about 4 h 30 – 5 h; a scenic alternative is a bus to Mostar and the train from Mostar to Sarajevo.
Best option: Bus. Direct buses avoid changes and cross-border rental-car paperwork.
All the ways to make the trip
| How | Time | How often | Price* | Good to know |
|---|---|---|---|---|
| bus International buses run by several companies from Dubrovnik bus station (Gruž) to Sarajevo, via Mostar or via Trebinje | about 5 h 30 – 7 h including the border | one to a few departures a day | about €25–40 | Sarajevo has two bus stations; check which one your bus uses. |
| car Via Metković and Mostar along the Neretva valley (M17) | about 4 h 30 – 5 h | fuel only | Your rental must allow Bosnia and Herzegovina; the road through the Neretva canyon is winding. | |
| train Bus from Dubrovnik to Mostar, then the train from Mostar to Sarajevo | about 3 h – 4 h by bus plus about 2 h by train | trains only a couple of times a day | bus about €20–30, train about €7–10 | The train line through the Neretva valley is scenic; check current timetables. |
*Approximate prices and times for 2026. Timetables change by season: check with the operator before you travel.
Open the route in Google Maps →
Book the trip
Partner links: TonyPlan may earn a small commission at no extra cost to you.
Tips
- Carry your passport: you cross the EU's external border.
- Breaking the trip in Mostar turns a long ride into two easy days.
- Bosnia and Herzegovina uses the convertible mark (BAM).
- Sarajevo's main bus station is next to the railway station; the other one is in Lukavica.
Common questions
How long is the bus from Dubrovnik to Sarajevo?
About 5 h 30 to 7 hours, depending on the route and border queues. Buses go either via Mostar or via Trebinje. There are only one to a few departures a day, so check the current timetable and buy tickets at Dubrovnik bus station or online.
Is there a train from Dubrovnik to Sarajevo?
No, Dubrovnik has no railway. You can take a bus to Mostar and then the train from Mostar to Sarajevo, which runs along the Neretva valley in about 2 hours. Trains run only a few times a day, so check the timetable.
Can I drive from Dubrovnik to Sarajevo?
Yes, about 4 h 30 to 5 hours via Metković and Mostar. Tell your rental company in advance: most allow Bosnia and Herzegovina for a fee and give you the insurance document for the border. Roads in the Neretva canyon are winding, so avoid driving tired or after dark.
Should I stop in Mostar on the way?
It is a good idea. Mostar sits roughly on the way and is worth an afternoon or overnight stay for the Old Bridge and old bazaar. Splitting the journey there makes two shorter, easier days, and the Mostar–Sarajevo train is a pleasant second leg.
Compiled by TonyPlan from operator and transport information and travel knowledge; updated 2026-10-05. Anything we could not confirm is marked as approximate.