Shamakhi tours from Baku reach one of Azerbaijan's oldest towns in under two hours — the former capital of the Shirvanshahs, its 8th-century Juma Mosque, and the hill country where the road begins its climb into the Greater Caucasus. Every tour below includes hotel pickup, transport and a guide.

How far is Shamakhi from Baku?

125 km, about an hour and three quarters each way on a good road. That is roughly the halfway mark on the drive to Gabala (225 km), which explains why Shamakhi appears on so many itineraries: it is the natural first stop on the way north-west rather than a place you give a whole day to. From Heydar Aliyev Airport it is 135 km, a little under two hours.

What there is to see

  • The Juma Mosque — the main reason to stop. First founded in the 8th century and carefully restored, it is one of the oldest mosques in the entire Caucasus, and it stands among quiet hills rather than in a busy town centre.
  • The Shirvanshah capital — Shamakhi was the seat of the Shirvanshah dynasty long before Baku was, and the hillside shrines and old cemeteries around the town are what survive of it.
  • The Yeddi Gumbaz mausoleum — the "seven domes", burial place of the Shirvan khans. We include it on private itineraries only, where there is time to give it a proper stop.
  • The alpaca farm — a working farm in the Shamakhi hills, and the one thing here that is a destination in its own right rather than a stop along the way. A particular hit with children.
  • The road itself — climbing out of the Caspian lowland into the foothills is a real part of the day, and beyond Shamakhi it runs on through the Ismayilli forest and across the Zernava suspension bridge if you continue toward Gabala.

Ways to see Shamakhi

  • In one day, with Gabala: the Gabala & Shamakhi day tour — the Juma Mosque first, then the Zernava bridge, the Seven Beauties waterfall and the Tufandag cable car. This is the trip most people book.
  • Shamakhi at an easy pace: the alpaca farm tour is a private half-day in the Shamakhi hills, and the only tour here that does not carry on to Gabala.
  • Over two days: the Gabala & Sheki 2-day tour takes the same Shamakhi road on day one and sleeps in Sheki for the UNESCO Khan's Palace; the Gabala horse riding 2-day tour swaps day two for the Laza trails.
  • As part of a longer trip: the 5-day Azerbaijan tour covers Shamakhi and Gabala on day three, then Sheki and the Shahdag mountains.

Can you visit Shamakhi on its own?

You can, but we would usually talk you out of it. There is perhaps an hour and a half of sightseeing in the town against three and a half hours in the car, which is why every guided tour we run pairs Shamakhi with Gabala or Ismayilli instead of turning back. The exception is the alpaca farm, which is a destination in itself and works well as a half-day. If you do want Shamakhi alone, a private transfer lets you set your own schedule.

When to go

Shamakhi sits higher and cooler than Baku, so summer here is comfortable when the city is not. Spring and autumn are the best of the year — green hills in May, warm colour in October, and far fewer people at the mosque. Winter is quiet and genuinely cold, and snow occasionally affects the higher stretches of the road on toward Gabala; we will tell you before your date if conditions have changed.

Tour or private transfer?

A guided tour includes the driver, the guide and a planned route, and is the better choice if you want the Shirvanshah history explained rather than just photographed. A private Baku to Shamakhi transfer is priced by the journey rather than per seat, which suits a family with luggage, anyone staying at a hotel in the region, or a day where you would rather stop when you feel like it. Both are bookable here.

Still deciding? Compare all day trips from Baku, browse our Gabala tours, or message us on WhatsApp and our local team will help you plan.

Our tours

Alpaca Farm Tour from Baku

Alpaca Farm Tour from Baku

★★★★★ ★★★★★ 4.9 (22)
  • 6-7 hours
  • Max 12
  • Hotel pickup
Gabala & Shamakhi Day Tour

Gabala & Shamakhi Day Tour

★★★★★ ★★★★★ 5.0 (40)
  • 12 hours
  • Max 18
  • Group & private
Gabala Sheki 2-Day Tour from Baku: Shamakhi, Waterfalls & Khan's Palace

Gabala Sheki 2-Day Tour from Baku: Shamakhi, Waterfalls & Khan's Palace

★★★★★ ★★★★★ 5.0 (3)
  • 2 days / 1 night
  • Max 18
  • Group
Gabala Horse Riding 2-Day Tour from Baku: Shamakhi, Waterfalls & Laza

Gabala Horse Riding 2-Day Tour from Baku: Shamakhi, Waterfalls & Laza

★★★★★ ★★★★★ 5.0 (2)
  • 2 days / 1 night
  • Max 8
  • Group
5-Day Azerbaijan Tour from Baku: Shamakhi, Gabala, Guba & Sheki

5-Day Azerbaijan Tour from Baku: Shamakhi, Gabala, Guba & Sheki

★★★★★ ★★★★★ 5.0 (43)
  • 5 days / 4 nights
  • Max 15
  • Group
  • Hotel pickup

Compare tours: prices & duration

Tour Duration Type From Rating
Alpaca Farm Tour from Baku 6-7 hours ₼ 200 ★ 4.9 (22)
Gabala & Shamakhi Day Tour 12 hours ₼ 79 ★ 5.0 (40)
Gabala Sheki 2-Day Tour from Baku: Shamakhi, Waterfalls & Khan's Palace 2 days / 1 night ₼ 250 ★ 5.0 (3)
Gabala Horse Riding 2-Day Tour from Baku: Shamakhi, Waterfalls & Laza 2 days / 1 night Group ₼ 350 ★ 5.0 (2)
5-Day Azerbaijan Tour from Baku: Shamakhi, Gabala, Guba & Sheki 5 days / 4 nights shared ₼ 360 ★ 5.0 (43)

Frequently asked questions

How far is Shamakhi from Baku?

About 125 km, or an hour and three quarters each way by road. That is roughly halfway to Gabala, which is why most itineraries treat Shamakhi as the first stop on the way north-west. From Heydar Aliyev Airport it is 135 km.

Can I visit Shamakhi as a day trip on its own?

You can, but there is around an hour and a half of sightseeing in the town against three and a half hours of driving, so every guided tour we run pairs Shamakhi with Gabala or Ismayilli. The alpaca farm is the exception — it is a destination in itself and works as a private half-day.

What is Shamakhi known for?

It was the capital of the Shirvanshahs long before Baku, and its Juma Mosque — first founded in the 8th century — is one of the oldest in the entire Caucasus. The hills around the town hold shrines and old cemeteries from the same period.

Can I combine Shamakhi with Gabala or Sheki?

Yes, and most people do. The Gabala & Shamakhi day tour covers both in one day; the Gabala & Sheki 2-day tour follows the Shamakhi road and overnights in Sheki; and the 5-day Azerbaijan tour takes in Shamakhi, Gabala, Sheki and the Shahdag mountains.

Is hotel pickup included?

Yes. Every tour on this page includes pickup from your Baku hotel, transport and a guide, so there is nothing to arrange locally.