Performing tavaf on the upper floors and rooftop of Mescid-i Haram is valid according to the majority of contemporary scholars. Sheikh Ibn Baz ruled that tavaf on any level of the cami is valid as long as the haci is circumambulating around the Kabe, even if they are at a higher elevation than the Kabe itself. He noted that the Kabe extends upward conceptually — the airspace above the Kabe is also considered part of its sacred area — and therefore tavaf at a higher level remains around the Kabe.
Sheikh Ibn Uthaymeen held a slightly more nuanced view: he considered tavaf on the upper floors valid when the ground floor is too crowded, but he noted that being closer to the Kabe is more virtuous (afdal) and that the ground level is preferable when accessible. He stated that tavaf on the upper floors satisfies the requirement of circumambulating the Kabe and is especially appropriate for the elderly, those in wheelchairs, and during extremely crowded times.
The Permanent Committee confirmed the validity of tavaf on all levels of Mescid-i Haram, noting that the expansion of the cami and the addition of multiple floors were specifically designed to accommodate the growing number of hacilar. The key condition that scholars stipulate is that the haci must be circling around the Kabe — if the upper floor extends beyond the Kabe's vertical projection, some scholars debated whether the outermost path is valid, but the prevailing contemporary view is that it remains valid as the haci is still circumambulating the Sacred House.