The COVID-19 pandemic has caused a decrease in outdoor activities, but an increase in indoor ones. This change in the intensity of land use has caused changes in pollution patterns. Urban dust contaminated with heavy metals can be a risk to the human population. Therefore, the objective of this work was to evaluate the pollution caused by heavy metals in urban dust indoors and outdoors due to changes in land use during the pandemic. Sampling was carried out by the Gomez Palacio citizens. The total number of urban dust samples was 330, 50% indoor samples and 50% outdoor sample. The elements studied were Ca, Cu, Fe, K, Mn, Ni, Pb, Rb, Sr, Ti, Y, Zn, and Zr. The heavy metals were measured through a portable XRF; the contamination factor and the load pollution index were used to assess the pollution level. The human health risk was evaluated with the USEPA methodology. Cu, Pb, and Zn presented higher concentrations indoors than outdoors, probably due to domestic factors, such as the age of the houses and the paint on the walls. Zn presented the highest pollution level among all the metals, outdoors and indoors; spatially, the sites sampled in the northwest, close to agricultural areas, presented the highest Zn pollution. Pb had a moderate pollution level in most of the samples (60%), but some samples showed a high Pb pollution. The health risk was considered within the acceptable levels for Cu, Fe, Ni, Pb, Zn. However, Mn deserves attention because the average of the samples slightly exceeded the USEPA safety limits for children. Children are at higher risk compared to adults. Indoor environments need to be better analyzed because they were shown to represent a higher risk to the population than outdoor ones due to heavy metal pollution by Zn, Cu, and Pb. The pandemic impacted land use intensity; this study reports an apparent effect of the pandemic on the amount and type of heavy metals indoors and outdoors.