Drilling wells under conditions of production from the S2V reservoir in the territory is a difficult task, which is associated with various technical and geological difficulties. These complications include increased well construction time and the potential for wellbore loss. The drilling process can disrupt the equilibrium of the rocks forming the walls of the well, especially in the case of complex clay formations. For successful drilling and risk minimization, special attention must be paid to the choice of drilling fluid and mud formulations. Various types of drilling fluids have been considered, including High Inhibition Systems (HPWBM) and Triple Inhibition Flushing Fluids, which contribute to improving drilling conditions in difficult geological conditions. Particular attention is paid to the drilling interval from 1650 to 2220 meters, which is represented by complex rocks, including limestones, mudstones and dolomitic areas with a porous structure. Potential problems such as caving, collapses, loss of drilling fluid, and differential sticking have been considered and mud formulations have been proposed to effectively combat these problems. To assess the impact of the solutions on the rocks, a study of the change in permeability of core samples was carried out using the permeability recovery factor. The results of the primary studies make it possible to make a preliminary conclusion on the compliance of the solution of smalllinous lime-inhibited with the necessary characteristics. Overall, this study highlights the importance of selecting the right mud formulations to ensure safe and efficient drilling of wells in challenging geological conditions.