Our brain comprises 85 billion nerve cells and just as many so-called glial cells. But what decides when and how many of them become neurons or glial cells? A new study has shown how the Foxg1 gene plays a fundamental role in piloting the differentiation of stem cells, guaranteeing that neurons and glial cells are produced in the right quantity and at the right moment. The research opens new roads to understanding and treating incurable genetic diseases.