The invention relates to a pill for treating helicobacter pylori related gastritis, and the pill can be used for effectively solving the problem of medication for symptoms such as lateral thorax tumescence, pain, acid regurgitation, heartburn and the like caused by helicobacter pylori infection related chronic gastritis and peptic ulcer. A technical scheme for solving the problem is as follows: the pill is prepared from the following raw medicines by weight: 12g-18g of coptis chinensis, 12g-18g of scutellaria baicalensis, 6g-8g of pinellia ternate, 12g-18g of dandelion, 12g-18g of mangnolia officinalis, 8g-12g of codonopsis pilosula, 5g-15g of rheum officinale and 3g-7g of liquorice. The raw medicines are dried, smashed, sieved with a sieve with the size of 100-140 meshes, added with water to obtain pills and then sterilized. The pill disclosed by the invention has the effects of clearing away heat, promoting circulation of blood, regulating the flow of vital energy and relieving pain. The pill has the advantages of being obvious in curative effect, low in cost, convenient, practical, rapid in relief of the pain and convenient to carry, so the pill is innovation of a medicament for treating the helicobacter pylori related gastritis.