Plant species respond to varying plant species diversity and associated changes in their abiotic and biotic environment with changes in their phenotype. However, it is not clear to what degree this phenotypic differentiation is due to genotype diversity within populations or phenotypic plasticity of plant individuals. We studied individuals of 16 populations of the clonal herb Taraxacum officinale grown in plant communities of different species richness in a 17‐year‐old grassland biodiversity experiment (Jena Experiment). We collected 12 individuals in each population to measure phenotypic traits and identify distinct genotypes using microsatellite DNA markers. Plant species richness did not influence population‐level genotype and trait diversity. However, it affected the expression of several phenotypic traits, e.g. leaf and inflorescence number, maximum leaf length and seed mass, which increased with increasing plant species richness. Moreover, population‐level trait diversity correlated positively with genotype richness for leaf dry matter content (LDMC) and negatively with inflorescence number. For several traits (i.e. seed mass, germination rate, LDMC, specific leaf area (SLA)), a larger portion of variance was explained by genotype identity, while variance in other traits (i.e. number of inflorescences, leaf nitrogen concentration, leaf number, leaf length) resided within genotypes and thus was mostly due to phenotypic plasticity. Overall, our findings show that plant species richness positively affected the population means of some traits related to whole‐plant performance, whose variation was achieved through both phenotypic plasticity and genotype composition of a population.