Skip to content
Baku Tours WhatsApp

Azerbaijan

Shamakhi

Ancient capital of the Shirvan region and the centre of Azerbaijan's wine country.

Photograph of Shamakhi — to be added

Shamakhi was for centuries the capital of the Shirvan state and remains one of the oldest continuously settled towns in the country. It sits about two hours west of Baku on the road toward Gabala, and it is the standard first stop on that route.

Its history is punctuated by earthquakes — the town sits in a seismically active zone and has been levelled repeatedly — which is why so little of the ancient city survives above ground.

The Juma Mosque

The town's landmark is the Juma Mosque, founded in 743 CE. That makes it one of the oldest mosque sites in the Caucasus and the second-oldest in the region after Derbent.

It has been destroyed and rebuilt many times — earthquakes in 1667, 1859, 1902 and 1918 among others. What stands today is a modern reconstruction on the historic footprint, with three domed prayer halls and twin minarets. The unusual three-hall layout is thought to follow the original eighth-century plan.

Shirvan and the Shirvanshahs

Shamakhi was the seat of the Shirvanshahs, one of the more durable dynasties in the Islamic world, before earthquake damage prompted the move to Baku in the fifteenth century — the move that produced the Palace of the Shirvanshahs.

The Yeddi Gumbaz, 'seven domes', are the ruined mausolea of the Shirvan khans on a hillside outside town. They are partly collapsed and atmospheric, and worth a short stop.

Wine country

The hills around Shamakhi are Azerbaijan's principal wine-growing region. Viticulture here is ancient — archaeological evidence for winemaking in the wider region runs back thousands of years — though the modern industry was largely rebuilt after the Soviet anti-alcohol campaigns of the 1980s damaged it badly.

Wineries along this route offer tastings and tours, and they are a standard stop on the Shamakhi and Gabala day. The Valley & Vineyard package is built around exactly this combination.

Highlights

  • Juma Mosque, a site in use since 743 CE
  • Yeddi Gumbaz — ruined mausolea of the Shirvan khans
  • Azerbaijan's principal wine region, with tastings
  • The former capital of the Shirvanshah dynasty

Tours that visit Shamakhi

Not included: Entry tickets to all attractions, museums, cable cars and activity venues · Hotel / accommodation · Meals & drinks. Entry tickets are set by government authorities or venue operators and are payable directly on-site.

Frequently asked questions

Is Shamakhi worth visiting?

As a stop on the road to Gabala, yes. The Juma Mosque has been in use since 743 CE, the Yeddi Gumbaz mausolea are atmospheric, and the surrounding hills are Azerbaijan's main wine region.

Can you do wine tasting in Shamakhi?

Yes — several wineries in the surrounding hills offer tastings and tours. It is best arranged in advance, so mention it when booking and we will build it into the day.

What to see in Shamakhi

Photograph of Shamakhi Juma Mosque — to be added

Shamakhi Juma Mosque

One of the oldest mosques in the Caucasus, founded in the 8th century and rebuilt many times since.

Included in 2 tours

Want Shamakhi on your itinerary?

We build private itineraries around the places you actually want to see. Tell us what interests you and we will price it per vehicle.

Or call +994 51 887 98 55 — 08:00 – 20:00, 7 days a week