structural:scholar_edition, stylistic:style_transfer, quality:corruption
Religion

The population of Tallinn on 1 January 2024 was 461,346. It is the primate and most populous city in Estonia, the 3rd most populous city in the three Baltic States (Estonia, Latvia, Lithuania), as well as the 59th most populous city in the European Union.

According to Eurostat, in 2004, Tallinn had one of the largest number of non-EU nationals of all EU member states' capital cities. Ethnic Russians are a significant minority in Tallinn, as around a third of the city's residents are first and second generation immigrants from Russia and other parts of the former Soviet Union; a majority of the Soviet-era immigrants now hold Estonian citizenship.

Ethnic Estonians made up over 80% of Tallinn's population before World War II. As of 2022, ethnic Estonians made up over 53% of the population. Tallinn was one of the urban areas with industrial and military significance in northern Estonia that during the period of Soviet occupation underwent extensive changes in its ethnic composition due to large influx of immigrants from Russia and other parts of the former USSR. Whole new city districts were built where the main intent of the then Soviet authorities was to accommodate Russian-speaking immigrants: Mustamäe, Väike-Õismäe, Pelguranna, and most notably, Lasnamäe, which in 1980s became, and is to this day, the most populous district of Tallinn.

The official language of Tallinn is Estonian. As of 2011, 50.1% of the city's residents were native speakers of Estonian, whereas 46.7% had Russian as their first language. While English is the most frequently used foreign language by the residents of Tallinn, there are also a significant number of native speakers of Ukrainian and Finnish.