The habitats where juniper hair cap~(Polytrichum juniperinum) grows:

Brownfield
Caledonian forest
Hard cliff and cliff slope
High montane heath and snow bed
Limestone pavement
Lowland calcareous grassland
Lowland dry acid grassland
Lowland dry heath
Lowland wet heath
Montane dwarf shrub heath
Rocky slope
Sand dune
Scree
Upland acid grassland
Upland calcareous grassland
Upland dry heath
Wet woodland