Nynäshamn Municipality () is a municipality in Stockholm County in east central Sweden. Its seat is located in the city of Nynäshamn.

In 1974 the former City of Nynäshamn (itself instituted in 1946) was merged with Ösmo, from which it had been detached as a market town (köping) in 1911 and Sorunda, all in the Södertörn peninsula and adjacent islands.

Demography

Population development

2022 by district

This is a demographic table based on Nynäshamn Municipality's electoral districts in the 2022 Swedish general election sourced from SVT's election platform, in turn taken from SCB official statistics.

In total there were 29,442 residents, including 21,526 Swedish citizens of voting age. On 31 December 2017 there were 28 109 residents in Nynäshamn, of which 4 849 people (17.25%) were born in a country other than Sweden. Divided by country in the table below - the Nordic countries as well as the 12 most common countries of birth outside of Sweden for Swedish residents have been included, with other countries of birth bundled together by continent by Statistics Sweden.

{| class="wikitable collapsible collapsed"

! colspan=3| Country of birth