Ammonia is used as a fertilizer for agriculture, chemical raw material, and carrier for transporting hydrogen, and with economic development, the demand for ammonia has increased. The Haber–Bosch process, which is the main method for producing ammonia, can produce ammonia with high efficiency. However, since it consumes a large amount of fossil energy, it is necessary to develop an alternative method for producing ammonia with less environmental impact. Ammonia production from food by-products is an appealing production process owing to unused resource usage, including waste, and mild reaction conditions. However, when food by-products and biomass are used as feedstocks, impurities often reduce productivity. Using metabolic profiling, glucose was identified as a potential inhibitor of ammonia production from impure food by-products. We constructed the recombinant Escherichia coli, in which glucose uptake was reduced by ptsG gene disruption and amino acid catabolism was promoted by glnA gene disruption. Ammonia production efficiency from okara, a food by-product, was improved in this strain; 35.4 mM ammonia was produced (47% yield). This study might provide a strategy for efficient ammonia production from food by-products.