The pharmaceutical sector is facing major concerns in addressing effective drug molecules against extensively drug-resistant S. Typhi. Exploiting the medicinal benefits of amines, we synthesized novel small organic molecules bearing both pyridine and secondary amine linkages. The N-(4-bromobenzyl)-4-methylpyridin-2-amine (3) and derivatives (5a–c) have been synthesized which are effective against multiple drugresistant S. Typhi. Then, the antibacterial efficacy of these compounds was determined by using Agar Well diffusion assay (AWDA). Compound 5b was active (MIC 3.125 mg/mL). Molecular docking studies demonstrated the behavior of small molecules at the binding sites of XDR-S. Typhi 5ZTJ protein through atomic-level interaction. Moreover, the structure elucidation, evaluation of optimized geometry, and molecular stability were done via DFT analysis.