Variability in fruit mass may respond to environmental conditions, in addition to the genetic effect that has been reported in several reproductive features. We first analyzed fruit traits in 15 localities along an altitudinal gradient (300-2000 m a.s.l.) in the berries of Vaccinium myrtillus. We then tested whether changes in natural conditions, such as nutrient availability and herbivory by ungulates, affected fruit features in this species. Therefore, nitrogen (N) addition and clipping were applied in plots situated in six of the 15 localities. In these plots, we later collected fruits in two consecutive years in order to obtain fruit mass, seed number and initial number of ovules per flower ovary. Data along the altitudinal gradient showed that fruit mass was determined by both ovule number and seed number, although these factors only explained approximately half of the variation. Fruit mass and number of ovules and seeds followed a similar pattern with altitude, increasing until reaching a maximum at around 1700 m. Regarding the effect of the experimental treatments, fertilized non-clipped plants produced the heaviest fruits but clipping alone had no significant effect on fruit mass. Moreover, high soil pH had a positive influence on fruit mass. In addition, whereas the original number of ovules per ovary was not affected by the experimental treatments, the number of seeds per fruit increased and the abortion rate decreased in fertilized non-clipped plots, which means that the effect of simulated herbivory on these fruit traits depended on N addition. In conclusion, fruit mass was clearly affected by nutrient availability and this effect is attributed to an increase in the production of seeds rather than to an increase in module size and number of ovules per ovary. This outcome suggests that fruit mass is a plastic trait influenced by environmental factors like nutrient availability.