Adherence to the non-pharmaceutical interventions (NPIs) put in place to mitigate the spreading of infectious diseases is a multifaceted problem. Several factors, including socio-demographic and socio-economic attributes, can influence the perceived susceptibility and risk which are known to affect behavior. Furthermore, the adoption of NPIs is dependent upon the barriers, real or perceived, associated with their implementation. Here, we study the determinants of NPIs adherence during the first wave of the COVID-19 Pandemic in Colombia, Ecuador, and El Salvador. Analyses are performed at the level of municipalities and include socio-economic, socio-demographic, and epidemiological indicators. Furthermore, by leveraging a unique dataset comprising tens of millions of internet Speedtest® measurements from Ookla®, we investigate the quality of the digital infrastructure as a possible barrier to adoption. We use mobility changes provided by Meta as a proxy of adherence to NPIs and find a significant correlation between mobility drops and digital infrastructure quality. The relationship remains significant after controlling for several factors. This finding suggests that municipalities with better internet connectivity were able to afford higher mobility reductions. We also find that mobility reductions were more pronounced in larger, denser, and wealthier municipalities.Supplementary InformationThe online version contains supplementary material available at 10.1140/epjds/s13688-023-00395-5.