Karamanli Mosque

Tripoli's most ornate mosque with tiled Ottoman interior

The Karamanli Mosque is probably the most splendid mosque in Tripoli's old medina. Built in 1738 by Ahmed Karamanli, the semi-autonomous Ottoman governor who founded a ruling dynasty, it sits near the castle at the entrance to the main souq. The interior is lavishly decorated with imported Italian tiles, carved stucco, and multiple small domes — a level of ornamentation unusual for North Africa and reflecting the wealth the Karamanli family extracted from piracy and trade.

The octagonal minaret is a local landmark. Ahmed Karamanli and several of his descendants are buried in a mausoleum attached to the mosque. The building is well-maintained and one of the few historic sites in Tripoli that visitors can reliably access.

things to do sight mosque
A story
Ahmed Karamanli, the mosque's founder, was a cavalry officer who seized power in Tripoli in 1711 by murdering the Ottoman garrison's officers at a dinner. He then established a semi-autonomous dynasty that ruled for 123 years. His descendant Yusuf Karamanli later triggered the First Barbary War with the United States, making this small mosque the starting point for one of America's earliest overseas military campaigns.