Nitrogen (N) is an important mineral nutrient for plant growth, as well as a limiting factor for crop yield, and how to improve the utilization efficiency of N fertilizer by plants is currently a research hotspot. This article uses bioinformatics methods to identify and analyze members of the glutamine synthetase (GS) and glutamate synthase (GOGAT) gene families in pecan. A total of 6 GS genes and 4 GOGAT genes were identified, and their physicochemical properties, gene structures, and homologous evolutionary relationships were analyzed. Analysis of tissue-specific expression of GS and GOGAT genes based on transcriptome data from pecan. The enzyme activities of GS and GOGAT and the gene expression were quantitatively analyzed under different N form ratios in pecan. According to the results, the promoter cis-acting elements of GS and GOGAT genes can be roughly divided into three types: light-responsive elements, hormone-responsive elements, and stress-responsive elements. The results of homologous evolution showed that there was no tandem duplication event for the two gene families, and GS and GOGAT have undergone purification during the evolutionary process. CiGS2s and CiFd-GOGATs were expressed mainly in leaves, and CiNADH-GOGATs were expressed mainly in fruits. The qPCR analysis results showed that T4 treatment significantly increased the expression levels of CiGS and CiGOGAT genes in the leaves. The enzyme activities of GS and GOGAT in pecan were significantly increased under T3, T4, and T5 treatments. In summary, a higher proportion of ammonium nitrogen (NH4+) in the nutrient solution was profit to pecan NH4+ assimilation. This study determined the appropriate nitrogen ratio for pecan, promoting a theoretical basis for reducing environmental pollution caused by nitrogen fertilizer and improving the nitrogen utilization efficiency of pecan. In summary, both CiGSs and CiGOGATs exhibit tissue specificity, and an ammonium-nitrate mixture with a higher proportion of NH4+ is more favorable for NH4+ assimilation in pecan. This study provides a reference basis for further understanding the functions of CiGSs and CiGOGATs in pecan, and offers a theoretical foundation for improving N use efficiency in pecan.