It is native to Europe, northern Africa, and temperate areas of Asia. It is grown as an ornamental plant elsewhere, and in some places it has naturalized.
It is suspected to provide food for the caterpillars of the tortrix moth Phtheochroa rugosana.
This plant, and especially its fruit, is poisonous, containing cucurbitacins. In the ancient world it was considered to be an abortifacient.
In Turkey, the fresh fruit juice of this plant is directly applied into the nostrils for the treatment of sinusitis as an herbal medicine. Clinical tests on voluntary patients revealed that the healing rate of double-high dosage application is higher than that of the single-low dosage (71.0 and 56.6%, respectively). In addition, total relief from the main symptoms is observed in 20% of the patients, although the sinuses are not completely drained off on x-ray examination.