DataBrighten

    Internally displaced people (IDP) by country or territory of asylum / origin

    900 × 6rows × columns: 82 countries, 2009 to 2025

    Real data: World Bank, World Development Indicators, indicator SM.POP.IDPC, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows900country-year values
    Countries82with at least one value
    Years2009 – 202517 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Internally displaced people (IDPs) are persons or groups of persons who have been forced or obliged to flee or to leave their homes or places of habitual residence, in particular as a result of, or in order to avoid the effects of armed conflict, situations of generalized violence, and violations of human rights, and who have not crossed an internationally recognized State border.

    Limits and exceptions (World Bank note)

    Collecting accurate data on internally displaced people (IDPs) is challenging in conflict zones and areas with limited access, leading to potential underreporting or incomplete coverage. Repeated displacements and the complex dynamics of internal conflicts can result in double counting or misclassification of IDPs. Additionally, differing definitions of IDPs across countries and regions can hinder the comparability and reliability of the data, complicating international efforts to address internal displacement.

    The numbers in 2025

    In 2025, 52 countries have a value. The highest is Sudan (9.12 million); the lowest is Russian Federation (580). The median country value is 400,500. The World Bank's World aggregate for 2025 is 68.60 million.

    Top 10 countries, 2025

    value

    Source: World Bank, SM.POP.IDPC, retrieved 19 November 2026. Computed from internally-displaced-people-idp-by-country-or-territory-of-asylum-origin.csv.

    Highest, 2025

    #CountryValue
    1Sudan9.12 million
    2Colombia7.21 million
    3Syrian Arab Republic5.96 million
    4Yemen, Rep.4.80 million
    5Afghanistan4.36 million
    6Congo, Dem. Rep.4.28 million
    7Ukraine3.71 million
    8Myanmar3.64 million
    9Nigeria3.50 million
    10Somalia, Fed. Rep.3.35 million

    Lowest, 2025

    #CountryValue
    1Russian Federation580
    2Uganda2,000
    3Ghana3,900
    4Sri Lanka4,800
    5Burundi6,800
    6Kenya10,000
    7Brazil19,000
    8Benin26,000
    9Philippines28,000
    10Israel31,000
    How many countries report, by decade
    DecadeMost countries in one year
    2000s46
    2010s56
    2020s59

    World aggregate by year

    As published by the World Bank (in the regions file, not the country file).

    YearWorld
    202568.60 million
    202473.53 million
    202367.29 million
    202261.19 million
    202152.07 million
    202047.06 million
    201944.57 million
    201840.53 million
    201739.39 million
    201638.90 million
    201540.37 million
    201437.86 million

    By region, 2025

    World Bank regionValue
    Sub-Saharan Africa 28.91 million
    Middle East, North Africa, Afghanistan & Pakistan18.60 million
    Latin America & Caribbean 10.18 million
    Europe & Central Asia5.22 million
    East Asia & Pacific4.56 million
    South Asia1.12 million

    First rows

    internally-displaced-people-idp-by-country-or-territory-of-asylum-origin.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income2009297000
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income2010352000
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income2011450000
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income2012492000
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income2013631000
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income2014805000
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20151174000
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20161200000

    Data dictionary

    ColumnTypeMeaning
    countrytextCountry or economy, World Bank name
    iso3textISO 3166-1 alpha-3 code
    regiontextWorld Bank region
    income_grouptextWorld Bank income group
    yearnumberCalendar year of the value
    valuenumberInternally displaced people (IDP) by country or territory of asylum / origin, exactly as the World Bank API returns it (not rounded)

    Only country-years with a value are in the long file; blank cells in the wide file mean no value was published.

    Practice questions

    answers computed from the file

    Which country has the highest value in 2025?

    Sudan, with 9.12 million.

    Excel (on the long CSV: E = year, F = value)

    =FILTER(A2:A100000,(E2:E100000=2025)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2025)))

    SQL (table wb = the CSV)

    SELECT country, value FROM wb WHERE year = 2025
      AND value = (SELECT MAX(value) FROM wb WHERE year = 2025);

    pandas (df = pd.read_csv("internally-displaced-people-idp-by-country-or-territory-of-asylum-origin.csv"))

    y = df[df.year == 2025]
    y[y.value == y.value.max()][["country", "value"]]

    File: internally-displaced-people-idp-by-country-or-territory-of-asylum-origin.csv

    How many countries report a value for 2025?

    52 of the 217 economies in the file's country list.

    Excel (on the long CSV: E = year, F = value)

    =COUNTIF(E2:E100000,2025)

    SQL (table wb = the CSV)

    SELECT COUNT(*) FROM wb WHERE year = 2025;

    pandas (df = pd.read_csv("internally-displaced-people-idp-by-country-or-territory-of-asylum-origin.csv"))

    (df.year == 2025).sum()

    File: internally-displaced-people-idp-by-country-or-territory-of-asylum-origin.csv

    What is the median across countries in 2025?

    400,500 (median of the 52 country values; not a World Bank aggregate).

    Excel (on the long CSV: E = year, F = value)

    =MEDIAN(FILTER(F2:F100000,E2:E100000=2025))

    SQL (table wb = the CSV)

    -- SQLite has no MEDIAN(); this picks the middle value(s)
    SELECT AVG(value) FROM (SELECT value FROM wb WHERE year = 2025 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2025) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2025));

    pandas (df = pd.read_csv("internally-displaced-people-idp-by-country-or-territory-of-asylum-origin.csv"))

    df[df.year == 2025]["value"].median()

    File: internally-displaced-people-idp-by-country-or-territory-of-asylum-origin.csv

    Which country rose the most between 2015 and 2025?

    Sudan: from 3.18 million to 9.12 million, a rise of 5.93 million (out of 42 countries with both years).

    Excel (on the long CSV: E = year, F = value)

    Use the wide file (internally-displaced-people-idp-by-country-or-territory-of-asylum-origin-wide.csv): add a column = [2025] - [2015], then sort it largest to smallest.

    SQL (table wb = the CSV)

    SELECT a.country, b.value - a.value AS rise FROM wb a JOIN wb b ON a.iso3 = b.iso3
    WHERE a.year = 2015 AND b.year = 2025 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("internally-displaced-people-idp-by-country-or-territory-of-asylum-origin.csv"))

    w = df.pivot(index="country", columns="year", values="value")
    (w[2025] - w[2015]).dropna().nlargest(1)

    File: internally-displaced-people-idp-by-country-or-territory-of-asylum-origin.csv

    Which year has the most countries reporting?

    2024, with 59 countries. (Later years are still filling in as countries report.)

    Excel (on the long CSV: E = year, F = value)

    Make a pivot table: year in Rows, Count of value in Values, then sort by the count.

    SQL (table wb = the CSV)

    SELECT year, COUNT(*) AS n FROM wb GROUP BY year ORDER BY n DESC, year DESC LIMIT 1;

    pandas (df = pd.read_csv("internally-displaced-people-idp-by-country-or-territory-of-asylum-origin.csv"))

    df.groupby("year").size().sort_values(ascending=False).head(1)

    File: internally-displaced-people-idp-by-country-or-territory-of-asylum-origin.csv