The preferential areas of recharge of aquifers were identified by means of analysis of oxygen-18 and deuterium, expressed as their relative deviations delta 18O, delta superscript 2H and the excess of deuterium in precipitation, soil moisture, springs, and shallow wells, as well as in the aquifers and streams over the Detrital Tertiary in the Madrid basin.