Dengue prevalence results from the interaction of multiple socio-environmental variables which influence its spread. This study investigates the impact of forest loss, precipitation, and temperature on dengue incidence in Mexico from 2010 to 2020 using a Bayesian hierarchical spatial model. Three temporal structures—AR1, RW1, and RW2—were compared, with RW2 showing superior performance. Findings indicate that a 1 % loss of municipal forest cover correlates with a 16.9 % increase in dengue risk. Temperature also significantly affects the vectors' ability to initiate and maintain outbreaks, highlighting the significant role of environmental factors. The research emphasizes the importance of multilevel modeling, finer temporal data resolution, and understanding deforestation causes to enhance the predictability and effectiveness of public health interventions. As dengue continues affecting global populations, particularly in tropical and subtropical regions, this study contributes insights, advocating for an integrated approach to health and environmental policy to mitigate the impact of vector-borne diseases.