SummaryBackgroundMany investigators have suggested that malaria infection predisposes individuals to bacteraemia. We tested this hypothesis with mendelian randomisation studies of children with the malaria-protective phenotype of sickle-cell trait (HbAS).MethodsThis study was done in a defined area around Kilifi District Hospital, Kilifi, Kenya. We did a matched case-control study to identify risk factors for invasive bacterial disease, in which cases were children aged 3 months to 13 years who were admitted to hospital with bacteraemia between Sept 16, 1999, and July 31, 2002. We aimed to match two controls, by age, sex, location, and time of recruitment, for every case. We then did a longitudinal case-control study to assess the relation between HbAS and invasive bacterial disease as malaria incidence decreased. Cases were children aged 0–13 years who were admitted to hospital with bacteraemia between Jan 1, 1999, and Dec 31, 2007. Controls were born in the study area between Jan 1, 2006, and June 23, 2009. Finally, we modelled the annual incidence of bacteraemia against the community prevalence of malaria during 9 years with Poisson regression.ResultsIn the matched case-control study, we recruited 292 cases—we recruited two controls for 236, and one for the remaining 56. Sickle-cell disease, HIV, leucocyte haemozoin pigment, and undernutrition were positively associated with bacteraemia and HbAS was strongly negatively associated with bacteraemia (odds ratio 0·36; 95% CI 0·20–0·65). In the longitudinal case-control study, we assessed data from 1454 cases and 10 749 controls. During the study period, the incidence of admission to hospital with malaria per 1000 child-years decreased from 28·5 to 3·45, with a reduction in protection afforded by HbAS against bacteraemia occurring in parallel (p=0·0008). The incidence of hospital admissions for bacteraemia per 1000 child-years also decreased from 2·59 to 1·45. The bacteraemia incidence rate ratio associated with malaria parasitaemia was 6·69 (95% CI 1·31–34·3) and, at a community parasite prevalence of 29% in 1999, 62% (8·2–91) of bacteraemia cases were attributable to malaria.InterpretationMalaria infection strongly predisposes individuals to bacteraemia and can account for more than half of all cases of bacteraemia in malaria-endemic areas. Interventions to control malaria will have a major additional benefit by reducing the burden of invasive bacterial disease.FundingWellcome Trust.