At the 2006 National Census, its population was 24,424 in 6,954 households.[5] The following census in 2011 counted 25,379 people in 7,730 households.[6] The latest census in 2016 showed a population of 27,379 people in 8,906 households.[2]
The history of Nain appears to go back to pre-Islamic times, but no information about it has survived. It is famous for its big castle and its congregational mosque, the Jameh Mosque of Nain. It was described by medieval historians to have been in the sardsīr ("cooler highland areas"), and being a subordinate to either Yazd or Isfahan, despite being part of the administration of the Fars Province. The historian and geographer Hamdallah Mustawfi reported that the walls of Nain's castle, which are still present as mud brick remnants, were four thousand paces long. The nearby mountains' silver mines are also described by the geographers. During the Safavid era, the kaolinite of Nain was utilized to manufacture porcelain at the city of Kashan.[7]
The following graph depicts the language composition of the city. Naini is a Central Plateau language[8] which is part of the Northwestern Iranian languages.[9]
^Nain, Iran can be found at GEOnet Names Server, at this link, by opening the Advanced Search box, entering "-3076275" in the "Unique Feature Id" form, and clicking on "Search Database".