BackgroundCutaneous leishmaniasis (CL) is a wide-reaching infection of major public health concern. Iran is one of the six most endemic countries in the world. This study aims to provide a spatiotemporal visualization of CL cases in Iran at the county level from 2011 to 2020, detecting high-risk zones, while also noting the movement of high-risk clusters.MethodsOn the basis of clinical observations and parasitological tests, data of 154,378 diagnosed patients were obtained from the Iran Ministry of Health and Medical Education. Utilizing spatial scan statistics, we investigated the disease’s purely temporal, purely spatial, spatial variation in temporal trends and spatiotemporal patterns. AtP= 0.05 level, the null hypothesis was rejected in every instance.ResultsIn general, the number of new CL cases decreased over the course of the 9-year research period. From 2011 to 2020, a regular seasonal pattern, with peaks in the fall and troughs in the spring, was found. The period of September–February of 2014–2015 was found to hold the highest risk in terms of CL incidence rate in the whole country [relative risk (RR) = 2.24,P< 0.001)]. In terms of location, six significant high-risk CL clusters covering 40.6% of the total area of the country were observed, with theRRranging from 1.87 to 9.69. In addition, spatial variation in the temporal trend analysis found 11 clusters as potential high-risk areas that highlighted certain regions with an increasing tendency. Finally, five space-time clusters were found. The geographical displacement and spread of the disease followed a moving pattern over the 9-year study period affecting many regions of the country.ConclusionsOur study has revealed significant regional, temporal, and spatiotemporal patterns of CL distribution in Iran. Over the years, there have been multiple shifts in spatiotemporal clusters, encompassing many different parts of the country from 2011 to 2020. The results reveal the formation of clusters across counties that cover certain parts of provinces, indicating the importance of conducting spatiotemporal analyses at the county level for studies that encompass entire countries. Such analyses, at a finer geographical scale, such as county level, might provide more precise results than analyses at the scale of the province.Graphical AbstractSupplementary InformationThe online version contains supplementary material available at 10.1186/s40249-023-01103-1.