SummaryBackgroundArtemether–lumefantrine and artesunate–amodiaquine are used as first-line artemisinin-based combination therapies (ACTs) in west Africa. Pyronaridine–artesunate and dihydroartemisinin–piperaquine are potentially useful for diversification of ACTs in this region, but further safety and efficacy data are required on malaria retreatment.MethodsWe did a randomised, multicentre, open-label, longitudinal, controlled phase 3b/4 clinical trial at seven tertiary centres in Burkina Faso, Guinea, and Mali. Eligible participants for first malaria episode and all retreatment episodes were adults and children aged 6 months and older with microscopically confirmed Plasmodium spp malaria (>0 to <200 000 parasites per μL of blood) and fever or history of fever in the previous 24 h. Individuals with severe or complicated malaria, an alanine aminotransferase concentration of more than twice the upper limit of normal, or a QTc greater than 450 ms were excluded. Using a randomisation list for each site, masked using sealed envelopes, participants were assigned to either pyronaridine–artesunate or dihydroartemisinin–piperaquine versus either artesunate–amodiaquine or artemether–lumefantrine. Block sizes were two or four if two treatments were allocated, and three or six if three treatments were allocated. Microscopists doing the parasitological assessments were masked to treatment allocation. All treatments were once-daily or twice-daily tablets or granules given orally and dosed by bodyweight over 3 days at the study centre. Patients were followed up as outpatients up to day 42, receiving clinical assessments on days 0, 1, 2, 3, 7, 14, 21, 28, 35, and 42. Two primary outcomes were compared for non-inferiority: the 2-year incidence rate of all microscopically confirmed, complicated and uncomplicated malaria episodes in patients in the intention-to-treat population (ITT; non-inferiority margin 20%); and adequate clinical and parasitological response (ACPR) in uncomplicated malaria across all episodes (unadjusted and PCR-adjusted for Plasmodium falciparum and unadjusted for other Plasmodium spp) in the per-protocol population on days 28 and 42 (non-inferiority margin 5%). Safety was assessed in all participants who received one dose of study drug. This study is registered at the Pan African Clinical Trials Registry (PACTR201105000286876).FindingsBetween Oct 24, 2011, and Feb 1, 2016, we assigned 4710 eligible participants to the different treatment strategies: 1342 to pyronaridine–artesunate, 967 to artemether–lumefantrine, 1061 to artesunate–amodiaquine, and 1340 to dihydroartemisinin–piperaquine. The 2-year malaria incidence rate in the ITT population was non-inferior for pyronaridine–artesunate versus artemether–lumefantrine (1·77, 95% CI 1·63–1·93 vs 1·87, 1·72–2·03; rate ratio [RR] 1·05, 95% CI 0·94–1·17); and versus artesunate–amodiaquine (1·39, 95% CI 1·22–1·59 vs 1·35, 1·18–1·54; RR 0·97, 0·87–1·07). Similarly, this endpoint was non-inferior for dihydroartemisinin–piperaquine versus artemether–lumefantrine (1·16...