Data

Internally displaced people due to conflict

See all data and research on:

What you should know about this indicator

How is this data described by its producer?

Internally displaced persons (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, violations of human rights or natural or human-made disasters, and who have not crossed an internationally recognized State border.

For the purposes of UNHCR’s statistics, this population includes only conflict-generated IDPs to whom the Office extends protection and/or assistance. The IDP population also includes people in an IDP-like situation.

Internally displaced people due to conflict
who were forced to leave their homes due to armed conflict or violence.
Source
UNHCR (2025)with major processing by Our World in Data
Last updated
July 3, 2025
Next expected update
July 2026
Date range
1993–2024
Unit
people

Sources and processing

UNHCR – Refugee Population Statistics Database

The database contains information about forcibly displaced populations spanning more than 70 years of statistical activities. It covers displaced populations such as refugees, asylum-seekers and internally displaced people, including their demographics. Stateless people are also included, most of who have never been displaced. The database also reflects the different types of solutions for displaced populations such as repatriation or resettlement.

It includes UNHCR data collected through its annual statistical activities with some data going back as far as 1951, the year UNHCR was created.

Retrieved on
July 3, 2025
Citation
This is the citation of the original data obtained from the source, prior to any processing or adaptation by Our World in Data. To cite data downloaded from this page, please use the suggested citation given in Reuse This Work below.
Refugee Population Statistics Database, UNHCR, 2024 (https://www.unhcr.org/refugee-statistics/)

The database contains information about forcibly displaced populations spanning more than 70 years of statistical activities. It covers displaced populations such as refugees, asylum-seekers and internally displaced people, including their demographics. Stateless people are also included, most of who have never been displaced. The database also reflects the different types of solutions for displaced populations such as repatriation or resettlement.

It includes UNHCR data collected through its annual statistical activities with some data going back as far as 1951, the year UNHCR was created.

Retrieved on
July 3, 2025
Citation
This is the citation of the original data obtained from the source, prior to any processing or adaptation by Our World in Data. To cite data downloaded from this page, please use the suggested citation given in Reuse This Work below.
Refugee Population Statistics Database, UNHCR, 2024 (https://www.unhcr.org/refugee-statistics/)

All data and visualizations on Our World in Data rely on data sourced from one or several original data providers. Preparing this original data involves several processing steps. Depending on the data, this can include standardizing country names and world region definitions, converting units, calculating derived indicators such as per capita measures, as well as adding or adapting metadata such as the name or the description given to an indicator.

At the link below you can find a detailed description of the structure of our data pipeline, including links to all the code used to prepare data across Our World in Data.

Read about our data pipeline
Notes on our processing step for this indicator
  • The United Nations High Commissioner for Refugees (UNHCR) collects data on refugee populations for each country of origin and country of asylum separately. To calculate the total number of refugees living in a country, we sum up the data from all origin countries. To calculate the total number of refugees from a country, we sum up the data from all asylum countries.
  • To calculate the number of refugees per 1,000 or 100,000 people in a country, we divide the number of refugees by the total population of the country (for the same year) and multiply by the factor. The population estimates come from a long-run dataset maintained by Our World in Data.
  • We remove refugee populations where the country of origin and country of asylum are the same, as refugees are defined as people who have fled their country and crossed an international border. We also remove asylum seekers where the country of origin and country of asylum are the same.
  • We remove data for China after 2020 due to a large data discontinuity.

How to cite this page

To cite this page overall, including any descriptions, FAQs or explanations of the data authored by Our World in Data, please use the following citation:

“Data Page: Internally displaced people due to conflict”, part of the following publication: Fiona Spooner, Tuna Acisu, Simon van Teutem, Hannah Ritchie, Esteban Ortiz-Ospina, Marcel Gerber, and Max Roser (2022) - “Migration”. Data adapted from UNHCR. Retrieved from https://archive.ourworldindata.org/20260325-171315/grapher/internally-displaced-people-due-to-conflict.html [online resource] (archived on March 25, 2026).

How to cite this data

In-line citationIf you have limited space (e.g. in data visualizations), you can use this abbreviated in-line citation:

UNHCR (2025) – with major processing by Our World in Data

Full citation

UNHCR (2025) – with major processing by Our World in Data. “Internally displaced people due to conflict” [dataset]. UNHCR, “Refugee Population Statistics Database Annual statistics for 2024” [original data]. Retrieved April 1, 2026 from https://archive.ourworldindata.org/20260325-171315/grapher/internally-displaced-people-due-to-conflict.html (archived on March 25, 2026).

Quick download

Download the data shown in this chart as a ZIP file containing a CSV file, metadata in JSON format, and a README. The CSV file can be opened in Excel, Google Sheets, and other data analysis tools.

Data API

Use these URLs to programmatically access this chart's data and configure your requests with the options below. Our documentation provides more information on how to use the API, and you can find a few code examples below.

Data URL (CSV format)
https://ourworldindata.org/grapher/internally-displaced-people-due-to-conflict.csv?v=1&csvType=full&useColumnShortNames=false
Metadata URL (JSON format)
https://ourworldindata.org/grapher/internally-displaced-people-due-to-conflict.metadata.json?v=1&csvType=full&useColumnShortNames=false

Code examples

Examples of how to load this data into different data analysis tools.

Excel / Google Sheets
=IMPORTDATA("https://ourworldindata.org/grapher/internally-displaced-people-due-to-conflict.csv?v=1&csvType=full&useColumnShortNames=false")
Python with Pandas
import pandas as pd
import requests

# Fetch the data.
df = pd.read_csv("https://ourworldindata.org/grapher/internally-displaced-people-due-to-conflict.csv?v=1&csvType=full&useColumnShortNames=false", storage_options = {'User-Agent': 'Our World In Data data fetch/1.0'})

# Fetch the metadata
metadata = requests.get("https://ourworldindata.org/grapher/internally-displaced-people-due-to-conflict.metadata.json?v=1&csvType=full&useColumnShortNames=false").json()
R
library(jsonlite)

# Fetch the data
df <- read.csv("https://ourworldindata.org/grapher/internally-displaced-people-due-to-conflict.csv?v=1&csvType=full&useColumnShortNames=false")

# Fetch the metadata
metadata <- fromJSON("https://ourworldindata.org/grapher/internally-displaced-people-due-to-conflict.metadata.json?v=1&csvType=full&useColumnShortNames=false")
Stata
import delimited "https://ourworldindata.org/grapher/internally-displaced-people-due-to-conflict.csv?v=1&csvType=full&useColumnShortNames=false", encoding("utf-8") clear