Saudi Arabia has deployed an unprecedented artificial intelligence infrastructure at the Grand Mosque in Makkah for Hajj 2026, using real-time crowd monitoring, computer vision, and colour-coded density indicators to manage the flow of millions of pilgrims through the holiest site in Islam.

Real-Time Tawaf and Sa'i Crowd Tracking

The Saudi General Authority for the Care of the Grand Mosque has launched a digital service that allows pilgrims to instantly check crowd levels in the Tawaf and Sa'i areas before heading there. According to the Saudi Gazette, the system uses simplified colour-coded visual indicators - similar to traffic lights - so pilgrims can see at a glance whether the Mataf (Tawaf area) is green (light), amber (moderate), or red (heavily congested).

This information is accessible through the Nusuk app, meaning pilgrims can check crowd density from their hotel room or anywhere else and plan their worship around the least busy periods. For women, elderly pilgrims, and those with mobility challenges, this feature is particularly valuable - avoiding peak congestion can make the difference between a manageable Tawaf and an overwhelming one.

The Baseer AI Platform

Behind the public-facing crowd indicators sits the Baseer platform, developed by Saudi Arabia's Data and Artificial Intelligence Authority (SDAIA) in collaboration with the Ministry of Interior. Baseer uses advanced AI algorithms and real-time data processing to detect and analyse crowd density across the Grand Mosque complex.

Computer vision tools allow authorities to pinpoint overcrowded zones moment by moment. The system does not simply count heads - it analyses movement patterns, predicts where bottlenecks are forming, and recommends intervention before dangerous crowding occurs. This is critical in areas like the Black Stone corner during Tawaf, the entrance to the Sa'i corridor, and the gates of the Grand Mosque during prayer times.

The platform draws data from multiple sources: surveillance cameras throughout the Haram, aerial monitoring, and location-tracking applications. All of this feeds into a centralised operations centre where authorities can make real-time decisions about crowd routing, gate opening and closing, and the deployment of security personnel.

150 Initiatives Across 60 Languages

The AI crowd management system is part of a broader operational plan for Hajj 2026 that includes over 150 specialised initiatives. The digital ecosystem supporting pilgrims now operates in more than 60 languages, reflecting the extraordinary diversity of the Hajj congregation - from Indonesian and Urdu to Turkish, French, Bengali, and Swahili.

These initiatives go beyond crowd management. They include the Nusuk AI assistant (a chatbot that answers pilgrim questions via voice and text), predictive health monitoring through smart wristbands, the mandatory Nusuk smart card system, and automated luggage handling through the "Luggage First" service. Together, they represent the most technologically sophisticated Hajj operation in history.

Why It Matters

The 2024 Hajj heat disaster, which killed over 1,300 people, underscored the lethal consequences of poor crowd management - particularly for unregistered pilgrims who lacked access to organised infrastructure. The 2015 Mina stampede, which killed over 2,400 people, remains the deadliest crowd crush in modern Hajj history and a defining motivation for the current AI investment.

By giving pilgrims real-time visibility into crowd conditions and giving authorities predictive tools to prevent dangerous accumulations, the Smart Makkah initiative aims to ensure that such tragedies are not repeated. The system does not replace human judgement - security personnel remain the primary crowd managers on the ground - but it gives them dramatically better information to work with.

What Pilgrims Should Do

Pilgrims should check the crowd density feature in the Nusuk app before heading to the Grand Mosque for Tawaf or Sa'i. Late night (after Isha) and early morning (before Fajr) consistently show lower density levels. If the indicator shows red, consider delaying your visit by an hour or two. The spiritual value of your Tawaf is not diminished by performing it at a quieter time - and your safety is significantly enhanced.