In our prior investigation, we discerned loss-of-function variants within the gene encoding glutamine-rich protein 2 (QRICH2) in two consanguineous families, leading to various morphological abnormalities in sperm flagella and male infertility. The Qrich2 knockout (KO) in mice also exhibits multiple morphological abnormalities of the flagella (MMAF) phenotype with a significantly decreased sperm motility. However, how ORICH2 regulates the formation of sperm flagella remains unclear. Abnormal glutamylation levels of tubulin cause dysplastic microtubules and flagella, eventually resulting in the decline of sperm motility and male infertility. In the current study, by further analyzing the Qrich2 KO mouse sperm, we found a reduced glutamylation level and instability of tubulin in Qrich2 KO mouse sperm flagella. In addition, we found that the amino acid metabolism was dysregulated in both testes and sperm, leading to the accumulated glutamine (Gln) and reduced glutamate (Glu) concentrations, and disorderly expressed genes responsible for Gln/Glu metabolism. Interestingly, mice fed with diets devoid of Gln/Glu phenocopied the Qrich2 KO mice. Furthermore, we identified several mitochondrial marker proteins that could not be correctly localized in sperm flagella, which might be responsible for the reduced mitochondrial function contributing to the reduced sperm motility in Qrich2 KO mice. Our study reveals a crucial role of a normal Gln/Glu metabolism in maintaining the structural stability of the microtubules in sperm flagella by regulating the glutamylation levels of the tubulin and identifies Qrich2 as a possible novel Gln sensor that regulates microtubule glutamylation and mitochondrial function in mouse sperm.