A cross-sectional study was conducted to investigate coccidian infection and associated factors in smallholder pigs, and to identify Cystoisospora oocysts by PCR. A total of 500 pig faecal samples from 330 smallholder farms were collected in Nay Pyi Taw, Myanmar. The faecal flotation method was used to identify Eimeria and Cystoisospora species, and oocyst counts per gram (OPG) of faeces were recorded. Oocysts were differentiated after sporulation. Oocyst DNA was subjected to ITS1-targeted Cystoisospora-specific PCR. The overall coccidian oocyst detection rate by microscopic was 89.0% (445/500). Among the studied samples, 74.0% (370/500) and 70.6% (353/500), were found to be positive with Eimeria spp. and Cystoisospora suis oocysts, respectively. The sequences of C. suis detected were 100% identical to those of C. suis reported from Japan, and had 99.5% resemblance to sequences from Australia and China. Weaner pigs showed the significantly highest (p < 0.05) OPG when compared to other age groups. The highest intensity of coccidian infection (p < 0.05) was found in pigs fed local feed, pigs raised on earthen floors and pigs under poor hygienic conditions. Factors such as age, breed, feed type, and housing floors were found to be significantly associated with coccidian infection (p < 0.05). Age, as well as management factors including floor type, feed type, and hygiene practices on the farm, had a strong influence on the occurrence of coccidian infection in pigs. This is the first study in Myanmar on coccidian infection in pigs and molecular detection of C. suis.