Larvae are mainly phytophages of Poaceae, Cyperaceae, and Typhaceae; they develop inside the vegetative or reproductive parts, sometimes directly in the inflorescence or seeds.
Many larvae are saprophages living in rotting or dying wood, usually in association with other insects, and in dead parts of herbaceous plants damaged by other insects.