Introduction: Nearly 25 years have passed since the investigation of Shiga toxigenic Escherichia coli (STEC). STEC is a member of enterohemorrhagic Escherichia coli (EHEC) which is able to produce Shiga-like toxins (Verotoxin) and can cause gastroenteritis, diarrhea, dysentery, and hemorrhagic colitis (HC), as well as life-threatening sequels like hemolytic uremic syndrome (HUS) and thrombotic thrombocytopenic purpura (TTP). Since the incidence of gastroenteritis due to STEC is increasing and given its important hygienic, social, and cultural aspects, it is necessary to develop rapid, specific, and accurate procedures like PCR to prevent its hazards and sequels. By means of molecular methods, we will be able to establish a diagnosis early in the course of disease using a small amount of sample or low level of contamination and will be capable of in situ detection and identification.Methods: In this study, we used the PCR method for detection and genetic identification of STEC in cultures of 44 human Escherichia coli positive feces. The assay utilized three specific primer pairs for detection of ehxA, stx1, and stx2 (including variants of stx2) genes which produced 321,348, and 584 base pairs, respectively.Results: Three Escherichia coli isolates (about 6.8%) were positive for stx2 genes, but no ehxA or stx1 genes were found.Discussion: The result of this study differs from others' due to the difference in geographical prevalence of phages carrying accessory virulence genes, environmental conditions, or physiology of host. The difference between the results shows that the excretion of Shiga toxin-producing Escherichia coli is affected by several factors like food, age, stress, and seasonal changes.