The World Bank's low, lower-middle, upper-middle or high income group for every economy, every year since 1987. Low-income economies fell from 63 in 2002 to 25 now; high-income rose from 53 to 87.
World Bank economy code. ISO 3166-1 alpha-3 for current economies, except XKX (Kosovo, user-assigned), CHI (Channel Islands) and former economies (CSK, SUN, YUG, YUGf, ANT). Join key to current-classification.csv and other datasets.
economy
string
Economy name as the World Bank gives it.
fiscal_year
integer
World Bank fiscal year, 1989 to the latest. FY2027 runs from 1 July 2026 to 30 June 2027; the group is fixed on 1 July.
minimum 1989
data_year
integer
Calendar year of the GNI per capita the classification was based on: always fiscal_year minus 2 (the year before the 1 July announcement).
income_group
string
Income group in that fiscal year. low, lower-middle, upper-middle or high, by GNI per capita (Atlas method) against the thresholds in thresholds.csv. Economies the World Bank did not classify in a year have no row.
enum ["low","lower-middle","upper-middle","high"]
GNI per capita thresholds between income groups, by fiscal year
Field
Type
Description
Constraints
fiscal_year
integer
World Bank fiscal year.
minimum 1989
data_year
integer
Calendar year of the GNI data (fiscal_year minus 2).
low_max
integer
Highest GNI per capita (current US$, Atlas method) in the low group: low is at or below this.
minimum 0
lower_middle_max
integer
Highest GNI per capita in the lower-middle group.
minimum 0
upper_middle_max
integer
Highest GNI per capita in the upper-middle group; high is above this.
minimum 0
Current income group, region and lending category of each economy
Field
Type
Description
Constraints
iso3
string
World Bank economy code (ISO 3166-1 alpha-3 except XKX for Kosovo and CHI for the Channel Islands).
economy
string
Economy name.
region
string
World Bank region.
income_group
string
Current income group (the latest fiscal year in income-groups.csv).
enum ["low","lower-middle","upper-middle","high"]
lending_category
string
World Bank lending category: IDA (poorest, concessional), IBRD, Blend (both), or Not classified (not a borrower).
enum ["IDA","IBRD","Blend","Not classified"]
Number of economies in each income group, by fiscal year
Field
Type
Description
Constraints
fiscal_year
integer
World Bank fiscal year.
data_year
integer
Calendar year of the GNI data.
low
integer
Economies in the low group.
minimum 0
lower_middle
integer
Economies in the lower-middle group.
minimum 0
upper_middle
integer
Economies in the upper-middle group.
minimum 0
high
integer
Economies in the high group.
minimum 0
Economies that moved up or down an income group since 2000
Field
Type
Description
Constraints
move
string
Change in income group between fiscal year 2002 (GNI year 2000) and the latest fiscal year.
enum ["up 2 or 3 groups","up 1 group","no change","down"]
economies
integer
Number of economies classified in both years.
minimum 0
Income group in fiscal year 2002 and now, by economy
Field
Type
Description
Constraints
iso3
string
World Bank economy code.
economy
string
Economy name.
income_group_fy2002
string
Income group in fiscal year 2002 (GNI year 2000).
enum ["low","lower-middle","upper-middle","high"]
income_group_fy2027
string
Income group in fiscal year 2027 (GNI year 2025). Renamed with the latest year on each yearly refresh.
enum ["low","lower-middle","upper-middle","high"]
groups_moved
integer
Groups moved: positive is up, negative is down.
maximum 3 · minimum -3
The World Bank puts every economy into one of four income groups each year, on 1 July: low, lower-middle, upper-middle or high. This dataset has that group for every economy and fiscal year from 1989 (income data for 1987) to 2027 (income data for 2025), the GNI-per-capita thresholds between the groups, and each economy's current group, region and lending category. In 1989 there were 41 high-income economies; in 2027 there are 87.
What stands out
High income has doubled. There were 41 high-income economies in fiscal 1989, 53 in 2002 and 87 in 2027.
Low income has more than halved since its peak. It peaked at 66 economies in fiscal 2003 and is 25 in 2027.
Most of the world has moved up. Of 205 economies classified in both fiscal 2002 and 2027, 102 are in a higher group, 100 are in the same one and 3 are lower: Lebanon, Syria and Venezuela.
Fourteen jumped two groups or more since 2002, among them Indonesia, Vietnam, Russia, Ukraine, Armenia, Azerbaijan, Georgia, Moldova and Mongolia.
China was low income in 1989 and is upper-middle in 2027; India was low income in 2002 and is lower-middle in 2027.
The high-income line keeps moving up. The high-income line was GNI per capita above 6,000 dollars in fiscal 1989 and is above 14,375 dollars in 2027.
Data
All files are CSV in data/. Join on iso3.
income-groups.csv: one row per economy and fiscal year, 8,095 rows. Columns: iso3, economy, fiscal_year, data_year, income_group (low, lower-middle, upper-middle, high). 224 economies including former ones. Years in which the World Bank did not classify an economy have no row.
thresholds.csv: one row per fiscal year, 1989 to 2027. Columns: low_max, lower_middle_max, upper_middle_max, in current US dollars of GNI per capita (Atlas method). Low is at or below low_max; high is above upper_middle_max.
current-classification.csv: 217 economies from the World Bank country API, with region, income_group and lending_category (IDA, IBRD, Blend or Not classified). Aggregates such as "World" are left out.
economies-by-group.csv: the number of economies in each group per fiscal year (feeds the chart).
moves-since-2000.csv and moves-since-2000-by-economy.csv: each economy's group in fiscal 2002 (income data for 2000) against the latest year, and the summary counts (feeds the second chart).
Fiscal year and data year: the group announced on 1 July of a calendar year applies to the World Bank fiscal year ending the next 30 June, and is based on GNI per capita for the calendar year before the announcement. So fiscal 2027 (1 July 2026 to 30 June 2027) uses 2025 income. data_year is always fiscal_year minus 2.
How to join: iso3 is the World Bank's three-letter economy code, the same as ISO 3166-1 alpha-3 for current countries. To add an income group to another dataset, join on iso3 and on the year: use fiscal_year = year + 2 if you want the group that was based on that year's income, or fiscal_year = year if you want the group in force that year. Exceptions to ISO: XKX (Kosovo) is a user-assigned code and CHI (Channel Islands) is the World Bank's own code for a grouping that has no ISO code. Former economies carry codes that are no longer ISO codes: CSK (Czechoslovakia), SUN (USSR), YUG (Serbia and Montenegro, former), YUGf (Yugoslavia, former; not a valid ISO form, kept as the World Bank writes it) and ANT (Netherlands Antilles). TWN ("Taiwan, China") and MYT (Mayotte) are valid ISO codes; TWN is in the history but not in the API's current list.
Caveats
A group is fixed for the whole fiscal year. The World Bank: "These official analytical classifications are fixed during the World Bank's fiscal year (ending on June 30), thus economies remain in the categories in which they are classified irrespective of any revisions to their per capita income data."
The thresholds are reviewed every year and adjusted for inflation (they were unchanged between fiscal 2001 and 2002), so a move up is not always a rise in real income, and a country can change group without its income changing much if it sits near a line.
Gaps are not zeros. Economies the World Bank did not classify in a year (new states, small economies, territories) have no row; the source marks them ...
Yemen is LM* in the source for 1989 and 1990: the World Bank footnotes that Yemen PDR (low) and Yemen Arab Republic (lower-middle) "combined would have been LM". It is lower-middle here.
Not the same as lending category. An income group is a statistic; a lending category (IDA, IBRD, Blend) is an operational status and also depends on creditworthiness. A change of income group does not change the lending category.
Current table versus history:current-classification.csv comes from the World Bank country API, the history from the Data Catalog workbook. They agree for every economy in the latest fiscal year (checked at build). TWN is only in the history.
The undated link lags. The World Bank's stable file name OGHIST.xlsx stopped at fiscal 2025 while the dated file reached 2027, so the refresh job uses the newest dated file.
Source and licence
World Bank, Historical classification by income, lending, and fragile status (OGHIST_2026_10_08.xlsx), World Bank Data Catalog, World Development Indicators, and the World Bank country API (https://api.worldbank.org/v2/country). Retrieved 2026-12-04; see archive/PROVENANCE.md. Methodology: How does the World Bank classify countries?. This is DataHub's tidy reshaping of the World Bank's tables; it is not endorsed by the World Bank.
Terms, from the World Bank's Terms of Use for Datasets: "Unless specifically labeled otherwise, these Datasets are provided to you under a Creative Commons Attribution 4.0 International License (CC BY 4.0), with the additional terms below." The Data Catalog page for this dataset says: "This dataset is licensed under Creative Commons Attribution 4.0". The additional terms are a dispute-resolution procedure (mediation, then arbitration) and an attribution format: "The World Bank: Dataset name: Data source (if known)", and sub-licences must carry the same acknowledgment requirement. You may not imply the World Bank endorses your use. Please cite as: The World Bank: Historical classification by income, lending, and fragile status: World Bank Data Catalog (World Development Indicators).
Upkeep
This dataset is updated annually (living). The World Bank reclassifies on 1 July and publishes the new workbook some weeks later. A GitHub Actions job runs monthly (the 6th), fetches the newest workbook and the country API, rebuilds the CSVs and commits if the data changed; it fails, and publishes nothing, if the workbook changes shape or if more than three economies differ between the workbook and the API in the latest year (the two are equal today). A new fiscal year also opens an issue, because the numbers in this README, the description and the chart text are hand-written and need updating, and the income_group_fy2027 column name of moves-since-2000-by-economy.csv is renamed with the latest year.
API access
Access dataset files directly from scripts, code, or AI agents.
Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.