Helicobacter pyloriis one of the most common bacteria affecting human societies worldwide, and is mainly associated with gastrointestinal complications due to different virulence factors. This study aimed to investigate some virulence genes ofH. pyloriin gastric biopsies of patients with gastritis in Sari city, North of Iran. Informed consent forms were obtained from the studied patients, and those who needed endoscopy were included in the study. To evaluate the prevalence of cagA,iceA1,iceA2, vacA,dupA, and oipAgenes, gastric biopsies with positive or negative rapid urease test were collected from 50 patients (25 in each group) with gastro-duodenal diseases. The bacterial DNAs were extracted by a specific kit, and the presence of the genes was analyzed by PCR using specific primers. Eighteen (72%) biopsies from 25H. pylori-positive samples were cagA-positive, while 17 (68%) biopsies contained thevacAgene, and 11 (44%) samples had bothvacAandcagAgenes. However, 16 (64%), 12 (48%), 13 (52%), and 14 (56%) biopsies containeddupA,iceA1,iceA2, andoipAgenes, respectively. Due to the significant role of the studied virulence factors in the pathogenicity ofH. pylori, the high prevalence of these factors in biopsies of patients with gastritis is a concern needing to the management in this region.