Today it is widespread on many continents as an edible, forage, and ornamental plant. It grows wild almost all over Europe, the Azores, Central and South America, New Zealand, Japan, northern China and Iran.
It is cultivated in both hemispheres, outside temperate climates also in the tropics. In Poland, as a kenophyte (alien species), it is widespread throughout the lowlands and lower mountainous areas.