The paper examines the conditions for the formation of spatial extremes in total ozone content (TOC) over the territory of Ukraine caused by dynamic factors. The study used satellite observations of TOC and meteorological parameters (u,v components of wind and geopotential height) from the ERA5 reanalysis in the Northern Hemisphere. We describe the processes of air advection with significant TOC deviations and implement its classification into the main types. Seventy cases of spatial extremes were identified, 86% of which were observed under air advection with a western component. The intense westerly flow in the lower stratosphere is responsible for both the advection of air with high TOC (total ozone content) and its local formation. Under a well-developed polar vortex, most ozone extremes are transported by the main flow and reach the territory of Ukraine from the west and northwest, forming significant positive deviations. In this case, the polar vortex itself must be displaced into the Eastern Hemisphere for Ukraine to be closer to its outer boundary. When the integrity of the polar vortex is disrupted, it takes on a wavelike structure, leading to greater variability in the processes forming ozone extremes over Ukraine, including TOC advection from the north and local formation. With the breakdown of the polar vortex and the onset of a rapid TOC decrease in late March to April, the likelihood of positive ozone deviations from the north increases, though their recurrence does not exceed 7% of the total number of extremes. Significant negative TOC deviations spread over Ukraine during the period of seasonal minima under two conditions: advection from the northwest when the stratospheric polar vortex is absent (until November), and advection from the west in the early stages of vortex formation (in December). The established and described dynamic conditions for the formation of ozone layer extremes are important for extending the lead time in forecasting ozone anomalies over Ukraine.