In order to clarify the gas-water two-phase flow law in horizontal wells and study the gas-water two-phase flow characteristics in horizontal wells, firstly, the gas-water two-phase in a horizontal well is numerically simulated and analyzed, and the flow pattern distribution under different well inclination angles and different phase separation flow rates is obtained. Secondly, a series of production logging instruments including CAT instrument was used to conduct experimental research on gas-water two-phase flow under different flow conditions, and the measured values of each CAT probe were extracted to reflect the local holdup under different flow patterns. Finally, SSA-BP neural network algorithm is used to identify a gas-water two-phase flow pattern in a wellbore by using experimental parameters such as center holdup, well inclination angle, spinner revolution, and CAT probe measurements. The recognition accuracy of the neural network was improved from 83.75% to 91.66%, and the operation speed was accelerated. It provides a research idea to explore the flow characteristics of gas-water two-phase flow in horizontal wells.