Skip to main content
Travnik — Bosnia's Ottoman vizier capital

Travnik — Bosnia's Ottoman vizier capital

Updated:

Discover Travnik & Jajce: Culture, Nature & History Await

Check availability

What are the highlights of Travnik?

Travnik's main highlights are the Šarena džamija (Colourful Mosque), the 15th-century fortress (Travnik Fortress), the old Ottoman bazaar quarter, the Ivo Andric birth house museum, and the natural spring of Plava Voda (Blue Water) on the edge of town. The town was the seat of Ottoman Bosnia's governors from 1699 to 1851.

Travnik is the most Ottoman town in central Bosnia and one of the most underrated towns in the country. In the 17th and 18th centuries it was the seat of Bosnia’s Ottoman governor — the most powerful man in the province — and the residence of foreign consuls from France and Austria. Today it is a quiet town of 25,000 people with a remarkable concentration of historical sites within a walkable compact centre.

Historical overview

Travnik entered Ottoman records after the conquest of 1463. It was initially a secondary town — Sarajevo, founded in the 1460s, outpaced it in size and importance through the 16th and 17th centuries. This changed in 1697. An Austrian military expedition under Prince Eugene of Savoy sacked Sarajevo in October of that year, burning the city and retreating before the Ottomans could counterattack. The disaster was not total — the Gazi Husrev-beg Mosque and parts of the bazaar survived — but it was severe enough to make Sarajevo temporarily unsuitable as a seat of government.

The Ottoman governor (valiye, later vizier) moved to Travnik, which offered better natural defences in a valley of the Lašva river. Between 1699 and 1851, 77 consecutive Ottoman governors ruled Bosnia from Travnik. The town’s fortunes rose: mosques were built, caravanserais established, an active diplomatic community developed. The presence of French and Austrian consulates during the Napoleonic period made Travnik briefly a cosmopolitan place — an anomaly in the mountains of central Bosnia.

Ivo Andric captured this period in his novel Bosnian Chronicle (also published as The Days of the Consuls), set in Travnik between 1806 and 1814. The novel depicts the tensions and absurdities of the consular competition in a provincial Ottoman town.

The Šarena džamija (Colourful Mosque)

The Šarena džamija (or Sulejmanija džamija, from its formal dedication to Sultan Suleiman) is Travnik’s most photographed building. Built in 1757 and renovated in the early 19th century, its exterior walls carry painted floral and geometric ornament in layered ochre, red, green and blue patterns. The style is unusual: most mosques reserve elaborate decoration for interiors, keeping exteriors relatively plain. The Šarena džamija breaks this convention in a style that blends Ottoman baroque with regional folk ornament.

The mosque is active and can be visited outside prayer times. The interior is plainer than the exterior — a single prayer hall with wooden galleries and a painted ceiling. Entry is free; women should bring a scarf.

The setting enhances the visual effect: the mosque stands in a small courtyard with a fountain (šadrvan), with green hillsides behind and the Lašva river audible nearby. Morning light catches the painted exterior at its best.

The fortress

Travnik’s fortress, perched on a rocky promontory above the old town, dates from the 15th century and was extended and reinforced throughout the Ottoman period. The outer walls are partly ruinous; the inner citadel is better preserved. A small museum within the fortress covers local history.

The climb to the fortress entrance takes about 10-15 minutes from the town centre, following a path through the old quarter. The view from the ramparts over the town and valley is excellent. Entry is modest (about 3-4 BAM).

A guided tour covering Travnik and Jajce: culture, nature and history combines the main sites of both towns in a single well-paced excursion from Sarajevo, allowing you to see both the mosque and fortress at Travnik and the waterfall and fortress at Jajce.

The Ivo Andric birth house

Ivo Andric was born at 13 October Street (then a different address) in Travnik in 1892. The building has been converted into a small museum with exhibits on his life, the Travnik years and his later literary career. There are photographs, manuscripts and personal objects. The house itself is modest — Andric’s family was not wealthy — but it is authentically preserved.

Andric was a complicated figure: a Bosnian Catholic who identified with Yugoslav unity and who wrote in Serbian. His novels on Bosnia were widely admired internationally but read by some Bosniak scholars as presenting Muslims in a negative light. The museum does not engage with this controversy; it presents Andric as a great writer, which he undeniably was. Entry is approximately 3 BAM.

Plava Voda (Blue Water)

On the western edge of Travnik, the Plava Voda is a karst spring — a small river emerging from the hillside in a series of cascades over a distance of about 200 metres before joining the Lašva. The water is very clear and very cold (around 10°C year-round). Several restaurants and kafana are built directly on the water’s edge, with tables extending over the stream.

A meal here — grilled trout, roasted lamb or the local speciality of Travnik cheese (Travnički sir, a soft fresh cheese similar to feta) — is one of the better food experiences in central Bosnia. A full lunch runs about 20-30 BAM per person. The setting is cool and green; on hot days it is noticeably cooler than the town centre.

Practical information

Distance from Sarajevo: About 90 km, 1h15-1h30 by car. Take the main M17 road north-west; the road is good and mostly dual-carriageway near Sarajevo.

By bus: Buses from Sarajevo’s main bus station to Travnik run approximately every 1-2 hours. Journey time about 1h30. The bus station in Travnik is central.

From Mostar: Travnik is about 90 km from Mostar — approximately 1h30 by car via Jablanica and the M17.

Time needed: Two to three hours covers the main sites. Add a meal at Plava Voda and allow half a day.

Combining with Jajce: Jajce is 30 km east of Travnik (40 minutes by car). The combination is a natural full day from Sarajevo. See the Jajce and Travnik day trip guide for the optimum sequence and tour options.

Currency and costs: Travnik is inexpensive even by Bosnian standards. The Šarena džamija is free; the fortress costs about 3-4 BAM; the Andric museum about 3 BAM. A full lunch at Plava Voda costs 20-30 BAM per person.

For the full context of Ottoman heritage across Bosnia, see the Ottoman heritage guide, which places Travnik alongside Sarajevo, Mostar and Višegrad.

Frequently asked questions about Travnik — Bosnia's Ottoman vizier capital

Why was Travnik the capital of Ottoman Bosnia?

Sarajevo was the traditional capital but was sacked by Austrian troops in 1697. The governor (vizier) moved to Travnik, which was more defensible and less exposed. Travnik remained the vizier's seat from 1699 until 1851, when the administration moved back to Sarajevo under Ottoman reform.

What is the Šarena džamija?

The Šarena džamija (Colourful Mosque) was built in 1757 and renovated several times. It is the most visually striking mosque in central Bosnia: the exterior walls are decorated with painted floral and geometric ornament in ochre, red, green and blue — unusual for Islamic architecture, which generally reserves decoration for interiors.

Was Ivo Andric born in Travnik?

Yes. Ivo Andric was born in Travnik on 9 October 1892. The house where he was born is now a small museum. Andric's novel Bosnian Chronicle (1945), also known as The Days of the Consuls, is set in Travnik during the Napoleonic period, when French and Austrian consuls were stationed there.

How far is Travnik from Sarajevo?

Travnik is about 90 km north-west of Sarajevo, roughly 1h15-1h30 by car on the M17 road. Buses run from Sarajevo to Travnik several times a day.

Can I combine Travnik and Jajce in one day?

Yes — this is the classic central Bosnia day trip. Travnik and Jajce are 30 km apart (about 40 minutes by car). Allow 2 hours in Travnik and 2-3 hours in Jajce. The [Jajce and Travnik day trip guide](/guides/jajce-travnik-day-trip-guide/) gives a full itinerary.

Top experiences

Bookable activities with verified prices and instant confirmation on GetYourGuide.