Gnesta is a municipality in central Sweden, in the county of Södermanland. The municipality covers an area of 460.6 km². Of the total population of 9768, 4894 are male, and 4874 are female. The population density of the community is 21 inhabitants per km².