While drilling formation pressure monitoring is an important basis for ensuring drilling safety and oil and gas discovery, the calculation of existing pressure monitoring methods is complicated and the accuracy is difficult to improve. Taking the actual well data of well area X in Yinggehai Basin as the object, correlation analysis was first carried out to select and standardize the data features, and relevant effective parameters were extracted. Two kinds of neural networks, back-propagation network BP and back-propagation network GA-BP optimized by genetic algorithm, were used to establish artificial intelligence monitoring models of formation pressure based on 10 kinds of measuring and logging data, respectively. The application effect of the model was evaluated based on the results of monitoring the pressure while drilling. The results show that the monitoring accuracy of the BP neural network model is 91.25%, and that of the GA-BP neural network model is 92.89%. The latter has a better monitoring effect on formation pore pressure. In formation pressure monitoring in areas with a high degree of well control, the introduction of artificial intelligence technology has the advantages of simplicity, speed and high precision, and can provide a reference for other areas of pressure monitoring while drilling.