Median age, July 1 estimate in Costa Rica

Median age, July 1 estimate in Costa Rica was 34.07 years in 2023, according to the United Nations, Department of Economic and Social Affairs, Population Division. That is up 0.53 from 2022. That is the 104th highest of 236 countries in 2023.

2023, years34.07 Estimated
Change on 2022+0.53
Rank104th of 236Countries ranked
Series high34.072023
Series low15.541963
Get an email when a new figure is out or this one is revised.
Keep it in a collection in your library.

Median age, July 1 estimate in Costa Rica, 1950 to 2023

152025303519501961197219831994200520231950: 16.81 years1951: 16.71 years1952: 16.61 years1953: 16.51 years1954: 16.41 years1955: 16.32 years1956: 16.22 years1957: 16.1 years1958: 15.97 years1959: 15.85 years1960: 15.73 years1961: 15.63 years1962: 15.56 years1963: 15.54 years1964: 15.55 years1965: 15.6 years1966: 15.7 years1967: 15.82 years1968: 15.99 years1969: 16.2 years1970: 16.43 years1971: 16.68 years1972: 16.95 years1973: 17.24 years1974: 17.53 years1975: 17.83 years1976: 18.13 years1977: 18.43 years1978: 18.73 years1979: 19.01 years1980: 19.3 years1981: 19.58 years1982: 19.85 years1983: 20.12 years1984: 20.37 years1985: 20.61 years1986: 20.83 years1987: 21.06 years1988: 21.27 years1989: 21.49 years1990: 21.71 years1991: 21.93 years1992: 22.16 years1993: 22.39 years1994: 22.63 years1995: 22.87 years1996: 23.12 years1997: 23.38 years1998: 23.65 years1999: 23.93 years2000: 24.21 years2001: 24.51 years2002: 24.84 years2003: 25.2 years2004: 25.58 years2005: 25.96 years2006: 26.36 years2007: 26.76 years2008: 27.16 years2009: 27.56 years2010: 27.97 years2011: 28.4 years2012: 28.82 years2013: 29.26 years2014: 29.71 years2015: 30.16 years2016: 30.61 years2017: 31.07 years2018: 31.54 years2019: 32.01 years2020: 32.51 years2021: 33.02 years2022: 33.54 years2023: 34.07 years152025303519501975200020231950: 16.81 years1951: 16.71 years1952: 16.61 years1953: 16.51 years1954: 16.41 years1955: 16.32 years1956: 16.22 years1957: 16.1 years1958: 15.97 years1959: 15.85 years1960: 15.73 years1961: 15.63 years1962: 15.56 years1963: 15.54 years1964: 15.55 years1965: 15.6 years1966: 15.7 years1967: 15.82 years1968: 15.99 years1969: 16.2 years1970: 16.43 years1971: 16.68 years1972: 16.95 years1973: 17.24 years1974: 17.53 years1975: 17.83 years1976: 18.13 years1977: 18.43 years1978: 18.73 years1979: 19.01 years1980: 19.3 years1981: 19.58 years1982: 19.85 years1983: 20.12 years1984: 20.37 years1985: 20.61 years1986: 20.83 years1987: 21.06 years1988: 21.27 years1989: 21.49 years1990: 21.71 years1991: 21.93 years1992: 22.16 years1993: 22.39 years1994: 22.63 years1995: 22.87 years1996: 23.12 years1997: 23.38 years1998: 23.65 years1999: 23.93 years2000: 24.21 years2001: 24.51 years2002: 24.84 years2003: 25.2 years2004: 25.58 years2005: 25.96 years2006: 26.36 years2007: 26.76 years2008: 27.16 years2009: 27.56 years2010: 27.97 years2011: 28.4 years2012: 28.82 years2013: 29.26 years2014: 29.71 years2015: 30.16 years2016: 30.61 years2017: 31.07 years2018: 31.54 years2019: 32.01 years2020: 32.51 years2021: 33.02 years2022: 33.54 years2023: 34.07 years
years. Source: UN WPP, World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded. Retrieved 2026-10-10, published 2024-12-13.
All 74 values
Periodyears
202334.07 Estimated
202233.54 Estimated
202133.02 Estimated
202032.51 Estimated
201932.01 Estimated
201831.54 Estimated
201731.07 Estimated
201630.61 Estimated
201530.16 Estimated
201429.71 Estimated
201329.26 Estimated
201228.82 Estimated
201128.4 Estimated
201027.97 Estimated
200927.56 Estimated
200827.16 Estimated
200726.76 Estimated
200626.36 Estimated
200525.96 Estimated
200425.58 Estimated
200325.2 Estimated
200224.84 Estimated
200124.51 Estimated
200024.21 Estimated
199923.93 Estimated
199823.65 Estimated
199723.38 Estimated
199623.12 Estimated
199522.87 Estimated
199422.63 Estimated
199322.39 Estimated
199222.16 Estimated
199121.93 Estimated
199021.71 Estimated
198921.49 Estimated
198821.27 Estimated
198721.06 Estimated
198620.83 Estimated
198520.61 Estimated
198420.37 Estimated
198320.12 Estimated
198219.85 Estimated
198119.58 Estimated
198019.3 Estimated
197919.01 Estimated
197818.73 Estimated
197718.43 Estimated
197618.13 Estimated
197517.83 Estimated
197417.53 Estimated
197317.24 Estimated
197216.95 Estimated
197116.68 Estimated
197016.43 Estimated
196916.2 Estimated
196815.99 Estimated
196715.82 Estimated
196615.7 Estimated
196515.6 Estimated
196415.55 Estimated
196315.54 Estimated
196215.56 Estimated
196115.63 Estimated
196015.73 Estimated
195915.85 Estimated
195815.97 Estimated
195716.1 Estimated
195616.22 Estimated
195516.32 Estimated
195416.41 Estimated
195316.51 Estimated
195216.61 Estimated
195116.71 Estimated
195016.81 Estimated

Costa Rica compared with nearby places

United Arab Emirates: 31.23 yearsAfghanistan: 16.94 yearsAntigua and Barbuda: 35.49 yearsAlbania: 36.28 yearsArmenia: 35.83 yearsAngola: 16.45 yearsArgentina: 32.12 yearsAustria: 43.09 yearsAustralia: 37.75 yearsAzerbaijan: 32.6 yearsBosnia and Herzegovina: 44.92 yearsBangladesh: 25.33 yearsBelgium: 41.44 yearsBurkina Faso: 17.25 yearsBulgaria: 44.31 yearsBurundi: 15.9 yearsBenin: 17.77 yearsBrunei: 31.76 yearsBolivia: 24.66 yearsBrazil: 33.94 yearsBahamas: 34.6 yearsBhutan: 29.39 yearsBotswana: 22.88 yearsBelarus: 40.53 yearsBelize: 25.95 yearsCanada: 40.34 yearsDemocratic Republic of the Congo: 15.77 yearsCentral African Republic: 14.32 yearsRepublic of the Congo: 18.31 yearsSwitzerland: 42.33 yearsCôte d’Ivoire: 18.1 yearsChile: 35.97 yearsCameroon: 17.75 yearsChina: 39.07 yearsColombia: 31.61 yearsCosta Rica: 34.07 yearsCuba: 41.71 yearsCape Verde: 27.87 yearsCyprus: 37.76 yearsCzechia: 42.72 yearsGermany: 45.15 yearsDjibouti: 24.39 yearsDenmark: 41.25 yearsDominican Republic: 27.65 yearsAlgeria: 28.19 yearsEcuador: 28.41 yearsEstonia: 41.89 yearsEgypt: 24.03 yearsWestern Sahara: 32.04 yearsEritrea: 18.65 yearsSpain: 44.9 yearsEthiopia: 18.73 yearsFinland: 42.79 yearsFiji: 27.67 yearsFalkland Islands: 41.53 yearsFaroe Islands: 37.26 yearsFrance: 41.82 yearsGabon: 21.5 yearsUnited Kingdom: 39.78 yearsGeorgia: 36.8 yearsGhana: 20.93 yearsGreenland: 34.23 yearsGambia: 18.17 yearsGuinea: 17.98 yearsEquatorial Guinea: 20.98 yearsGreece: 45.75 yearsGuatemala: 22.63 yearsGuinea-Bissau: 18.94 yearsGuyana: 25.61 yearsHong Kong: 46.15 yearsHonduras: 23.55 yearsCroatia: 44.76 yearsHaiti: 23.51 yearsHungary: 43.32 yearsIndonesia: 29.83 yearsIreland: 38.42 yearsIsrael: 29.15 yearsIsle of Man: 45.68 yearsIndia: 28.06 yearsIraq: 20.35 yearsIran: 32.87 yearsIceland: 35.81 yearsItaly: 47.46 yearsJamaica: 31.67 yearsJordan: 24.28 yearsJapan: 48.96 yearsKenya: 19.53 yearsKyrgyzstan: 25.13 yearsCambodia: 25.84 yearsKiribati: 22.69 yearsNorth Korea: 36.05 yearsSouth Korea: 44.49 yearsKuwait: 34.5 yearsCayman Islands: 37.88 yearsKazakhstan: 29.46 yearsLaos: 24.28 yearsLebanon: 28.32 yearsSri Lanka: 32.81 yearsLiberia: 18.36 yearsLesotho: 21.43 yearsLithuania: 42.12 yearsLuxembourg: 38.89 yearsLatvia: 43.08 yearsLibya: 27.2 yearsMorocco: 29.19 yearsMoldova: 37.75 yearsMontenegro: 39.29 yearsMadagascar: 18.88 yearsNorth Macedonia: 40.26 yearsMali: 15.47 yearsMyanmar: 29.53 yearsMongolia: 26.75 yearsMauritania: 17.12 yearsMauritius: 36.93 yearsMalawi: 17.58 yearsMexico: 28.89 yearsMalaysia: 30.06 yearsMozambique: 16.32 yearsNamibia: 20.96 yearsNew Caledonia: 33.89 yearsNiger: 15.25 yearsNigeria: 17.75 yearsNicaragua: 25.27 yearsNetherlands: 41.4 yearsNorway: 39.54 yearsNepal: 24.68 yearsNew Zealand: 37.28 yearsOman: 29.27 yearsPanama: 29.6 yearsPeru: 29.45 yearsFrench Polynesia: 34.79 yearsPapua New Guinea: 22.34 yearsPhilippines: 25.29 yearsPakistan: 20.29 yearsPoland: 41.31 yearsPuerto Rico: 45.31 yearsPalestine: 19.76 yearsPortugal: 46.2 yearsPalau: 37.84 yearsParaguay: 26.34 yearsQatar: 33.19 yearsRomania: 42.62 yearsSerbia: 43.87 yearsRussia: 39.45 yearsRwanda: 19.44 yearsSaudi Arabia: 29.25 yearsSolomon Islands: 20.25 yearsSudan: 18.28 yearsSweden: 39.91 yearsSingapore: 35.1 yearsSlovenia: 43.89 yearsSlovakia: 41.3 yearsSierra Leone: 19.27 yearsSenegal: 19.13 yearsSomalia: 15.45 yearsSuriname: 28.1 yearsSouth Sudan: 17.97 yearsEl Salvador: 26.96 yearsSyria: 22.25 yearsEswatini: 22 yearsChad: 15.4 yearsTogo: 18.82 yearsThailand: 39.66 yearsTajikistan: 21.93 yearsTimor-Leste: 20.97 yearsTurkmenistan: 26.23 yearsTunisia: 32.13 yearsTürkiye: 32.52 yearsTrinidad and Tobago: 36.72 yearsTaiwan: 43.54 yearsTanzania: 17.24 yearsUkraine: 41.98 yearsUganda: 16.51 yearsUnited States: 38.02 yearsUruguay: 35.78 yearsUzbekistan: 26.91 yearsVenezuela: 29.03 yearsVietnam: 32.43 yearsVanuatu: 20.14 yearsSamoa: 19.9 yearsYemen: 18.18 yearsSouth Africa: 28.21 yearsZambia: 17.49 yearsZimbabwe: 17.81 years
  • Under 19
  • 19 to 24
  • 24 to 29
  • 29 to 36
  • 36 to 41
  • 41 and over
  • No data
Median age, July 1 estimate, 2023, years. Costa Rica is outlined. Same source and period for every area shown. Source: United Nations, Department of Economic and Social Affairs, Population Division. Boundaries: Natural Earth (public domain).

Rankings

Definition

Age that divides the estimated population on July 1 into two groups of equal size.

Modelled estimates by country and for the World. The reference date and method differ from median_age, which uses January 1 statistics and multi-year survey estimates.

Report a problem with this figure

How to cite

United Nations, Department of Economic and Social Affairs, Population Division (2024). World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded. Modelled estimate. https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz. Retrieved 2026-10-10. CC BY 3.0 IGO.

Citation styles

The publisher is the author. Invokely is named only as the place the figures were read, where a style asks for it.

APA 7

United Nations, Department of Economic and Social Affairs, Population Division. (2024). World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded (Median age, July 1 estimate, Costa Rica, 1950 to 2023) [Data set]. Retrieved October 10, 2026, from https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz

MLA 9

World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded, Median age, July 1 estimate, Costa Rica, 1950 to 2023. United Nations, Department of Economic and Social Affairs, Population Division, 13 Dec. 2024, https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz. Invokely, https://invokely.ai/en/median-age-midyear/costa-rica. Accessed 10 Oct. 2026.

Chicago (author-date)

United Nations, Department of Economic and Social Affairs, Population Division. 2024. World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded. Median age, July 1 estimate, Costa Rica, 1950 to 2023. Dataset. Accessed October 10, 2026. https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz. Also distributed by Invokely, https://invokely.ai/en/median-age-midyear/costa-rica.

Harvard

United Nations, Department of Economic and Social Affairs, Population Division (2024) World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded, Median age, July 1 estimate, Costa Rica, 1950 to 2023 [Dataset]. Available at: https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz, via Invokely: https://invokely.ai/en/median-age-midyear/costa-rica (Accessed: 10 October 2026).

BibTeX
@misc{united_median_age_july_1_2023,
  author = {{United Nations, Department of Economic and Social Affairs, Population Division}},
  title = {{World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded: Median age, July 1 estimate, Costa Rica, 1950 to 2023}},
  year = {2024},
  howpublished = {Data set},
  url = {https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz},
  urldate = {2026-10-10},
  note = {Accessed via Invokely, https://invokely.ai/en/median-age-midyear/costa-rica. Publisher attribution: United Nations, Department of Economic and Social Affairs, Population Division (2024). World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded. Modelled estimate. https://population.un.org/wpp/assets/Excel\%20Files/1\_Indicator\%20(Standard)/CSV\_FILES/WPP2024\_Demographic\_Indicators\_Medium.csv.gz. Retrieved 2026-10-10. CC BY 3.0 IGO.},
}
RIS
TY  - DATA
AU  - United Nations, Department of Economic and Social Affairs, Population Division
TI  - World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded: Median age, July 1 estimate, Costa Rica, 1950 to 2023
PY  - 2024
DA  - 2024/12/13
PB  - United Nations, Department of Economic and Social Affairs, Population Division
DB  - Invokely
UR  - https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz
L2  - https://invokely.ai/en/median-age-midyear/costa-rica
Y2  - 2026/10/10
N1  - Accessed via Invokely, https://invokely.ai/en/median-age-midyear/costa-rica.
N1  - Publisher attribution: United Nations, Department of Economic and Social Affairs, Population Division (2024). World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded. Modelled estimate. https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz. Retrieved 2026-10-10. CC BY 3.0 IGO.
ER  - 
Embed this chart

Paste this code into a web page or a blog post. The chart shows the latest figures as they are published, with the source and a link back to this page.

Sites that read oEmbed links, such as WordPress, can show the chart when you paste the link to this page.

Use this data in your AI agent

Invokely serves this figure to AI assistants through MCP and to code through a REST API, with the source and citation attached. Ask your assistant:

What is the latest median age, July 1 estimate in Costa Rica? Cite the source.
get_value {"indicator":"median_age_midyear","place":"cr"}
GET https://invokely.ai/api/v1/value?indicator=median_age_midyear&place=cr

Connect Claude, ChatGPT or Cursor in one step. The trial answers 25 calls a day without an account.

Questions

What is the median age, July 1 estimate in Costa Rica?

Median age, July 1 estimate in Costa Rica was 34.07 years in 2023, according to the United Nations, Department of Economic and Social Affairs, Population Division. That is up 0.53 from 2022. That is the 104th highest of 236 countries in 2023.

Where does this figure come from?

United Nations, Department of Economic and Social Affairs, Population Division. World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded. Retrieved by Invokely on 2026-10-10.

What was the highest median age, July 1 estimate in Costa Rica?

34.07 years in 2023, the highest value since 1950 in this series.

Median age, July 1 estimate in other countries

Related statistics for Costa Rica

All statistics for Costa Rica | Costa Rica in figures