The species typically grows on soils derived from chalk, limestone, usually as an understorey in forests of larger trees, most commonly associated with European beech (Fagus sylvatica) forests, but also sometimes in open dry montane scrub, particularly in the Mediterranean region. Box Hill, Surrey is named after its notable box population, which comprises the largest area of native box woodland in England.