Purpose. Development and use of a mathematical model of the stages of formation of high-voltage pulse discharges in gas bubbles in the discharge gap «rod-plane» to identify the features of the electric field intensity distribution in the reactor and determine the current density in the load during disinfection and purification of liquid media by high-voltage pulse discharges and find the most rational treatment. Methodology. To achieve this goal, we used computer modeling using the finite element method as a method of numerical analysis. An experimental reactor model was created that takes into account the dynamics of discharges in gas bubbles in water. The equations describing the system include the generalized Ampere equation, the Poisson equation and the electric displacement equation, taking into account the corresponding initial and boundary conditions, as well as the properties of materials. The dependence of the potential of a high-voltage electrode on time has the form of a damped sinusoid, and the specific electrical conductivity in a gas bubble is a function of time. Processes occurring at the front of the voltage pulse from 0 to 20 ns are considered. Results. It is shown that with an increase in conductivity and high-voltage potential to amplitude values in a gas bubble, the electric field strength in the water layer in the reactor reaches 70 kV/cm, and it is in the water layer that there is a strong electric field. The calculations show that already by 19th ns the density of conduction currents in water prevails over that of displacement currents. At the same time, additional inclusions in the water significantly affect the distribution of electric field strength and current density, creating a significant difference in their values at the boundaries of the interface between the bubble, conductive element and water. Originality. A simulation of the dynamics of transient discharge processes in a gas bubble and a layer of water with impurities was carried out, including an analysis of the distribution of the electric field strength and current density in a system with rod-plane electrodes in the phase transition section of a gas bubble-water. This approach allows us to reveal the features of processes in reactors and to investigate the influence of phase transitions on the distribution of electrophysical quantities. Practical value. Computer simulations confirm the prospect of using nanosecond discharges generated in gas bubbles within a volume of water for widespread industrial use and are of great interest for further experimental and theoretical research. References 25, figures 9.