No photo of Ali Masjid Fort yet

We only show photos of the place itself. Wanted: the hill and fort above the Khyber Pass road, seen from below; historic photograph of the captured cannon (John Burke, 1878) if public domain. Send us yours

Heritage siteKhyber Pakhtunkhwa

Ali Masjid Fort

A fort above the narrowest point of the Khyber Pass, built in 1837 under Dost Muhammad Khan and twice taken by the British. In Khyber district, where the UK FCDO advises against all travel.

KindHeritage site
RegionKhyber Pakhtunkhwa
DistrictKhyber

Overview

Ali Masjid Fort stands on high ground above Ali Masjid, at the narrowest point of the Khyber Pass in Khyber Pakhtunkhwa.

Plan your visit

Nearest town
Landi Kotal
Getting there

The fort is on the Khyber Pass road between Jamrud and Landi Kotal. Access was not confirmed. The UK FCDO advises against all travel to Khyber district. More

History

Emir Dost Muhammad Khan of Afghanistan built the fort in 1837, after the Battle of Jamrud, to assert control over the Khyber region. At that time it lay inside Afghanistan. A British-led force of about 11,000 under Claude Martin Wade took it on 26 July 1839 in the First Anglo-Afghan War. The Treaty of Gandamak in May 1879 gave the Khyber Pass to British control, and the fort became part of Pakistan in 1947.

The Battle of Ali Masjid, 1878

The fort was the opening battle of the Second Anglo-Afghan War, fought on 21 November 1878. A British envoy described the approach as a hill "steeper and twice as high" as the great pyramid, with the fort on a flat top between two ridges about a quarter of a mile apart.

Lieutenant-General Sir Samuel Browne led the British force, listed at about 3,000 infantry, 600 militia and 200 cavalry, against an Afghan garrison under Ghulam Haider Khan, listed at about 3,000 infantry, 600 Khasadars, 320 gunners and 200 cavalry, with 24 cannon in the fort. Sources differ on the numbers.

A night flank march left the British brigades scattered and late. Afghan horsemen held the Shagai ridge until British skirmishers drove them off at about 10 am. Artillery duels began around noon, and at about 2 pm British 40-pound shot brought down the fort's central bastion. Fighting stopped at nightfall, and the Afghan defenders withdrew overnight. About 300 were caught by the First Brigade. British losses are given as 16 killed and 34 wounded. Photographer John Burke recorded the captured cannon.

What to see and do

The fort is mainly of historical interest, and no source describes its present condition or any visitor arrangements. See the Khyber Pass page for the wider history of the route.

Good to know

  • Khyber district is covered by the UK FCDO advice for foreigners, which advises against all travel there. Read the current page before you make any plans.
  • Opening hours, fees, access and current condition were not confirmed. This page is a history guide, not a recommendation to visit.

Highlights

  • Built in 1837 by Emir Dost Muhammad Khan
  • Taken by the British in 1839 and 1878
  • At the narrowest point of the Khyber Pass

Getting there

The fort is on the Khyber Pass road between Jamrud and Landi Kotal. Access was not confirmed. The UK FCDO advises against all travel to Khyber district.

Tips

  • Check the UK FCDO advice before any travel.
  • Read the Khyber Pass page for background.

Sources and last checked

Last checked Confidence low3 sources3 still to check
Last checked
Method
Desk research from published sources
Confidence
low
Checked by
trek.pk research team

Researched from published sources; not yet checked on the ground by our team. Spot something out of date? Report a mistake.

Sources

Still to be checked on the ground (3)

  • Opening hours, entry fee and whether the site is open to the public
  • Whether the fort can be visited at all
  • Current condition

Nearby and related

Help us improve trek.pk

Share feedback