Islamabad

Shah Allah Ditta Caves: Ancient Rock Shelters Near Islamabad

Shah Allah Ditta caves are about 20 km from central Islamabad, beside sector D-12 under the Margalla Hills: how to get there, the history and when to go.

By Explore Pakistan · Published 25 September 2026 · 6 min read

Another view inside cave - Shah Allah Ditta caves
Photo: Muzamil53 · CC BY-SA 4.0 · Wikimedia Commons

Shah Allah Ditta caves are about 20 km by road from central Islamabad (Zero Point), a 25 to 35 minute drive, on the western edge of the city beside sector D-12 at the foot of the Margalla Hills. They are a set of rock shelters believed to be around 2,400 years old and used across the centuries by Buddhist monks, Hindu sadhus and later Muslim ascetics. They sit beside a natural spring under banyan trees old enough that their girth alone suggests great age, in a small village that has grown up around the site.

This guide covers the caves' history, what you'll actually find there, and how to plan an evening visit.

At a glance
LocationShah Allah Ditta village, near sector D-12, west Islamabad
Distance from Zero PointAbout 20 km by road; 25 to 35 minutes
Distance from Faisal MosqueAbout 18 km; 20 to 30 minutes
Age of the cavesBelieved to be around 2,400 years old
EntryFree, though the site is informally maintained
Best timeLate afternoon into evening, when the heat has eased

A layered history

The caves lie on an old trade route towards Taxila, one used by Alexander the Great's forces and later by Sher Shah Suri, which is part of why the site has passed through so many hands over the centuries. Buddhist monks used the caves for meditation first, with carvings and murals from that era still visible on the walls; some evidence of Buddhist activity here dates to as late as the eighth century. Hindu sadhus occupied the caves after that, and Muslim ascetics used them during the Mughal period, with the surrounding village taking its name from a Mughal-era dervish associated with the site.

The Capital Development Authority approved a preservation plan for the caves in 2010, covering both the Buddhist-era murals and the adjacent garden known locally as Sadhu ka Bagh, and outside funding support for the conservation work was offered around the same time. The site today draws a steady stream of visitors, both from Pakistan and abroad, drawn by its combination of history and setting rather than any single dramatic feature.

What you'll see

The caves themselves are modest: shallow rock shelters cut into the hillside, with faded murals and carvings from the Buddhist period still traceable on some walls. What makes the visit worthwhile is less the caves alone than everything around them.

  • The ancient banyan trees, their trunks wide enough to suggest they have stood for centuries, providing deep shade over the approach to the caves.
  • The natural spring, which still flows and has made this a place of pause for travellers for a very long time.
  • A Buddhist stupa deeper in the gorge, roughly an hour and a half's walk beyond the caves for those who want to go further; this is a longer, rougher outing and not part of a short visit.
  • The village itself, which has grown around the site with small food outlets, and in recent years activities such as horse riding, archery and rock climbing aimed at day visitors.

Why an evening visit works well

The site sits in a shaded valley, which keeps it noticeably cooler than open ground in Islamabad during the day, but it is at its most pleasant in the late afternoon and early evening, once the worst of the heat has passed and the light softens under the banyan canopy. Weekday evenings are quieter than weekends, when the village's food stalls and activity areas draw families and groups looking for an outing rather than the history on its own.

There is no formal lighting at the caves, so plan to arrive with enough daylight left to see the murals properly and to walk back to your car in comfort; the approach path is uneven in places.

Getting there

Shah Allah Ditta is about 20 km by road from Zero Point and about 18 km from Faisal Mosque, so allow 25 to 35 minutes from most of central Islamabad, more at rush hour. It lies off the Margalla Avenue side of the city, just past sector D-12, and the caves are beside the shrine and tomb of Shah Allah Ditta. From Rawalpindi, add the time it takes to reach Zero Point. Local advice is to follow signs for D-12 and the Green Hill Hotel rather than relying purely on a map app, since the last stretch of road is easy to miss. There is no dedicated public transport route aimed at visitors, so a private car or taxi is the practical way in.

Is it worth visiting?

For anyone interested in Islamabad's older history, beyond the planned city built from the 1960s onward, yes. It is a low-key, low-cost outing rather than a headline attraction, best combined with another stop on the same side of the city, such as the drive up to Pir Sohawa, to make a fuller half-day out of it. If you are short on time and looking only for the biggest sights, it ranks behind Faisal Mosque or the Pakistan Monument, but for a second or third day in the capital it is a worthwhile change of pace.

Frequently asked questions

How old are the Shah Allah Ditta caves?

They are believed to be around 2,400 years old, with Buddhist-era murals and carvings, and evidence of use continuing into the eighth century and beyond.

Is there an entry fee for Shah Allah Ditta caves?

No formal entry fee is charged; the site is informally maintained, though facilities are basic.

How far are Shah Allah Ditta caves from Islamabad?

About 20 km by road from Zero Point and 18 km from Faisal Mosque, a 25 to 35 minute drive. The caves are on the western edge of the capital, next to sector D-12.

Where exactly are the caves?

In Shah Allah Ditta village, at the foot of the Margalla Hills beside sector D-12, next to the shrine of Shah Allah Ditta. Ask for the shrine if the map app loses the last turn.

What is there to do at Shah Allah Ditta besides the caves?

The ancient banyan trees and natural spring around the caves, a Buddhist stupa about ninety minutes' walk further into the gorge, and a village with food outlets and activities such as horse riding and rock climbing.

Is Shah Allah Ditta good for an evening visit?

Yes. The shaded valley stays cooler than open ground in the city, and the site is at its most pleasant once the afternoon heat has passed, provided you leave enough daylight to see the murals and walk back comfortably.

Keep reading

More from Islamabad

All Punjab & Islamabad guides

Timeless beauty · Serene waters · Living culture

Want us to plan it for you?

Tell us your dates, your group and where you want to go. A travel expert will shape a route for you within a day.