Background: Blastocystis is one of the most common parasites, reported from both human and animals. This parasite is more prevalent in regions with low levels of hygiene, close contact with animal and unsuitable disposal systems. The aim of the study was to subtype Blastocystis sp., isolated from diarrheic and non-diarrheic patients using sequencing of 18S ribosomal DNA. Methods: Totally, 300 stool samples were collected from diarrheic and non-diarrheic patients referred to Imam Reza Hospital, Tehran from Apr to Aug 2015. All samples were concentrated using conventional Formalin - ether technique and recognized under light microscope. The fresh stool samples were also cultivated in clotted fetal bovine medium and examined for growing of Blastocystis every 48 h with direct smear slides for 10 d. DNA extraction was performed on all positive samples. Amplified DNA fragment of 18S rDNA was sequenced and compared with reference genes, previously deposited in Genbank database. Results: The number of diarrheic and non-diarrheic patients participated in the study was 134 (44.66%) and 166 (55.34%), respectively. Three subtypes 1, 2, 3 were identified from positive samples. Subtype 2 was the most prevalent (36.5%) followed by subtype 1 (33.3%) and subtype 3 (30.2%). There were no mixed subtypes. Furthermore, the most prevalent subtypes in diarrheic and non-diarrheic patients were subtype 2 (39.28%) and subtype 1 (37.14%), respectively. Conclusion: Blastocystis sp., is one of the most prevalent unicellular parasites among diarrheic and non-diarrheic patients. Indeed, ST2 was the most prevalent subtype particularly in those samples collected from diarrheic patients.