AbstractNon-productive times in drilling hydrocarbon or geothermal energy wells are usually present. Its leading causes are the loss of drilling fluid through natural fractures and the filtration of fluid in permeable formations, costing the industry hundreds of millions of dollars annually. Therefore, the objective of this research is to characterize the interaction between the drilling fluid and the wellbore by employing a numerical model that allows determining: the changes in filtrate concentration, filtrate velocity, fluid velocity through natural fractures, permeability reduction, and mud filter cake buildup, as well as the impact of each variable. The behavior of the drilling fluid in the wellbore, based on petrophysical, rheological properties, and operating conditions, will eventually favor the efficient implementation of new drilling fluid formulations.