Compared with boys and girls without G6PD deficiency, we found significant protection from severe malaria (odds ratio [OR] 0·82, 95% CI 0·70–0·97; p=0·020) among G6PD c.202T heterozygous girls but no evidence for protection among G6PD c.202T hemizygous boys and homozygous girls (OR 1·18, 0·99–1·40; p=0·056). Here, G6PD is linked to malaria.