The most popular route from Zagreb, the capital of Croatia, to Sarajevo is the A3/E70 Highway, which runs between Zagreb and Lipovac. You’ll get off at the exit for Slavonski Brod, which is on the Croatia-BiH border, and when you cross over to the BiH side, you’ll have reached the town of Brod.
Continue along the road to Derventa and Doboj by taking Route 17-2 until it joins Route E73. You’ll reach Zenica via Maglaj and Žepče. After Zenica you’ll continue on the highway to Sarajevo. If you enter town from the west, you’ll pass through Vogošća and if you enter from the south, you’ll pass through Rajlovac. The entire journey takes about five hours and thirty minutes.