Background Typhoid fever is an endemic disease in many low-income and middle-income countries. The 2018 WHO position paper recommends that countries should consider typhoid vaccination in high-risk groups and for outbreak control. To address the typhoid vaccine supply and demand gap, a typhoid Vi polysaccharide-diphtheria toxoid (Vi-DT) conjugate vaccine development effort was undertaken to achieve WHO prequalification and contribute to the global supply of typhoid conjugate vaccine. The main aim of this study was to show immune non-inferiority of the Vi-DT vaccine compared with the WHO prequalified Vi polysaccharide-tetanus toxoid (Vi-TT) conjugate vaccine (Typbar TCV; Bharat Biotech India, Hyderabad, India) in participants of various ages from an endemic country. Methods We did an observer-blind, active-controlled, randomised, non-inferiority, phase 3 trial at four hospitals in Kathmandu, Dhulikhel, Dharan, and Nepalgunj in Nepal. Eligible participants were healthy individuals aged 6 months to 45 years for whom informed consent was obtained, were willing to follow the study procedures and were available for the duration of the study. Patients with an acute or chronic illness that could interfere with interpretation of the study endpoints, or who were involved in any other clinical trial were excluded. Participants were randomly assigned (1:1:1:1) by block randomisation (block size of four and eight), stratified by age (6 months to <2 years, 2 years to <18 years, and 18 years to 45 years), into one of four groups (A-D). Participants in groups A-C received a single dose (25 μg; 0•5 mL) of Vi-DT test vaccine via intramuscular injection from one of three good manufacturing practice lots (group A received lot 1, group B received lot 2, and group C received lot 3), and those in group D received a single dose (25 μg; 0•5 mL) of the Vi-TT vaccine via intramuscular injection. All participants, site staff (except for those who administered the study vaccines), and those assessing the outcomes were masked to group assignment. The co-primary endpoints were: (1) non-inferiority of immunogenicity of the Vi-DT vaccine (pooled groups A-C) versus the Vi-TT vaccine (group D), measured by the anti-Vi IgG seroconversion rate at 4 weeks after vaccination; and(2) the lot-to-lot consistency of the Vi-DT vaccine, measured by immune equivalence of the anti-Vi IgG geometric mean titre (GMT) at 4 weeks after receipt of the three Vi-DT vaccine lots (lot 1 vs lot 2, lot 1 vs lot 3, and lot 2 vs lot 3). Non-inferiority of the Vi-DT vaccine compared with the Vi-TT vaccine was shown if the lower limit of the 97•5% CI for the difference between the seroconversion rates in Vi-DT vaccine groups A-C combined versus Vi-TT vaccine group D was above the predefined non-inferiority margin of -10%. Lot-to-lot immune equivalence was shown if the upper and lower bounds of the two-sided 99•17% CI around the GMT ratio for each pairwise lot-to-lot comparison was between 0•67 and 1•50, which is the predefined equivalence margin recommended by WHO. The co-pri...