Diagnosis of giardiasis typically involves a stool sample analysis to detect the presence of Giardia lamblia cysts or trophozoites. Multiple stool samples may be needed because the shedding of cysts can be intermittent. Advanced diagnostic methods like enzyme-linked immunosorbent assay (ELISA) and polymerase chain reaction (PCR) can also be used for more accurate detection.