The larvae of many species of family Scathophagidae feed on dung, while others live in leaf litter and are vegetarians. Many species are found near water; in this case, next to a stream in the Santa Cruz Mountains.