Intestinal parasite infection (IPI) is still a very important public health issue. The severity of the parasitic disease has been reported as a high infection in immunocompromised patients and children. Hence, this study aimed to investigate the prevalence of intestinal parasites among immunocompromised patients and children with various gastrointestinal system complications in Sana'a city, Yemen, with different variables, including genus and age, and explore the risk factors associated with parasitic intestinal infections. The study socioeconomic data and certain behavioral and environmental risk factors and stool samples were collected from immunocompromised adult and children's patients, including children (one to eight years old), pregnant women, diabetes mellitus patients, cancer patients, HIV patients, and older adults. Out of 436 fecal samples, the overall prevalence rate of IPIs among immunocompromised patients and children in Sana'a was 51.8%. In contrast, the rate of infection in children (26.1%) was higher than that in old patients (25.7%) and in females (38.5%) and higher than that in males (13.3%). The protozoa (44.5%) have been shown more than intestinal helminths (7.3%) in samples, and the most common intestinal protozoan was Giardia lamblia and Entamoeba histolytica (13.8% and 12.8%), respectively. The most common intestinal helminthiasis was Hymenolepis nana with 1.8%. Concluding that the rate of infection was high for several reasons, including lack of commitment to hygiene as not handwashing after using the toilet (88.9%), eating uncovered food (56.3%), poor sanitation as lack of water sources (59.5%), reduced health education, and presence of other family members infected by parasites (61.3%). Interventions are required to reduce intestinal parasites, including health education on personal hygiene for patients, increasing awareness, and improving the environment and healthcare system.