The emergence of drug-resistant strains exacerbates the global challenge of tuberculosis caused by Mycobacterium tuberculosis (Mtb). Central to the pathogenicity of Mtb is its complex cell envelope, which serves as a barrier against both immune system and pharmacological attacks. Two key components of this envelope, arabinogalactan (AG) and lipoarabinomannan (LAM) are complex polysaccharides that contain integral arabinan domains important for cell wall structural and functional integrity. The arabinofuranosyltransferase AftB terminates the synthesis of these arabinan domains by catalyzing the addition of the addition of β-(1→2)-linked terminal arabinofuranose residues. Here, we present the cryo-EM structures of Mycobacterium chubuense AftB in its apo and donor substrate analog-bound form, determined to 2.9 Å and 3.4 Å resolution, respectively. Our structures reveal that AftB has a GT-C fold transmembrane (TM) domain comprised of eleven TM helices and a periplasmic cap domain. AftB has an irregular tube-shaped cavity that bridges the two proposed substrate binding sites. By integrating structural analysis, biochemical assays, and molecular dynamics simulations, we elucidate the molecular basis of the reaction mechanism of AftB and propose a model for catalysis.