Pakistan borders four countries. China is its closest strategic partner, India its main rival, Afghanistan a source of border and militancy tensions, and Iran a neighbour with which ties swing between cooperation and friction.
Borders
| Neighbour | Border | Fact to remember |
|---|---|---|
| Afghanistan | Durand Line, about 2,640 km (longest) | Agreed in 1893 by Sir Mortimer Durand and Amir Abdur Rahman; Kabul has never formally accepted it |
| India | about 3,300 km, including the Line of Control | The Radcliffe Line (1947) drew the Punjab and Bengal borders |
| Iran | about 900 km | Based on the Goldsmid Line (1871–72) |
| China | about 600 km | Boundary agreement signed 2 March 1963; the Karakoram Highway crosses at Khunjerab Pass |
China
Diplomatic relations: 21 May 1951. Pakistan was among the first countries to recognise the People's Republic.
Pakistan helped arrange Henry Kissinger's secret 1971 trip to Beijing.
The Karakoram Highway opened in 1978.
CPEC launched in April 2015; Gwadar is its flagship port.
Joint projects include the JF-17 Thunder fighter and the Chashma and Karachi nuclear plants.
India
| Year | Event |
|---|---|
| 1947–48 | First war, over Kashmir |
| 1960 | Indus Waters Treaty |
| 1965 | War; Tashkent Declaration (January 1966) |
| 1971 | War; East Pakistan becomes Bangladesh |
| 1972 | Simla Agreement (2 July) |
| 1999 | Lahore Declaration (February), then the Kargil conflict |
| 2001 | Agra Summit (Musharraf–Vajpayee) |
| 2019 | Pulwama attack, Balakot strike; India revokes Article 370 (5 August) |
| 2025 | Pahalgam attack (April); India's "Operation Sindoor" (7 May) and Pakistan's "Operation Bunyan-um-Marsoos" (10 May); ceasefire 10 May |
Afghanistan
Afghanistan was the only country to vote against Pakistan's UN membership in 1947.
Pakistan hosted millions of Afghan refugees after the 1979 Soviet invasion and began large-scale deportations in 2023.
The Afghan Taliban took Kabul on 15 August 2021.
Border clashes in October 2025 led to a ceasefire brokered by Qatar and Türkiye in Doha, followed by talks in Istanbul.
Main crossings: Torkham (Khyber) and Chaman (Balochistan).
Iran
Iran was the first country to recognise Pakistan in 1947.
Regional Cooperation for Development (RCD), with Türkiye, was formed in 1964; it became ECO in 1985.
The Iran–Pakistan gas pipeline was agreed around 2009–10 but stalled on the Pakistani side under US sanctions pressure.
In January 2024 the two countries exchanged strikes on militant hideouts; Pakistan's operation was called "Marg Bar Sarmachar".
Pakistan helped broker the April 2026 ceasefire in the US–Israel war with Iran.
Geography to remember
The Wakhan Corridor, a narrow strip of Afghanistan, separates Pakistan from Tajikistan.
Main passes: Khunjerab (China), Khyber (Afghanistan), Bolan (Quetta route), Lowari (Chitral), Babusar (Kaghan to Chilas).
Main border crossings: Wagah–Attari (India), Torkham and Chaman (Afghanistan), Taftan (Iran), Khunjerab/Sost (China).
More on Pakistan–China
Zhou Enlai visited Pakistan in 1956; China backed Pakistan diplomatically in the 1965 and 1971 wars.
Free Trade Agreement signed 2006; phase II took effect in 2020.
JF-17 Thunder first flew in 2003; built at Kamra with China's Chengdu Aircraft.
Joint exercises include the "Shaheen" air drills and "Warrior" army drills.
More on Pakistan–India
| Year | Agreement or event |
|---|---|
| 8 April 1950 | Liaquat–Nehru Pact on minorities |
| 1968 | Tribunal award on the Rann of Kutch |
| 1976 | Samjhauta Express train service begins |
| 1988 | Agreement not to attack each other's nuclear facilities (lists exchanged every 1 January) |
| 1999 | Vajpayee's bus journey to Lahore |
| 2004 | Composite Dialogue begins |
| 2008 | Mumbai attacks halt the dialogue |
| 2019 | Trade suspended after India revokes Article 370; Kartarpur Corridor opens on 9 November |
More on Pakistan–Afghanistan
| Year | Event |
|---|---|
| 1949 | Afghan loya jirga rejects the Durand Line; "Pashtunistan" dispute |
| 1988 | Geneva Accords: Soviet withdrawal agreed |
| 2010 | Afghanistan–Pakistan Transit Trade Agreement (APTTA) |
| 2018 | Afghanistan–Pakistan Action Plan for Peace and Solidarity |
| February 2020 | US–Taliban Doha Agreement |
| 2023 onward | Pakistan's drive to repatriate undocumented Afghans |
Pakistan has fenced most of the Durand Line since 2017.
More on Pakistan–Iran
Both are founder members of the RCD (1964) and ECO (1985).
Gwadar (Pakistan) and Chabahar (Iran) are rival ports about 170 km apart.
Pakistan has also fenced much of the Iran border; Taftan is the main crossing for trade and pilgrims.