 It grows in the plains and mountains, in pastures, fields, roadsides, waste places (such as railways, tips, and waste ground), and ruins, but mainly in cultivated places.It prefers calcareous soils in sunny places, at an altitude of above sea level.The flowers are pollinated by various bees like "Andrena agilissima" and flies (entomophily).