Nain (, also Romanized as Nāīn & Nāein) is a city in the Central District of Nain County, Isfahan province, Iran, and serves as both capital of the county and of the district.

At the 2006 National Census, its population was 24,424 in 6,954 households. The following census in 2011 counted 25,379 people in 7,730 households. The latest census in 2016 showed a population of 27,379 people in 8,906 households.

History 
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.

Under the Buyid dynasty (934–1062), the Jameh Mosque of Nain was constructed.

Demographics 
The following graph depicts the language composition of the city. Naini is a Central Plateau language which is part of the Northwestern Iranian languages.

References

 
 

Populated places in Nain County

Cities in Isfahan Province