Shamakhi
The old Shirvan capital in the hills west of Baku, with a mosque founded in the eighth century and an observatory above the town.
Saved in this browser only - no account, nothing sent anywhere. See your map
Shamakhi was the capital of the Shirvanshahs for centuries and was destroyed by earthquakes repeatedly, which is why an old capital has so little old fabric. The Juma Mosque claims a foundation in 743, making it among the oldest in the Caucasus, though what stands is a modern rebuilding on the ancient plan after the last collapse. Above the town on the Pirqulu ridge is the Shamakhi Astrophysical Observatory, and the surrounding hills are the country's main wine district.
What you actually see
- The Juma Mosque - founded in 743 and rebuilt after repeated earthquakes, on the original three-hall plan.
- The Yeddi Gumbaz - seven domed tombs of the Shirvan khans on a hillside above the town.
- The observatory - the astrophysical observatory on the Pirqulu ridge, visited by arrangement.
- The vineyards - the surrounding hills, the centre of Azerbaijani wine production.
When to go
April to October is comfortable, with the grape harvest in September and October. The hills are cooler than Baku through the summer, which is why the road is busy at weekends. Winter brings snow to the ridge.
Honest expectations
Very little genuinely old survives, and visitors expecting a historic capital will find a modern town. The mosque is a reconstruction, however ancient the foundation. The observatory needs arranging in advance and is not a walk-in.
Nearby
The Diri Baba mausoleum is at Maraza on the road back to Baku, and Lahij is north in the mountains.
What to pack for Shamakhi
Chosen from what this place is for. Tap a kit for the full checklist.
Opening times, ticket prices and seasonal closures change - check the official source before you go: official site.