Lilies are commonly adapted to either woodland habitats, often montane, or sometimes to grassland habitats. A few can survive in marshland and a single one is known to live as an epiphyte (L. arboricola). In general they prefer moderately acidic or lime-free soils.