Woodland and woodland edge, sandy places on heathlands, pits, quarries and heathy margins. (GB)
Associated with woodlands but found in other habitats where Salix is present (e.g. coastal sites with Salix repens. (IE)
Woods, heaths, moors and disused sand and gravel pits. (EU)