Abstract The spatial and temporal variations of some heavy metals in the waters of oulja wells have been studied. The results obtained showed that the iron content in all the wells is below the limit value of the water used to produce drinking water (Moroccan standard). For the chrom, its concentration varies from one well to the other, so the lead presents significant spatial variations. Moreover, the values found for zinc show no anomaly for the quality of the water and in the end the waters loaded by the manganese are classified according to the Moroccan water quality grid in a good class.