Introduction. The formation of salt deposits and oilfield equipment’s corrosion in most oil fields has become particularly relevant due to the increase in the volume of oil produced and the increase in its water content in recent years. The deposition of salts in the formation and wells leads to a decrease in the permeability of the oil reservoir, the flow rate of wells. The aim of the work is to use machine learning algorithms to simulate the effects of an electromagnetic field on the processes of salt deposition and corrosion. Prediction of experimental results will allow faster and more accurate experiments to establish the influence of electromagnetic fields on the processes of corrosion and salt deposition.Materials and methods. Three groups of data were used, to train the models, differing in the composition of the studied initial model salt solution: the waters of the Vyngapurovsk’s and Priobsk’s deposits, as well as tap water. The following machine learning models were used: linear regression with Elastic-Net regularization, the k-nearest neighbors algorithm, the decision tree, the random forest and a fully connected neural network.Results. The processes of electromagnetic field influence on the formation of salt deposits and corrosion of oilfield equipment were simulated with the help of machine learning algorithms. Python program has been developed to predict the output results of experiments. Modeling with various models and their parameters is carried out.Discussion and conclusions. It was found that the decision tree and the random forest have the best accuracy of predictions, from the experiments conducted. This is due to the fact that there is too little data in the training samples. With the increase in the number of observations, it is worth using neural networks of various architectures.