The study based on the thermodynamic computer programme PHREEQC presents changes in migration forms of heavy metals in groundwater calculated based on the changing pollution of groundwater under the hydrogeological conditions of a landfill (sandy aquifer). Under neutral medium conditions, as the pollution of shallow groundwater and the content of organic matter decrease, the amounts of heavy metals in ionic form is found to increase considerably. The intensive pollution zone shows the highest percentage of migration forms of carbonates. Furthermore, the formation of organochlorines causes the formation of migration forms of cadmium chloride in the intensive pollution zone. The calculated saturation index values show that crystallization plays the main role in heavy metal attenuation in glaciofluvial alluvial aquifers.