Aminotransferases of subfamily I$\beta$, which include histidinol phosphate aminotransferases (HspATs) and aromatic amino acid aminotransferases (ArATs), are structurally similar but possess distinct substrate specificities. This study, encompassing structural and biochemical characterisation of HspAT and ArAT from Mycobacterium tuberculosis demonstrates that the residues lining the substrate binding pocket and N-terminal lid are the primary determinants of their substrate specificities. In mHspAT, hydrophilic residues in the substrate binding pocket and N-terminal lid allow the entry and binding of its preferential substrate, Hsp. On the other hand, the hydrophobic nature of both the substrate binding pocket and the N-terminal lid of mArAT is responsible for the discrimination of a polar substrate such as Hsp, while facilitating the binding of Phe and other aromatic residues such as Tyr and Trp. In addition, the present study delineates the ligand induced conformational rearrangements, providing insights into the plasticity of aminotransferases. Furthermore, the study also demonstrates that the adventitiously bound ligand 2-(N-morpholino)ethanesulfonic acid (MES) is indeed a specific inhibitor of HspAT. These results suggest that previously untapped morpholine-ring scaffold compounds could be explored for the design of new anti-TB agents.