Methods for in situ formation in soil of a permeable reactive barrier or zone comprising a phosphate precipitate, such as apatite or hydroxyapatite, which is capable of selectively trapping and removing radionuclides and heavy metal contaminants from the soil, while allowing water or other compounds to pass through.