Countries where armed conflicts took place

What you should know about this indicator
- '1' indicates that there was a conflict event in the given country. '0' indicates that there was no conflict event in the given country.
- An armed conflict is defined by the Uppsala Conflict Data Program (UCDP) as a disagreement between organized groups, or between one organized group and civilians, that causes at least 25 deaths during a year. This includes combatant and civilian deaths due to fighting.
More Data on War & Peace
Sources and processing
This data is based on the following sources
How we process data at Our World in Data
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.
Notes on our processing step for this indicator
UCDP provides geographical coordinates of each conflict event. We have mapped these coordinates to countries by means of the geoBoundaries dataset.
In some instances, the event's coordinates fall within the borders of a country. Other times, the event's coordinates fall outside the borders of a country. In the latter case, we have mapped the event to the country that is closest to the event's coordinates.
Conflict event with id "53238" and relid "PAK-2003-1-345-88" was assigned to "Siachen-Saltoro" by geoBoundaries. We have mapped it to "Pakistan" following the text in the where_description field from UCDP, which refers to "Giang sector in Siachen, Pakistani Kashmir".
Reuse this work
Citations
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: Countries where armed conflicts took place”, part of the following publication: Bastian Herre, Lucas Rodés-Guirao, and Max Roser (2024) - “War and Peace”. Data adapted from Uppsala Conflict Data Program, geoBoundaries. Retrieved from https://archive.ourworldindata.org/20260304-094028/grapher/locations-of-ongoing-armed-conflicts.html [online resource] (archived on March 4, 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:
Uppsala Conflict Data Program (2025); geoBoundaries (2023) – processed by Our World in DataFull citation
Uppsala Conflict Data Program (2025); geoBoundaries (2023) – processed by Our World in Data. “Countries where armed conflicts took place” [dataset]. Uppsala Conflict Data Program, “Georeferenced Event Dataset v25.1”; geoBoundaries, “geoBoundaries - Comprehensive Global Administrative Zones (CGAZ) 6.0.0” [original data]. Retrieved April 1, 2026 from https://archive.ourworldindata.org/20260304-094028/grapher/locations-of-ongoing-armed-conflicts.html (archived on March 4, 2026).Download
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/locations-of-ongoing-armed-conflicts.csv?v=1&csvType=full&useColumnShortNames=falseMetadata URL (JSON format)
https://ourworldindata.org/grapher/locations-of-ongoing-armed-conflicts.metadata.json?v=1&csvType=full&useColumnShortNames=falseExcel / Google Sheets
=IMPORTDATA("https://ourworldindata.org/grapher/locations-of-ongoing-armed-conflicts.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/locations-of-ongoing-armed-conflicts.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/locations-of-ongoing-armed-conflicts.metadata.json?v=1&csvType=full&useColumnShortNames=false").json()R
library(jsonlite)
# Fetch the data
df <- read.csv("https://ourworldindata.org/grapher/locations-of-ongoing-armed-conflicts.csv?v=1&csvType=full&useColumnShortNames=false")
# Fetch the metadata
metadata <- fromJSON("https://ourworldindata.org/grapher/locations-of-ongoing-armed-conflicts.metadata.json?v=1&csvType=full&useColumnShortNames=false")Stata
import delimited "https://ourworldindata.org/grapher/locations-of-ongoing-armed-conflicts.csv?v=1&csvType=full&useColumnShortNames=false", encoding("utf-8") clear