Quinoa was domesticated over 7,000 years ago in the Andes but was later rejected during the Spanish conquest. It has since been rediscovered and its production has spread globally. Quinoa exhibits high genetic diversity with five major ecotypes that have adapted to different environments in the Andes. Its genetic resources are important for further adaptation as production expands worldwide. Quinoa is a model crop as its biodiversity supports marginal environments, agroecological practices, nutrition, small farmer incomes and adaptation to global changes. Its spreading worldwide can benefit global food security if access to its genetic resources and benefit sharing are properly addressed.