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.

136 km apart (straight line)Day trip: noBus · Car · Train

Best option: Bus. Direct buses avoid changes and cross-border rental-car paperwork.

All the ways to make the trip

HowTimeHow oftenPrice*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 borderone to a few departures a dayabout €25–40Sarajevo 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 hfuel onlyYour 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 traintrains only a couple of times a daybus about €20–30, train about €7–10The 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

Hire a carPick up in DubrovnikBook a transferDoor to door on arrivalHotels in SarajevoCompare prices for your dates

Partner links: TonyPlan may earn a small commission at no extra cost to you.

Tips

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.

Sarajevo travel guideHow many days in SarajevoWhere to stay in SarajevoDubrovnik travel guide

Compiled by TonyPlan from operator and transport information and travel knowledge; updated 2026-10-05. Anything we could not confirm is marked as approximate.

Some links on this page are partner links. If you book through them TonyPlan earns a small commission — the price you pay is exactly the same.