The epidemiology of idiopathic inflammatory myopathies (IIMs) varies by country. Investigating the epidemiological profile among Thai IIMs could help to inform public health policy, potentially leading to cost-reducing strategies. We aimed to assess the prevalence and incidence of IIM in the Thai population between 2017 and 2020. A descriptive epidemiological study was conducted on patients 18 or older, using data from the Information and Communication Technology Center, Ministry of Public Health, with a primary diagnosis of dermatopolymyositis, as indicated by the ICD-10 codes M33. The prevalence and incidence of IIMs were analyzed with their 95% confidence intervals (CIs) and then categorized by sex and region. In 2017, the IIM cases numbered 9,074 among 65,204,797 Thais, resulting in a prevalence of 13.9 per 100,000 population (95% CI 13.6–14.2). IIMs were slightly more prevalent among women than men (16.8 vs 10.9 per 100,000). Between 2018 and 2020, the incidence of IIMs slightly declined from 5.09 (95% CI 4.92–5.27) in 2017 and 4.92 (95% CI 4.76–5.10) in 2019 to 4.43 (95% CI 4.27–4.60) per 100,000 person-years in 2020. The peak age group was 50–69 years. Between 2018 and 2020, the majority of cases occurred in southern Thailand, with incidence rates of 7.60, 8.34, and 8.74 per 100,000 person-years. IIMs are uncommon among Thais, with a peak incidence in individuals between 60 and 69, especially in southern Thailand. The incidence of IIMs decreased between 2019 and 2020, most likely due to the COVID-19 pandemic, which reduced reports and investigations.