Mahallat is a city in the Central District of Mahallat County, Markazi province, Iran, serving as capital of both the county and the district.