The excretory structure in the earthworm is the nephridium. Earthworms have numerous nephridia, which are responsible for filtering out waste materials from the coelomic fluid and expelling them through tiny pores on the body surface called nephridiopores. The nephridia also help to regulate the osmotic balance of the earthworm's body fluids.