Chronic atrophic gastritis (CAG), characterized by inflammation and erosion of the gastric lining, is a prevalent digestive disorder and considered a precursor to gastric cancer (GC). Coptis chinensis France (CCF) is renowned for its potent heat-clearing, detoxification, and anti-inflammatory properties. Zuojin Pill (ZJP), a classic Chinese medicine primarily composed of CCF, has demonstrated effectiveness in CAG treatment. This study aims to elucidate the potential mechanism of CCF treatment for CAG through a multifaceted approach encompassing network pharmacology, molecular docking, molecular dynamics simulation and experimental verification. The study identified three major active compounds of CCF and elucidated key pathways, such as TNF signaling, PI3K-Akt signaling and p53 signaling. Molecular docking revealed interactions between these active compounds and pivotal targets like PTGS2, TNF, MTOR, and TP53. Additionally, molecular dynamics simulation validated berberine as the primary active compound of CCF, which was further confirmed through experimental verification. This study not only identified berberine as the primary active compound of CCF but also provided valuable insights into the molecular mechanisms underlying CCF's efficacy in treating CAG. Furthermore, it offers a reference for refining therapeutic strategies for CAG management.