Recent studies revealed that from various ecological factors influencing nectar yield and quality of a plant, soil properties can be as important as microclimatic features. To date, few studies have investigated the relationship of soil characters to nectar traits of bee pollinated plants growing in natural associations. Our study intended to reveal which soil properties had the most powerful impact on nectar variables of wild garlic ( Allium ursinum L.). Specimens were collected from fourteen habitats in two different years, and were potted in their original soil under the same climatic conditions. Nectar volumes and sugar concentrations were measured and soil samples were analysed for fourteen parameters. Statistical analyses revealed that the number of nectar producing Allium flowers, as well as the nectar volume and sugar content of nectar in individual flowers were influenced by both year and habitat. The humus, iron and sulphate content of soil showed negative correlation with the number of flowers producing nectar; total nectar volumes were negatively correlated with humus and iron content, but positively affected by magnesium content of the soil. Our results suggest that in addition to the effect of microclimatic factors, certain soil properties can have significant impact on nectar traits.