Purpose. The method of mathematical modeling is an important tool for solving complex problems involving the analysis of groundwater dynamics and heat and mass transfer processes in them when studying their contamination from various anthropogenic sources in the event of accidental spills of chemically hazardous substances, etc. The main purpose of the article is to develop a set of mathematical models for calculating the process of filtration of non-pressure groundwater, mass transfer of impurities and the process of heat transfer in groundwater. Methodology. The two-dimensional Boussinesq equation of filtration was used to predict the dynamics of groundwater. The two-dimensional equation of convective-diffusive transport of impurities was used to model the processes of mass transfer in groundwater. The process of freezing of individual sections of the groundwater flow is modeled using the Laplace equation for the velocity potential (calculation of the flow velocity field in a time-varying geometry) and the two-dimensional equation of heat transfer in groundwater. Finite difference schemes were used to solve the modeling equations of groundwater dynamics and heat and mass transfer. Findings. A set of mathematical models has been developed to calculate the process of filtration of non-pressure groundwater and its chemical contamination. The experiment has confirmed the adequacy of the constructed numerical model of filtration of a non-pressure groundwater flow. An effective mathematical model was developed that allows determining the temperature fields in groundwater during the operation of a well used to freeze certain sections of the flow. The results of computer modeling indicate the effectiveness of the developed mathematical models. Originality. Effective mathematical models for predicting the level of chemical contamination of groundwater, its dynamics and thermal regime are proposed. The constructed mathematical models make it possible to determine the dynamics of changes in the temperature regime of groundwater during the operation of wells through which refrigerant is supplied to freeze individual areas. A computer program has been developed that allows for a comprehensive assessment of groundwater conditions. Practical value. A set of computer programs has been developed to conduct a computational experiment to study the processes of filtration, chemical contamination of groundwater and heat transfer processes in them. This set of programs can be used for the scientific substantiation of engineering solutions aimed at protecting groundwater.