Dengue virus and severe acute respiratory syndrome coronavirus 2 coexist in dengue-endemic countries; therefore, the adoption of preventive measures is essential to control the spread of both viruses. We conducted an ecological study to compare the temporal patterns of the incidence of dengue before and during the Coronavirus disease 2019 (COVID-19) pandemic in Peru. A time-series analysis comparing the incidence of dengue using a Student's t test with variance correction was performed. Poisson regression was applied to determine the incidence rate ratio (IRR) of dengue before and during the COVID-19 pandemic. The incidence of dengue was found to be increased in all endemic regions of Peru during the COVID-19 pandemic, with the highest incidences registered in Ica (IRR = 90.14), Huánuco (IRR = 38.6), and Ucayali (IRR = 23.78), with the exception of Piura (IRR = 0.83). The highest increases in the number of dengue cases per million inhabitants were in Ucayali (393.38), Tumbes (233.19), Ica (166.08), and Loreto (129.93). The gradient of dengue cases was positive in all endemic regions during the COVID-19 pandemic. The number of dengue cases per million increased during the COVID-19 pandemic throughout Peru and in several endemic regions, with the exception of Piura.