This protocol describes an in vivo phagocytosis assay in adult Drosophila melanogaster to quantify phagocyte recognition and clearance of microbial infections.