• 81 read by
  • 11.08.2025 16:31

When I say there's a mosque in Azerbaijan built almost at the same time as the Great Umayyad Mosque in Damascus, some of you may not believe me.

You’re right.

Indeed, until recently, I could hardly believe it myself.

But believe it or not, built a little after the 7th century, Juma Mosque of Shamakhi is really old, along with everything about it.

So, if you'd like to come with me on the journey to this ancient place of prayer, you'll learn:

The history of the mosque;

Its architecture;

Rumors;

Tips for traveling there, a pinned map of it, etc.

Let’s begin.

Lightning Fast and Hassle Free Planning
Get custom itinerary, exclusive offers, and unforgettable experiences!
or

A Brief History of the Shamakhi Juma Mosque

Needless to say, everyone knows that Shamakhi, one of the oldest cities in Azerbaijan, holds a special place in history.

Therefore, in a city with a 2000-year history, the appearance of the oldest mosque in the Caucasus shouldn't be that surprising.

It's true that others consider the Derbent Juma Mosque in the South Caucasus, Russia, to be a few years older.

But that is not the matter at the moment.

Finished in 744, Juma Mosque Shamakhi constructed during the Umayyad Caliphate's reign, by order of an early Islamic Caliph.

Namely, Caliph Walid ibn Abd al-Malik.

Throughout the Mosque's existence, there’ve been several devastations and reconstruction works over centuries owing to historical and natural factors.

Some of the factors that caused the destruction of the Juma Mosque in Shamakhi are:

  • 11th-century – Seljuk invasion: Also rebuilt during the Seljuk, it brought Persian and Central Asian architecture.

  • 1192 – Initial major earthquake: The magnitude’s estimated at І0 = 8 points of the 12-point MSK-64 scale. Apart from that, earthquakes in 1667, 1859, 1872 and 1902 leveled Shamakhi to the ground each time and took thousands of lives.

  • 13th-century – Mongol invasions

  • 17th-century – Safavid-Ottoman conflicts

  • 1724 – Russian invasion

  • 1918 – Armenian Dashnak attack

As you see, the most devastating destructions inflicted by the earthquakes and reconstructed many times by the famous architects like: 

Gasim bey Hajibababeyov, Zivar bay Ahmadbayov and Józef Płoszko.

Shamakhi Juma Mosque's collapse after the earthquake in 1902.

On May 17, 2013, the last major restoration of the Shamakhi Mosque took place. 

With the preservation of all the old architectural features.

Eye-Brightening Architecture of Shamakhi Juma Mosque

Despite the fact that Juma Mosque Shamakhi's passed through dozens of hard times, it's still distinguished by its great architecture.

Like the Palace of Shaki Khans in the northeast part of Azerbaijan.

The architectural design of this masterpiece is mainly reminiscent of several early Islamic mosques.

Juma Mosque Shamakhi frontal view on a grey, cloudy day.

You can feel the Umayyad style of architecture at first glance, similar to other mosques around the globe.

For example, certain similarities exist between the Córdoba Mosque-Cathedral in Spain and the Shamakhi Mosque in Azerbaijan.

Even though, there’re also tremendous differences due to regional impacts and historical contexts.

Nonetheless, as an example, I can say that both have large worship areas supported by hundreds of columns, and the primary building material is stone.

Also as a result of dividing the interior into three spaces, it bears some resemblance to the mosques and prayer halls of 11th and 12th century Central Asia.

Shamakhi Juma Mosque Central Asian-style interior.

In the ancient recollections and diaries of most travelers, like Ibn Battuta (14th century), the mosque is recounted in all its beautiful details.

Unfortunately, history’s not so kind to Juma Mosque Shamakhi.

However, today:

Not a single fragment of the ancient architectural composition's missed, and it's still indistinguishable from how it's 1,300 years ago.

It must be seen to be believed, especially if done in combination with hearing the ancient stories about it.

Old Popular Rumors about the Juma Mosque of Shamakhi

It's not surprising that there're legends about the building, which's once the biggest mosque in Azerbaijan and which's survived so many disasters.

I'd like to mention some popular rumors about the Juma Mosque of Shamakhi among locals.

Although there's no equivalent for such things today, people once embraced them.

Let’s see some of these myths.

#1. Mosque Built on a Sacred Spot in Shamakhi

According to local belief, the site of Shamakhi Juma Mosque was chosen on a sacred sign. 

The story goes that one night, when the mosque was to be built, there was an unfamiliar light over the site. 

Assuming it to be a divine signal, the builders were convinced by the darkness of the night to construct the mosque at the very site.

#2. Unbreakable Columns of the Mosque

There's another myth that during various invasions and earthquakes, most parts of the mosque're demolished.

However, some of its pillars always remained upright.

Yes, that’s right.

Because of this, people believe that these pillars were blessed. 

They’re convinced that no matter what damage’s come to the mosque, there’ll be remnants that remain intact.

#3. Prayers That Echo Through Time

This one might be a bit scary.

It's rumored that if you pray alone inside the Shamakhi Juma Mosque at night, you can hear whispers of old prayers inside the walls. 

Some claim they're the voices of the first worshippers, while others claim they're imams' ghosts from the past still guarding the mosque.

Visit Juma Mosque Shamakhi: Helpful Tips

I’d definitely recommend visiting and exploring this historic structure.

Because it’s the number one thing to do in Shamakhi.

But before visiting it, you should know these:

Juma Mosque Shamakhi is an active house of prayer.

So it's better to visit there during the non-prayer hours so that you can appreciate its beauty without interrupting the worshippers.

Visiting generally in the early morning or late afternoon will give you a more peaceful experience.

Up to the latest information available to me, there is no entry fee for tourists to see the mosque.

That is to say that you’re free to take a tour of the mosque.

Other than that, the only advice I can give you is to wish you a good and safe trip.

And one more thing: check out the pinned map to see exactly where it is.

Need help planning your Azerbaijan adventure? Then reach out to us at this number » +994 992 72 22 27.

Leave a Comment

Related Posts

The blog section of our website is a curated collection of informative and inspiring articles.

Experience Bizarre Gobustan Mud Volcanoes Today

This quicky is going to provide you with a quick overview of the mud volcanoes in Gobustan: how to get there, useful tips, fees, weather conditions and more.

Azerbaijan Carpets 101: History, Types, and Buying Tips

You'll learn in this article about the history of Azerbaijan carpets, types, weaving schools (like Karabakh, Quba, etc.), price, buying tips, and much more.

3 Best 5 Star Baku Hotels to Book Now at the Lowest Cost

The article will give you a quick overview of the best 5 star hotel in Baku and the cheapest way to book a hotel room with special guide.

5 Awesome Things to Do in Baku, Azerbaijan, Anytime

This listicle will give you a quick insight into the 5 best places to visit in Baku, including pinned locations of all the places in the article.

Top Gabala Hotels to Book Now: The Ultimate Review

Want to book the best hotel in Gabala, Azerbaijan? This'll definitely help you with your decision. You'll find out the hotels' room types, reviews, prices, etc.

Diri Baba Mausoleum: Most Authentic Tomb on Rocks

Want to visit Diri Baba Mausoleum near Shamakhi? Then learn all you need to know, including useful tips, its history, architectural aspects, and more in a snap.

5 Best Transport Options from Baku Airport to City Center

Learn best transport options, including taxis, the Aero Express bus, hotel shuttles, and more, for a smooth transfer from Baku Airport to city center in secs.

Krasnaya Sloboda: All You Need to Know on Small Jerusalem

All you need to know before visiting Krasnaya Sloboda, Quba, Azerbaijan, with its Jewish history, museum, synagogues, and much more in a compact article.

Best Places to Exchange Currency in Baku: A Beginner's Guide

With this guide, you'll get all you need to know about currency exchange places in Baku, as well as the highest rates for getting AZN and more.

Palace of Shaki Khans: History, Architecture, and Rumors

With its history, legends, architecture, and fascinating appearance, this article about the Sheki Khan Palace will give you a brief overview and more.

Nohur Lake: Top Instagrammable Spot in Gabala, Azerbaijan

If you'd like to know about Nohur Lake in Gabala, Azerbaijan, this article & guide will help you discover the story, activities, tips, etc., related to it.

Highland Park Baku: Everything You Need to Know Before Going

Learn about Highland Park Baku, with its thread and thrum story in the early 1900s, what to do in the park complex, and how to get there.

Tour Baku by Newly Renovated Caspian Sea Cruise Ship Mirvari

Take a breathtaking tour from Baku Sea Terminal on the newly renovated Caspian Sea Cruise Ship "Mirvari," and learn about its route, prices, services, and more.

Hop On Hop Off Baku City Tour: Everything You Need to Know

Learn everything you need to know about the Baku city tour, with all details of the hop-on hop-off sightseeing bus, from routes to ticket prices and more.

Chanlibel Lake: A Beautiful Place to Breathe, Relax and Fish

With this article, you'll learn all you need to know about Chanlibel Lake in Quba, along with how to get there, its story, and things to do in or nearby.