Rights: Diagram courtesy of the Science Learning Hub. Figure adapted from Fraser and Boag, photos of earthworms copyright Ross Gray. Published 12 June 2012, Updated 11 February 2016 Size: 280 KB

Soil-dwelling earthworms fall into three main niche groupings: epigeic, endogeic and anecic. The blue lines represent the types and depths of the various burrows.