Public spending on pensions, health, family, unemployment and other social programmes as a share of GDP, for 42 countries since 1980. France spends about 31% of GDP, against an OECD average of 21%.
Public social spending as a percentage of GDP by country, year and policy area
Field
Type
Description
Constraints
country_code
string
ISO 3166-1 alpha-3 country code as used by OECD (OECD for the OECD aggregate).
pattern ^[A-Z]{3,4}$
country
string
Country name as OECD labels it.
year
integer
Calendar year (or fiscal year as the country reports it to OECD), 1980 to 2024.
total_public
number
Public social expenditure, all areas, percent of GDP. Spending by general government and compulsory social security funds, OECD source code ES10.
minimum 0
old_age
number
Public spending on old age (pensions, early retirement pensions, care and services for the old), percent of GDP. OECD area 1.
minimum 0
survivors
number
Public spending on survivors (survivors' pensions, funeral expenses), percent of GDP. OECD area 2.
minimum 0
incapacity
number
Public spending on incapacity-related benefits (disability pensions, sick pay, rehabilitation), percent of GDP. OECD area 3.
minimum 0
health
number
Public spending on health (in-patient and out-patient care, medical goods), percent of GDP. OECD area 4.
minimum 0
family
number
Public spending on family (child allowances, maternity and parental leave, early childhood education and care), percent of GDP. OECD area 5.
minimum 0
active_labour_market
number
Public spending on active labour market programmes (training, employment incentives, job creation, public employment services), percent of GDP. OECD area 6.
minimum 0
unemployment
number
Public spending on unemployment (unemployment compensation, severance pay, early retirement for labour market reasons), percent of GDP. OECD area 7. Blank where OECD gives no value.
minimum 0
housing
number
Public spending on housing (housing assistance and other housing benefits), percent of GDP. OECD area 8.
minimum 0
other
number
Public spending on other social policy areas (income support to low-income households, social assistance), percent of GDP. OECD area 9.
minimum 0
total_public_and_mandatory_private
number
Public plus mandatory private social expenditure, all areas, percent of GDP (OECD source code ES10_20). Blank where OECD gives no value; only a few countries report it for the newest years.
minimum 0
mandatory_private
number
Mandatory private social expenditure (for example employer-run sickness pay and compulsory private pensions), all areas, percent of GDP (OECD source code ES20). Blank where OECD gives no value.
minimum 0
voluntary_private
number
Voluntary private social expenditure (for example voluntary occupational and personal pensions and health insurance), all areas, percent of GDP (OECD source code ES30). Blank where OECD gives no value.
minimum 0
Public social spending as a percentage of GDP in each country's latest year
Field
Type
Description
Constraints
country_code
string
ISO 3166-1 alpha-3 country code as used by OECD (OECD for the OECD aggregate).
pattern ^[A-Z]{3,4}$
country
string
Country name as OECD labels it.
year
integer
Latest year with a public total for the country (2021 to 2024); the other columns are for the same year.
total_public
number
Public social expenditure, all areas, percent of GDP. Spending by general government and compulsory social security funds, OECD source code ES10.
minimum 0
old_age
number
Public spending on old age (pensions, early retirement pensions, care and services for the old), percent of GDP. OECD area 1.
minimum 0
survivors
number
Public spending on survivors (survivors' pensions, funeral expenses), percent of GDP. OECD area 2.
minimum 0
incapacity
number
Public spending on incapacity-related benefits (disability pensions, sick pay, rehabilitation), percent of GDP. OECD area 3.
minimum 0
health
number
Public spending on health (in-patient and out-patient care, medical goods), percent of GDP. OECD area 4.
minimum 0
family
number
Public spending on family (child allowances, maternity and parental leave, early childhood education and care), percent of GDP. OECD area 5.
minimum 0
active_labour_market
number
Public spending on active labour market programmes (training, employment incentives, job creation, public employment services), percent of GDP. OECD area 6.
minimum 0
unemployment
number
Public spending on unemployment (unemployment compensation, severance pay, early retirement for labour market reasons), percent of GDP. OECD area 7. Blank where OECD gives no value.
minimum 0
housing
number
Public spending on housing (housing assistance and other housing benefits), percent of GDP. OECD area 8.
minimum 0
other
number
Public spending on other social policy areas (income support to low-income households, social assistance), percent of GDP. OECD area 9.
minimum 0
total_public_and_mandatory_private
number
Public plus mandatory private social expenditure, all areas, percent of GDP (OECD source code ES10_20). Blank where OECD gives no value; only a few countries report it for the newest years.
minimum 0
mandatory_private
number
Mandatory private social expenditure (for example employer-run sickness pay and compulsory private pensions), all areas, percent of GDP (OECD source code ES20). Blank where OECD gives no value.
minimum 0
voluntary_private
number
Voluntary private social expenditure (for example voluntary occupational and personal pensions and health insurance), all areas, percent of GDP (OECD source code ES30). Blank where OECD gives no value.
minimum 0
OECD average social spending as a percentage of GDP by year and policy area
Field
Type
Description
Constraints
country_code
string
ISO 3166-1 alpha-3 country code as used by OECD (OECD for the OECD aggregate).
pattern ^[A-Z]{3,4}$
country
string
Country name as OECD labels it.
year
integer
Calendar year (or fiscal year as the country reports it to OECD), 1980 to 2024.
total_public
number
Public social expenditure, all areas, percent of GDP. Spending by general government and compulsory social security funds, OECD source code ES10.
minimum 0
old_age
number
Public spending on old age (pensions, early retirement pensions, care and services for the old), percent of GDP. OECD area 1.
minimum 0
survivors
number
Public spending on survivors (survivors' pensions, funeral expenses), percent of GDP. OECD area 2.
minimum 0
incapacity
number
Public spending on incapacity-related benefits (disability pensions, sick pay, rehabilitation), percent of GDP. OECD area 3.
minimum 0
health
number
Public spending on health (in-patient and out-patient care, medical goods), percent of GDP. OECD area 4.
minimum 0
family
number
Public spending on family (child allowances, maternity and parental leave, early childhood education and care), percent of GDP. OECD area 5.
minimum 0
active_labour_market
number
Public spending on active labour market programmes (training, employment incentives, job creation, public employment services), percent of GDP. OECD area 6.
minimum 0
unemployment
number
Public spending on unemployment (unemployment compensation, severance pay, early retirement for labour market reasons), percent of GDP. OECD area 7. Blank where OECD gives no value.
minimum 0
housing
number
Public spending on housing (housing assistance and other housing benefits), percent of GDP. OECD area 8.
minimum 0
other
number
Public spending on other social policy areas (income support to low-income households, social assistance), percent of GDP. OECD area 9.
minimum 0
total_public_and_mandatory_private
number
Public plus mandatory private social expenditure, all areas, percent of GDP (OECD source code ES10_20). Blank where OECD gives no value; only a few countries report it for the newest years.
minimum 0
mandatory_private
number
Mandatory private social expenditure (for example employer-run sickness pay and compulsory private pensions), all areas, percent of GDP (OECD source code ES20). Blank where OECD gives no value.
minimum 0
voluntary_private
number
Voluntary private social expenditure (for example voluntary occupational and personal pensions and health insurance), all areas, percent of GDP (OECD source code ES30). Blank where OECD gives no value.
minimum 0
Public spending on pensions, health, family support, unemployment and other social programmes averaged 21% of GDP across OECD countries in 2024, up from 14% in 1980. This dataset has that spending, in total and by area, for 42 countries from 1980 to 2024.
What stands out
Social spending has grown by about 47%. The OECD average went from 14.4% of GDP in 1980 to 21.2% in 2024. It spiked to 23.3% in 2020, the Covid year, and has come back to about 21%.
France is near the top. It spends 30.6% of GDP, third behind Austria (31.6%) and Finland (31.4%), up from 20.3% in 1980. Belgium, Germany and Italy spend about 28%; Denmark and Sweden about 26%.
The United States is below the average, not far off it. 19.8% in 2024, up from 12.9% in 1980. The middle country of the 42 spends 20.2%.
The low end is far lower. Mexico spends 10.0% (2023) and Peru 7.5% (2023). South Korea has gone from 4.2% in 2000 to 15.3% in 2024.
Old age and health take the largest shares. In the OECD average, old-age spending was 7.7% of GDP in 2021 (5.0% in 1980) and health 6.6% (4.1%). Family spending was 2.3% and unemployment 1.0%.
Private spending adds to the public figure in a few countries. Canada's voluntary private social spending was 5.1% of GDP in 2022, on top of 19.3% public.
Data
OECD Social Expenditure Database (SOCX), aggregates, as a percentage of GDP.
data/social-spending-by-country.csv: one row per country and year, 1980 to 2024 (1,560 rows, 42 countries). Columns: country_code, country, year, total_public, the nine policy areas (old_age, survivors, incapacity, health, family, active_labour_market, unemployment, housing, other), then total_public_and_mandatory_private, mandatory_private and voluntary_private. All in percent of GDP, rounded to three decimals.
data/latest.csv: each country's latest year with a public total (42 rows: 24 in 2024, 10 in 2023, 5 in 2022, 3 in 2021). Same columns, for that year; the areas and private columns are blank where OECD has not yet published them for that year.
data/oecd-average.csv: the OECD aggregate OECD publishes, 1980 to 2024 (45 rows). Same columns.
Where all nine areas and the public total are present, country rows agree within 0.002 percentage points; the OECD average's areas do not necessarily sum to its public total (the gap reaches 0.57 points in 1983). Public spending means cash benefits and benefits in kind provided by general government and compulsory social security funds (OECD source code ES10). The private columns are all-area totals only: mandatory private (ES20), voluntary private (ES30) and public plus mandatory private (ES10_20).
Caveats
Blank is not zero. A blank means OECD gives no value for that country, year and column.
Totals run later than the areas. Totals are published to 2024 (2021 to 2024 by country); the nine areas stop at 2021 to 2023, and the private columns lag further. The OECD average has no area breakdown after 2021.
Latest years differ.latest.csv mixes 2021 to 2024. Compare countries within one year in the main file when it matters. The newest years may be revised.
Not every country starts in 1980. 23 countries have a 1980 total; 17 of the other 19 start in 1990 or later. The OECD average is as OECD publishes it, not recomputed here.
Public social spending is not all social spending. Tax breaks for social purposes and most private provision are outside the public figure. Net-of-tax spending and price-adjusted series exist in the full OECD database but are not included here.
Definitions differ in detail. OECD sets common definitions, but national systems differ, for example in whether sickness pay is paid by the state or by employers (mandatory private).
Source and licence
Source: OECD, Social Expenditure Database (SOCX), Social expenditure aggregates (dataflow OECD.ELS.SPD:DSD_SOCX_AGG@DF_SOCX_AGG, version 1.0), retrieved on 2026-12-05 from the OECD Data Explorer API (https://sdmx.oecd.org/public/rest/). The request is filtered to percent of GDP, the four expenditure sources above, the total and the nine areas; unfiltered the dataflow is about 1 GB. See archive/PROVENANCE.md.
Licence: OECD Terms & Conditions, section 3 (Data), read on 2026-12-05 and archived in archive/oecd-terms-conditions.html. It says: "Except where additional restrictions apply as stated above, you can extract from, download, copy, adapt, print, distribute, share and embed Data for any purpose, even for commercial use. You must give appropriate credit to the OECD by using the citation associated with the relevant Data, or, if no specific citation is available, you must cite the source information using the following format: OECD (year), (dataset name),(data source) DOI or URL (accessed on (date)). When sharing or licensing work created using the Data, you agree to include the same acknowledgment requirement in any sub-licenses that you grant, along with the requirement that any further sub-licensees do the same." The OECD does not label this dataflow CC BY 4.0, so it is not offered here under that licence: reuse needs the credit above, passed on to anyone you share it with. The OECD may also restrict a dataset on third-party grounds (the section says so); the dataflow's metadata names none.
Upkeep
Living: a GitHub Actions workflow (.github/workflows/update.yml) re-fetches the source every quarter (12th of January, April, July and October) and rebuilds data/, updated quarterly. Source endpoint: dataflow OECD.ELS.SPD:DSD_SOCX_AGG@DF_SOCX_AGG on the OECD Data Explorer SDMX API (no key). The fetch uses curl, waits 15 seconds between requests and retries when OECD answers 429 or 500. If the data changed, the workflow pushes a refresh/<date> branch and opens an issue rather than committing to main, because this README and the view descriptions quote dated figures: update them, fact-check any changed headline number, then merge. The build stops if the structure or the numbers stop making sense. To refresh by hand, run node scripts/fetch.mjs and node scripts/build.mjs.
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.