Hydraulic fracturing is an important measurement for the stimulation of oil and gas wells and is widely used in the development of low-permeability and ultra-low-permeability reservoirs. However, fractures can pass through barriers with poor properties during fracturing, resulting in fractures that do not reach the pre-designed length. In a worse situation, it is possible to communicate with the water layer and cause sudden water flooding, resulting in the failure of the fracturing construction. In order to improve the efficiency of fracturing construction, an effective way to control the height of fractures is by laying diverting agents to form artificial barriers. In this study, we established a three-dimensional numerical calculation model of fracture propagation, considering artificial barriers in the finite element analysis framework; the fracture propagation is governed by a cohesive zone model. The influence of artificial barriers with different Young’s modulus and different permeability on the fracture height was simulated and calculated. Different fracture geometries under different pumping injection rates were also considered. The simulation results show that the smaller the Young’s modulus of the artificial barrier, the smaller the extension in the direction of the fracture height: when its Young’s modulus is 28 GPa, the half fracture height is about 25 m, while when Young’s modulus increases to 36 GPa, the half fracture height increases by about 10m. When the fracture does not penetrate the artificial barrier area, the larger the Young’s modulus, the smaller the fracture width and the larger the fracture height. With the change in the permeability of the artificial barrier, the change in the fracture width direction of the fracturing fracture is only about 0.5 m, but the inhibition on the fracture height direction is more obvious; in the case of maximum permeability and minimum permeability, the fracture height change is 10 m. The influence of pumping injection rates on the width and height of the fracture is obvious: with the increase in the pumping rates, both the height and width of the fractures increase. However, when the pumping rate increases from 0.12 m3/s to 0.14 m3/s, the change in the direction of fracture height is no longer significant, and the increase is only 0.6 m. This study investigates the role of artificial barrier properties and pumping rates in controlling fracture height extension, clarifies the feasibility of artificial barriers to control fracture height technology, and provides guidance for the selection of diverting agents and the determination of the pumping rate in the process of fracturing construction.