Back to overview
Historic site · Shamakhi

Diri Baba Mausoleum: the 1402 tomb built into a Maraza cliff

Maraza · about 1 hour 25 minutes from Baku

By Emin Abdulalimov

Diri Baba Mausoleum is a two-story rock-cut mausoleum-mosque set into a cliff at Maraza, in Azerbaijan's Gobustan district, on the Baku to Shamakhi road. A dated fragment records its construction in 1402 by order of Shirvanshah Ibrahim I, and it ranks among the finest works of the Shirvan architectural school. A grotto behind the tomb holds the reputed burial of the venerated sheikh known as Diri Baba.

The white two-storey Diri Baba Mausoleum set into a cliff at Maraza
Photo: Wikifex, CC BY-SA 3.0, via Wikimedia Commons
Fast facts
Region
Shamakhi
From Baku
95 km · about 1 hour 25 minutes
Best season
Spring to autumn
Time to spend
30 to 45 minutes
Entry
Small entry fee payable on site; confirm locally
What you see
  • The whitish stone chamber that reads as fused to the cliff, appearing to hang in the air
  • The two-story interior with squinches, an octagonal cupola and carved ornament
  • The rock grotto behind the tomb, the reputed burial of the sheikh
  • The old cemetery on the slope opposite the mausoleum

Drivers on the Baku to Shamakhi road often slow down at Maraza without quite knowing why. A small whitish building sits high against a cliff face above a gorge, looking less like it was built there than grown out of the rock. That is the Diri Baba Mausoleum, and the short climb up to it is one of the more rewarding stops on the western route out of Baku.

What is the Diri Baba Mausoleum?

It is a two-story mausoleum-mosque carved partly into and built partly against a cliff at Maraza. A decorative inscription set between the two floors records the year 805 of the Hijra, which corresponds to 1402, and ties the work to the reign of Shirvanshah Ibrahim I, the most prominent ruler of the Shirvan dynasty. Architectural historians count it among the finest surviving works of the Shirvan school. It is a recognised national monument, though it is not a UNESCO World Heritage Site and does not sit on the tentative list.

Where is it, and is it the same as Gobustan?

Maraza is the main town of Azerbaijan's Gobustan district, in the hills inland from Baku. This is a common point of confusion: the inland Gobustan district is not the Gobustan rock-art reserve, which lies south of Baku near the Caspian coast. They share a name and nothing else. The mausoleum is about 95 km from Baku, roughly an hour and twenty-five minutes by car, sitting right beside the main highway to Shamakhi.

Why is it built into the cliff?

The originality of the building is structural. The architect set the burial chamber directly against the rock so the whole structure seems to hang above the ravine, an effect that still surprises visitors who reach the top of the steps. Behind the tomb, a grotto cut into the cliff and reached through a narrow passage in the northern wall is the part local tradition treats as the real grave. The name Diri Baba means the living elder, after a sheikh whose body was believed to have stayed uncorrupted, and the grotto behind the tomb became a place of pilgrimage long before and after the 1402 building rose around it. The site appears in the accounts of early European and Ottoman travellers, including Adam Olearius and Evliya Çelebi.

What do you actually see there?

The visit is compact and rewards a slow look rather than a long one. You climb a short flight of steps to the chamber, take in the two-story interior with its squinches and octagonal cupola, and step through to the grotto behind. Outside, the old cemetery spreads across the slope opposite, its weathered headstones part of the same scene. Allow 30 to 45 minutes. The mausoleum works best on a clear day when the pale stone reads sharply against the cliff. It is a natural early stop on our 6-day Azerbaijan cultural tour, taken on the run west before Shamakhi and Sheki.

When should you visit, and what to pair it with?

Spring to autumn is the most comfortable window, when the road is clear and the gorge below is green. Because Maraza sits on the highway, the mausoleum is a 30-minute stop that adds almost no time to a day heading further west. The obvious pairing is the Juma Mosque of Shamakhi about 25 km on, one of the oldest mosques in the region. Together they make a logical first half of a Shamakhi or Sheki run, history above the road followed by history in the town.

Gallery
Diri Baba Mausoleum built into an ochre cliff with stone stairways below
Photo: Diego Delso, CC BY-SA 4.0, via Wikimedia Commons
White dome of Diri Baba Mausoleum beneath cliffs and a grassy hilltop
Photo: Diego Delso, CC BY-SA 4.0, via Wikimedia Commons
Stepped stone path leading up to the arched entrance of Diri Baba Mausoleum
Photo: Diego Delso, CC BY-SA 4.0, via Wikimedia Commons
Frequently asked
What is the Diri Baba Mausoleum?
It is a two-story stone mausoleum-mosque built into a cliff at Maraza, dated 1402 by a surviving inscription and commissioned under Shirvanshah Ibrahim I. A grotto behind the tomb is the reputed burial of a venerated sheikh, and the building is a noted example of the Shirvan architectural school.
Where is the Diri Baba Mausoleum located?
It stands at Maraza, the main town of Azerbaijan's Gobustan district, about 95 km from Baku on the road toward Shamakhi. Note this is the inland Gobustan district, not the Gobustan rock-art reserve south of Baku. The two share a name but sit in different parts of the country.
Is there an entrance fee?
A small entry fee is payable on site. Prices change over time, so confirm the current rate locally rather than relying on older figures online. The visit is short, usually 30 to 45 minutes, and the mausoleum sits just off the Baku to Shamakhi highway.
Why is it built into the rock?
The architect set the chamber directly against a cliff face so the building appears fused to the rock and almost suspended above the gorge. A grotto carved into the cliff behind the tomb, reached through a narrow passage, is the part treated as the sheikh's actual burial place.
Who was Diri Baba?
Diri Baba, meaning the living elder, was a venerated holy man whose name attached to the site. Local tradition holds his body stayed uncorrupted, and the grotto behind the tomb became a place of pilgrimage. The 1402 building was raised over and around that revered spot.
Can you visit it on the way to Shamakhi or Sheki?
Yes. Maraza sits directly on the Baku to Shamakhi road, so the mausoleum is an easy 30-minute stop without a detour. On a longer route to Sheki it pairs naturally with the Juma Mosque of Shamakhi further along, making a logical first half-day out of Baku.
Tell us about your program

Send a brief. Get a named human reply within 1 hour.

A short intake form: six fields, three required. Not a mailing list signup. A real account manager reads every one.

Email us directly