During symbiosis between leguminous plants and rhizobia, flavonoids exuded by the plants act as chemoattractants and nodulation (nod) gene regulators in the other partner. To better understand the role of these compounds during the early steps of the alfalfa-Sinorhizobium meliloti symbiosis and the regulation of their production we have isolated nod gene inducers from alfalfa roots. All the compounds that we identified in this study as nod gene inducers in the root are flavonoids, indicating that other compounds with nod gene activator capacity may have little contribution, if any, to nod gene activation. Most of the intermediates of the flavonoid pathway were found in Medicago sativa roots and nodules, but only end products of the flavonoid pathway were identified in the root exudate. We have also studied flavonoid production in different parts of the root and found that it is developmentally regulated during root growth. Finally, we have shown that coumestrol and medicarpin, present in the exudates and previously described as phytoalexins, possess nod gene repressing activity, indicating that the in vivo nod gene inducing activity of the root exudate results from positive as well as negative controls of nod gene expression by the flavonoids.