Genome-wide identification and salt stress-induced expression analysis of the NHX gene family in peanut (Arachis hypogaea L.) Authors: Xuhong Zhao, Dongwei Cui, Na Chen, Xiao Jiang, Lijuan Pan, Jing Xu, Xiangzhen Yin, Junqing Ma, Feifei Wan, Xiaoli Zhang, Xiaoyuan Chi Published: 2026 ABSTRACT BackgroundPeanut (Arachis hypogaea L.) is a prominent legume and oilseed crop cultivated globally for its economic significance and nutritional value. With the growing demand for edible oil and protein, peanut cultivation needs to be expanded into salinized land. However, salt stress in such soils severely limits peanut growth and productivity. The Na⁺/H⁺ antiporter (NHX) gene family plays a crucial role in plant salt tolerance by regulating ion homeostasis. Genome-wide identification of peanut NHX genes and systematic profiling of their expression patterns under salt stress are essential for enhancing peanut salt tolerance through molecular breeding.ResultsIn this study, we conducted a genome-wide analysis of the NHX gene family in cultivated peanut and identified 73 AhNHX genes. Based on NHX protein sequences from Arabidopsis thaliana, Glycine max, Medicago sativa, Medicago truncatula, and Phaseolus vulgaris, a phylogenetic tree was constructed, and the 73 AhNHX genes were divided into three clades. Furthermore, analysis of gene structure and conserved motifs revealed that intron size, intron number, and motif number differed significantly among subfamilies. Collinearity analysis indicated that segmental duplication events were the primary driver of AhNHX family expansion. The dN/dS ratio was less than one, implying that the AhNHX gene family experienced strong purifying selection during long‑term evolution. Expression profiling across 22 tissues showed that 27 AhNHX genes exhibited tissue‑specific expression patterns. Under salt stress, transcript levels of multiple AhNHX genes were differentially regulated between the salt‑tolerant variety (HY33) and the salt‑sensitive variety (HY9115). Based on representative features in gene structure, protein sequence, evolutionary lineage, and salt‑induced upregulation, 12 genes (AhNHX11, 12, 19, 23, 34, 38, 43, 44, 48, 54, 57, and 73) were identified as candidates for further functional characterization.ConclusionsThis study provides comprehensive insights into the AhNHX gene family and pinpoints candidate genes for improving salt tolerance in peanut via molecular breeding.Supplementary InformationThe online version contains supplementary material available at https://doi.org/10.1186/s12870-026-09009-4. Background Peanut (Arachis hypogaea L.) is an important legume and oilseed crop cultivated globally for its economic significance and nutritional value, such as abundant fat, protein, carbohydrate and micronutrients [1–4]. In China, peanuts are mainly used for oil extraction and eaten fresh. China is one of the top five peanut-producing countries worldwide, accounting for 36% of global production [5]. Recently, to meet the growing demand for edible oil and protein, the cultivation area and seed yield of peanut are being further expanded. Salinized land has potential for expanding peanut cultivation. Currently, the global area of salinized land is approximately 1 billion hectares, spanning continents and subcontinents worldwide and accounting for about 7% of the total landmass [6, 7]. Soil salinity impairs extensive areas of agricultural land in more than 100 countries [8]. China has 99.13 million hectares of saline-alkali land, encompassing around 10% of the country’s landmass [6, 9]. Increased soil salinity negatively affects the growth of many crop plants, and the continued salinization of arable land poses an increasing threat to global crop production, especially in irrigated areas [10]. Unfortunately, most peanut genotypes are sensitive to salt stress. The growth and development of peanuts will be restricted and their yield will seriously reduce when the soil salinity exceeds 0.3% [11]. It has been reported that a soil salinity of 0.45% is the critical value for peanut germination [12]. When soil salinity exceeds the threshold, peanut seeds will not be able to germinate. In high-salt environments, plants are subjected to osmotic and ionic stress, as well as secondary oxidative stress, all of which inhibit growth and reduce crop yields [13, 14]. High salt concentration causes osmotic stress in the root system, resulting in water loss and subsequent Na+ influx [14]. Elevated cytoplasmic Na+ levels further impair water and nutrient absorption, disrupting critical biochemical and metabolic processes [14, 15], as well as inhibiting the regeneration and accumulation of RuBisCo and reducing ribose 5-phosphate activity [16, 17]. Three mechanisms jointly prevent cytoplasmic Na⁺ accumulation: restricting Na⁺ influx, actively extruding Na⁺, and sequestering Na⁺ into vacuole [18]. The salt overly sensitive (SOS) pathway is activated within 2 h of increasing Na+ stress, which promotes SOS2 kinase and SOS1 Na+/H+ antiporter activity to enhance Na+ efflux [19]. Na+ in root could also be transported to shoot via the transpiration stream [20]. Furthermore, Na+ translocation between organs and cell types leads to Na+ accumulation in shoots [20]; this compartmentalization may improve salinity tolerance in peanut by reducing cytoplasmic Na+ levels. However, excessive Na⁺ accumulation in the shoot induces further ionic stress and is toxic to many crops [21]. Shoot and leaf Na+ exclusion has been proposed as a critical sub-trait of salt tolerance [22]. The plasma membrane Na+/H⁺ antiporters contribute to plant salt tolerance by mediating Na+ exclusion [18]. NHX-type antiporters, a class of monovalent cation/H+ antiporters [23, 24], serve as key regulators of intracellular ion homeostasis and play critical roles in cell expansion and plant stress adaptation [25]. These transporters mediate electroneutral K+/Na+-H+ exchange, which critically regulates cellular pH, ion homeostasis, cell expansion, and salt stress tolerance [26]. For instance, NHX proteins utilize the H+-ATPase and H+-PPase to generate an H+ electrochemical gradient, which then drives Na+ transport from the cytoplasm into vacuoles or out of the cell. This process helps maintain Na+ homeostasis and prevents the toxic effects caused by intracellular Na+ accumulation [24, 27]. Biochemically, endosomal NHXs govern both luminal K+/Na+ uptake and the pH of their resident compartments, while vacuolar NHXs modulate luminal pH by counteracting H+ influx from H+ pumps, acting as H+ leaks to achieve precise pH fine-tuning [23, 24]. A total of eight NHX proteins, including NHX1 and NHX2, were identified in A. thaliana [28]. Arabidopsis NHX proteins participate in Na⁺ transport from roots to shoots and regulate stomatal movement [29, 30], while also mediating protein trafficking and enhancing salt tolerance [31, 32]. NHX1 responds to salt stress, as A. thaliana plants overexpressing NHX1 exhibit significantly enhanced salt tolerance [33, 34]. The AtNHX proteins are categorized into three classes: the PM-class (NHX7 and NHX8), localized to the plasma membrane [18]; the Endo-class (NHX5 and NHX6), located in endosomal compartments [35]; and the Vac-class (NHX1 to NHX4), which reside in the tonoplast (NHX1 to NHX4) [36]. NHXs have also been identified in various plant species, including grapes [37], three Gossypium species [38], honeysuckle [39], Cucurbita moschata [40], Sorghum [41], Medicago sativa [42], and three Brassicaceae species [43]. It was reported that seven PtNHX genes in poplar play significant role in dealing with heat, ABA, drought, and cold, and PtNHX7 responds to salt stress through the CBL-CIPK pathway [44]. Likewise, BvNHX5, a protein identified in in Sugar Beet, is found to be involved in salt tolerance regulation through interacting with CIPK and CBL proteins [45]. PeSOS1, a NHX gene in Populus trichocarpa, was proposed to be involved positively in salt tolerance [46]. Additionally, the expression of GbNHX2 gene in Gossypium herbaceum was significantly upregulated under salt stress [47]. Collectively, these studies confirmed that the NHX proteins play crucial roles in regulating abiotic stress tolerance across multiple crop species, especially in salt stress response. A recent study reported that peanut contained 14 NHX genes, of which five were upregulated in roots under salt stress [48]. However, the salt stress-responsive expression profiling of the NHX gene family in peanut varieties with different salt tolerance remain largely unreported. This study identified additional AhNHX genes from the peanut genome and systematically and thoroughly profiled the characteristics of the NHX gene family in peanut. Phylogenetic relationships, protein character, gene structure, protein motifs, and cis-regulatory elements are analyzed to investigate the phylogenetic and structural information of each AhNHX gene. Collinearity analysis was performed to characterize the evolutionary progress of AhNHX genes. Expression analysis of AhNHX genes were performed in 22 peanut tissues to reveal its expression specificity across different tissues. Concurrently, the expression of AhNHX genes was examined in salt-tolerant and salt-sensitive peanut varieties under salt stress to identify expression pattern associated with salt tolerance. The study provides insight into the characterization and expression of the AhNHX genes, and may help profile the response of peanut to salt stress as well as identify relevant candidate genes. Materials and methods Identification and characterization of the NHX genes in peanut The genomic DNA, coding sequences (CDS), protein sequences, and annotation files of peanut were obtained from the NCBI database (https://www.ncbi.nlm.nih.gov/). NHX protein sequences of Arabidopsis thaliana were retrieved from the Arabidopsis Information Resource (TAIR) (https://www.arabidopsis.org/index.jsp). Using the Arabidopsis thaliana NHX proteins as query sequences, BLASTP searches were performed against the peanut proteome with a stringent E-value threshold of 1 × 10− 5. Simultaneously, the hidden Markov model (HMM) profile for the NHX domain (PF00999) was retrieved from the Pfam database (http://pfam.sanger.ac.uk/). For genes with several alternative splicing variants, only the longest sequence was retained. Subcellular localization predictions for AhNHX family members were conducted using the WoLF PSORT online prediction system (https://wolfpsort.hgc.jp/). Finally, the closest AhNHX orthologues to Arabidopsis were predicted by BLASTP searching against the Arabidopsis proteome sequences (V11.0) (https://www.arabidopsis.org/). Gene location on chromosomes 73 AhNHX genes were mapped on the 20 Chromosomes based on the .gff3 file through the TBtools-II (v2.452) software. KS test was conducted to determine the enrichment and uniformity of AhNHX gene distribution on these chromosomes through Python3 software. Phylogenetic analysis A phylogenetic tree was generated by Maximum likelihood method (ML) using MEGA 11 software [49], based on the full-length NHX protein sequence of Arabidopsis thaliana, Glycine max, Medicago sativa, Medicago truncatula, and Phaseolus vulgaris. Bootstrap analysis was carried out with 1,000 replicates to assess tree reliability, and only bootstrap support values above 50% were displayed on the corresponding clades, while all other parameters were set to default. Gene structure and conserved motif analysis The exon-intron structure of each AhNHX gene was displayed using the TBtools software [5]. One-way ANOVA and LSD multiple comparisons were used to test the differences of intron sizes and numbers among AhNHX gene subfamilies. Conserved motifs in AhNHX proteins were identified via the online MEME program (V5.4.1; http://meme-suite.org/tools/meme). The maximum motif number was set to 20, with all other parameters at their default values. Within AhNHX proteins, the motifs were matched to the conserved domain using global alignments. The motif sequences were used to the Blastp search in the online database (https://www.uniprot.org/blast) for obtaining the sequence annotations. Chromosomal mapping and segmental duplication analysis The substitution rates of synonymous (dS) and non-synonymous (dN) sites for each paralogous pair were calculated by KaKs_Calculator2.0 software [50, 51]. Segmentally duplicated AhNHX genes were visualized using the Circos program [52]. The divergence time (T) of paralogous pair was estimated as T = dS/2λ (λ equals to 8.12 × 10− 9 for peanut) million years ago (MYA) [53]. Promoter cis-element analysis Promoter sequences 2,000 bp upstream of the ATG of AhNHX genes were retrieved from PeanutBase (https://www.peanutbase.org/). Cis-acting regulatory elements within these promoter sequences were identified and analyzed using the online PlantCARE tool (http://bioinformatics.psb.ugent.be/webtools/plantcare/html/). Plant materials and salt stress treatment In this study, Huayu 33 (HY33) and Huayu 9115 (HY9115) were used to conduct the salt stress experiment and collect samples for transcriptome analysis. Both cultivars were developed by the Shandong Peanut Research Institute. HY33 was officially registered in 2018 (Registration No.: GPD Peanut (2018) 370351), while HY 9115 was registered in 2022 (Registration No.: GPD Peanut (2022) 370081). HY33 has a broader cultivation range than HY9115. The seeds of both cultivars were obtained from the Shandong Peanut Research Institute. In a previous study, HY9115 and HY33 were characterized as salt-sensitive and salt-tolerant peanut varieties, respectively [54]. Seeds of these two varieties were germinated for one week and subsequently transplanted into hydroponic boxes. When the seedlings reached the three-leaf stage, the culture solution was replaced with 100 mM NaCl solution to impose salt stress, with seedlings maintained in regular water as the control group. Whole-plant samples were collected at 0, 3, 12, 24, and 48 h post salt stress initiation. Transcriptome sequencing was performed by GENEWIZ Bio Co., Ltd. (Suzhou, China) (unpublished data). Additionally, transcriptomic data of AhNHX genes in 22 peanut tissues was retrieved from PeanutBase (https://www.peanutbase.org/) and Legume Information System (https://www.legumeinfo.org/), which were previously generated and reported [55]. The raw expression data for each AhNHX gene was standardized using the followingformula:\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\:{TPM}_{i}=\:\frac{\frac{{Counts}_{i}}{{L}_{i}}}{{\sum\:}_{j}\frac{{Counts}_{i}}{{L}_{i}}}\times\:{10}^{6}$$\end{document} where \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\:{Counts}_{i}$$\end{document} is the number of reads uniquely mapped to gene\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\:\:i\:$$\end{document}, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\:{L}_{i}\:$$\end{document}is the length of gene i in kilobases, and n is the total number of genes. To quantify the tissue specificity of each AhNHX gene, we calculated the tau(τ) index (tissue specificity index) by using following formula:\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\:{\uptau\:}=\frac{{\sum\:}_{i=1}^{n}(1-\frac{{x}_{i}}{{x}_{max}})}{n-1}$$\end{document} where \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\:{x}_{i}$$\end{document} is the expression level (in TPM) of the gene in tissue i, and n is the total number of tissues examined. The τ index ranges from 0 (ubiquitous/housekeeping expression) to 1 (absolutely tissue-specific expression). Results Genome-wide identification and bioinformatics analysis of the AhNHX gene family in peanut A total of 98 NHX gene IDs were obtained, through HMM search based on the NHX HMM model (PF00999.hmm) and the peanut protein database. Concurrently, the local BLASTp search was conducted against the peanut protein database using Arabidopsis thaliana NHX protein sequences as queries, which returned 17 NHX gene IDs. After merging and deduplicating the NHX protein IDs, 99 unique IDs were obtained. Five IDs with incomplete protein sequences were excluded, leaving 94 IDs. The protein sequences of these 94 IDs were subjected to conserved domain analysis of NHX using the SMART website. Then 10 protein sequences with an E-value greater than 1E-10 were excluded, retaining 84 IDs. Subsequently, the integrity of the NHX conserved domain in the 84 protein sequences was verified using the NCBI CDD (Conserved Domain Database) module. Eleven sequences with incomplete NHX domains at either the N‑terminus or C‑terminus were excluded, ultimately retaining 73 peanut NHX protein IDs. They were renamed from AhNHX1 to AhNHX73 according to physical sites on the chromosomes. Details of these AhNHX genes, including gene loci, subcellular location, protein length (aa), Arabidopsis orthologous loci, were presented in Table 1. These genes were unevenly distributed across the 20 chromosomes of the peanut. AhNHX protein lengths varied greatly, from AhNHX66 (429 amino acids) to AhNHX43 (1221 amino acids). The AhNHX proteins were all predicted to be located in the plasma membrane, chloroplast or the cytoplasm (Table 1). Table 1Biological characteristics and orthologous genes of 73 AhNHX genesNo.Gene SymbolGene LociSubcellular LocationAmino Acid LengthArabidopsis Orthologous LociArabidopsis Orthologous Symbols1 AhNHX1 Ah01g026700plas: 7, vacu: 4, E.R.: 2522AT5G55470NHX32 AhNHX2 Ah01g030700plas: 7, nucl: 2, vacu: 2, extr: 1, E.R.: 1761AT2G01980SOS13 AhNHX3 Ah01g060300plas: 9.5, cyto_plas: 5.5, chlo: 1, nucl: 1, mito: 1813AT5G37060CHX244 AhNHX4 Ah01g366800cyto: 4, plas: 3, vacu: 2, E.R.: 2, chlo: 1, mito: 1551AT3G05030NHX25 AhNHX5 Ah01g391500plas: 6, chlo: 2, nucl: 2, cyto: 2, extr: 1547AT1G79610NHX66 AhNHX6 Ah01g396300plas: 6, chlo: 4, E.R.: 2, cyto: 1811AT3G17630CHX197 AhNHX7 Ah02g358600cyto: 5, plas: 5, vacu: 2, nucl: 1525AT3G05030NHX28 AhNHX8 Ah03g100700plas: 5, cyto: 3, extr: 3, chlo: 1, nucl: 1817AT3G17630CHX199 AhNHX9 Ah03g113800plas: 12, E.R.: 2777AT3G52080CHX2810 AhNHX10 Ah03g336600plas: 11, E.R.: 2585AT2G19600KEA411 AhNHX11 Ah03g366300plas: 5, E.R.: 4, cyto: 3, chlo: 1787AT5G41610CHX1812 AhNHX12 Ah03g412100plas: 10, E.R.: 3851AT2G13620CHX1513 AhNHX13 Ah03g447900cyto: 8, plas: 2, chlo: 1, vacu: 1, E.R.: 1812AT4G04850KEA314 AhNHX14 Ah03g584400plas: 7, cyto: 3, chlo: 1, nucl: 1, vacu: 11171AT2G01980SOS115 AhNHX15 Ah04g072500plas: 4, mito: 3, pero: 3, cyto: 2, chlo: 1544AT1G79610NHX616 AhNHX16 Ah04g341600plas: 8, chlo: 2, E.R.: 2, golg: 21187AT4G00630KEA217 AhNHX17 Ah05g165500plas: 10, E.R.: 3783AT5G41610CHX1818 AhNHX18 Ah05g165600plas: 6, E.R.: 3, cyto: 2, chlo: 1, extr: 1518AT5G41610CHX1819 AhNHX19 Ah05g166000plas: 6, E.R.: 4, cyto: 2, chlo: 1785AT4G23700CHX1720 AhNHX20 Ah05g267300plas: 11, E.R.: 2575AT5G51710KEA521 AhNHX21 Ah06g001600plas: 8, nucl: 2, cyto: 1, vacu: 1, E.R.: 1781AT3G53720CHX2022 AhNHX22 Ah06g001900plas: 11, chlo: 1, cyto: 1858AT3G53720CHX2023 AhNHX23 Ah06g041100plas: 9, vacu: 3, mito: 1581AT3G05030NHX224 AhNHX24 Ah06g175100plas: 8, vacu: 2, chlo: 1, nucl: 1, cyto: 1823AT2G13620CHX1525 AhNHX25 Ah06g324900plas: 6, E.R.: 3, vacu: 2, chlo: 1, cyto: 1809AT2G13620CHX1526 AhNHX26 Ah06g420100plas: 12, chlo: 1593AT5G11800KEA627 AhNHX27 Ah07g057000plas: 6, chlo: 3, nucl: 2, cyto: 1, vacu: 1789AT3G44900CHX428 AhNHX28 Ah07g157200plas: 12, vacu: 1837AT2G13620CHX1529 AhNHX29 Ah08g000800plas: 6, vacu: 5, golg: 21221AT1G01790KEA130 AhNHX30 Ah08g274100plas: 6, chlo: 5, nucl: 1, cyto: 1797AT3G52080CHX 2831 AhNHX31 Ah08g304600plas: 7, vacu: 3, chlo: 1, nucl: 1, cyto: 1780AT1G16380CHX132 AhNHX32 Ah09g194700plas: 6, vacu: 3, E.R.: 3, mito: 1539AT3G05030NHX233 AhNHX33 Ah10g040300plas: 10, E.R.: 2, chlo: 1850AT2G13620CHX1534 AhNHX34 Ah10g052400plas: 4, chlo: 3, nucl: 3, E.R.: 2, cyto: 1945AT4G04850KEA335 AhNHX35 Ah10g076800plas: 8, cyto: 4, nucl: 2775AT5G22900CHX336 AhNHX36 Ah10g132400plas: 10, E.R.: 2, vacu: 1810AT2G13620CHX1537 AhNHX37 Ah10g143100plas: 8, vacu: 2.5, E.R._vacu: 2.5, E.R.: 1.5, chlo: 1827AT2G13620CHX1538 AhNHX38 Ah10g263700plas: 12, vacu: 2837AT2G13620CHX1539 AhNHX39 Ah11g074700plas: 6, E.R.: 4, vacu: 2, nucl: 1829AT2G13620CHX1540 AhNHX40 Ah11g080500plas: 8, vacu: 3, E.R.: 2522AT5G55470NHX341 AhNHX41 Ah11g368800plas: 6, chlo: 4, E.R.: 2, cyto: 1811AT3G17630CHX1942 AhNHX42 Ah11g375700plas: 6, chlo: 2, nucl: 2, cyto: 2, extr: 1546AT1G79610NHX643 AhNHX43 Ah12g007000plas: 7, vacu: 3, golg: 2, cyto: 11211AT1G01790KEA144 AhNHX44 Ah12g417900plas: 6, cyto: 4, vacu: 2, chlo: 1524AT3G05030NHX245 AhNHX45 Ah12g442800cyto: 9, plas: 2, chlo: 1, E.R.: 1812AT4G04850KEA346 AhNHX46 Ah13g058500plas: 7, chlo: 2, nucl: 2, cyto: 2789AT3G44900CHX447 AhNHX47 Ah13g146100chlo: 6, plas: 4, E.R.: 3786AT3G52080CHX2848 AhNHX48 Ah13g402000plas: 5, E.R.: 5, cyto: 2, chlo: 1787AT4G23700CHX1749 AhNHX49 Ah13g455000plas: 11, E.R.: 3851AT2G13620CHX1550 AhNHX50 Ah13g613000plas: 7, cyto: 2, vacu: 2, chlo: 1, nucl: 11173AT2G01980SOS151 AhNHX51 Ah14g085500plas: 4, mito: 3, pero: 3, cyto: 2, chlo: 1544AT1G79610NHX652 AhNHX52 Ah14g396600plas: 10, E.R.: 2, chlo: 11187AT4G00630KEA253 AhNHX53 Ah15g163400cyto: 6, plas: 3, chlo: 2, mito: 1, extr: 1796AT2G13620CHX1554 AhNHX54 Ah15g180600plas: 6, E.R.: 4, cyto: 2, chlo: 1783AT4G23700CHX1755 AhNHX55 Ah15g180700plas: 10, E.R.: 3783AT5G41610CHX1856 AhNHX56 Ah15g523100plas: 11, E.R.: 2575AT5G51710KEA557 AhNHX57 Ah16g131200plas: 8, vacu: 3, E.R.: 2552AT3G05030NHX258 AhNHX58 Ah16g198300plas: 11, E.R.: 2857AT3G53720CHX2059 AhNHX59 Ah16g198800plas: 9, nucl: 1, cyto: 1, vacu: 1, E.R.: 1781AT3G53720CHX2060 AhNHX60 Ah16g208100plas: 8, vacu: 2, E.R.: 2, chlo: 1823AT2G13620CHX1561 AhNHX61 Ah16g410000plas: 6, E.R.: 3, vacu: 2, chlo: 1, mito: 1809AT2G13620CHX1562 AhNHX62 Ah16g506800plas: 12, chlo: 1593AT5G11800KEA663 AhNHX63 Ah17g169900plas: 11, chlo: 1, vacu: 1828AT2G13620CHX1564 AhNHX64 Ah18g351200chlo: 6, plas: 6, cyto: 1797AT3G52080CHX2865 AhNHX65 Ah18g408200plas: 7, vacu: 3, E.R.: 3780AT1G16380CHX166 AhNHX66 Ah18g442900cyto: 4, plas: 4, extr: 2, E.R.: 2, chlo: 1429AT5G41610CHX1867 AhNHX67 Ah19g256700plas: 6, vacu: 3, E.R.: 3, mito: 1539AT3G05030NHX268 AhNHX68 Ah20g063400plas: 11, E.R.: 2850AT2G13620CHX1569 AhNHX69 Ah20g077100plas: 8, E.R.: 2, nucl: 1, vacu: 1, cysk: 1771AT4G04850KEA370 AhNHX70 Ah20g114100plas: 8, cyto: 4, nucl: 2775AT5G22900CHX371 AhNHX71 Ah20g184200plas: 10, E.R.: 2, vacu: 1810AT2G13620CHX1572 AhNHX72 Ah20g187000plas: 8, vacu: 2, E.R.: 2, chlo: 1831AT2G13620CHX1573 AhNHX73 Ah20g343500plas: 12, vacu: 2837AT2G13620CHX15 Table 1Biological characteristics and orthologous genes of 73 AhNHX genesNo.Gene SymbolGene LociSubcellular LocationAmino Acid LengthArabidopsis Orthologous LociArabidopsis Orthologous Symbols1 AhNHX1 Ah01g026700plas: 7, vacu: 4, E.R.: 2522AT5G55470NHX32 AhNHX2 Ah01g030700plas: 7, nucl: 2, vacu: 2, extr: 1, E.R.: 1761AT2G01980SOS13 AhNHX3 Ah01g060300plas: 9.5, cyto_plas: 5.5, chlo: 1, nucl: 1, mito: 1813AT5G37060CHX244 AhNHX4 Ah01g366800cyto: 4, plas: 3, vacu: 2, E.R.: 2, chlo: 1, mito: 1551AT3G05030NHX25 AhNHX5 Ah01g391500plas: 6, chlo: 2, nucl: 2, cyto: 2, extr: 1547AT1G79610NHX66 AhNHX6 Ah01g396300plas: 6, chlo: 4, E.R.: 2, cyto: 1811AT3G17630CHX197 AhNHX7 Ah02g358600cyto: 5, plas: 5, vacu: 2, nucl: 1525AT3G05030NHX28 AhNHX8 Ah03g100700plas: 5, cyto: 3, extr: 3, chlo: 1, nucl: 1817AT3G17630CHX199 AhNHX9 Ah03g113800plas: 12, E.R.: 2777AT3G52080CHX2810 AhNHX10 Ah03g336600plas: 11, E.R.: 2585AT2G19600KEA411 AhNHX11 Ah03g366300plas: 5, E.R.: 4, cyto: 3, chlo: 1787AT5G41610CHX1812 AhNHX12 Ah03g412100plas: 10, E.R.: 3851AT2G13620CHX1513 AhNHX13 Ah03g447900cyto: 8, plas: 2, chlo: 1, vacu: 1, E.R.: 1812AT4G04850KEA314 AhNHX14 Ah03g584400plas: 7, cyto: 3, chlo: 1, nucl: 1, vacu: 11171AT2G01980SOS115 AhNHX15 Ah04g072500plas: 4, mito: 3, pero: 3, cyto: 2, chlo: 1544AT1G79610NHX616 AhNHX16 Ah04g341600plas: 8, chlo: 2, E.R.: 2, golg: 21187AT4G00630KEA217 AhNHX17 Ah05g165500plas: 10, E.R.: 3783AT5G41610CHX1818 AhNHX18 Ah05g165600plas: 6, E.R.: 3, cyto: 2, chlo: 1, extr: 1518AT5G41610CHX1819 AhNHX19 Ah05g166000plas: 6, E.R.: 4, cyto: 2, chlo: 1785AT4G23700CHX1720 AhNHX20 Ah05g267300plas: 11, E.R.: 2575AT5G51710KEA521 AhNHX21 Ah06g001600plas: 8, nucl: 2, cyto: 1, vacu: 1, E.R.: 1781AT3G53720CHX2022 AhNHX22 Ah06g001900plas: 11, chlo: 1, cyto: 1858AT3G53720CHX2023 AhNHX23 Ah06g041100plas: 9, vacu: 3, mito: 1581AT3G05030NHX224 AhNHX24 Ah06g175100plas: 8, vacu: 2, chlo: 1, nucl: 1, cyto: 1823AT2G13620CHX1525 AhNHX25 Ah06g324900plas: 6, E.R.: 3, vacu: 2, chlo: 1, cyto: 1809AT2G13620CHX1526 AhNHX26 Ah06g420100plas: 12, chlo: 1593AT5G11800KEA627 AhNHX27 Ah07g057000plas: 6, chlo: 3, nucl: 2, cyto: 1, vacu: 1789AT3G44900CHX428 AhNHX28 Ah07g157200plas: 12, vacu: 1837AT2G13620CHX1529 AhNHX29 Ah08g000800plas: 6, vacu: 5, golg: 21221AT1G01790KEA130 AhNHX30 Ah08g274100plas: 6, chlo: 5, nucl: 1, cyto: 1797AT3G52080CHX 2831 AhNHX31 Ah08g304600plas: 7, vacu: 3, chlo: 1, nucl: 1, cyto: 1780AT1G16380CHX132 AhNHX32 Ah09g194700plas: 6, vacu: 3, E.R.: 3, mito: 1539AT3G05030NHX233 AhNHX33 Ah10g040300plas: 10, E.R.: 2, chlo: 1850AT2G13620CHX1534 AhNHX34 Ah10g052400plas: 4, chlo: 3, nucl: 3, E.R.: 2, cyto: 1945AT4G04850KEA335 AhNHX35 Ah10g076800plas: 8, cyto: 4, nucl: 2775AT5G22900CHX336 AhNHX36 Ah10g132400plas: 10, E.R.: 2, vacu: 1810AT2G13620CHX1537 AhNHX37 Ah10g143100plas: 8, vacu: 2.5, E.R._vacu: 2.5, E.R.: 1.5, chlo: 1827AT2G13620CHX1538 AhNHX38 Ah10g263700plas: 12, vacu: 2837AT2G13620CHX1539 AhNHX39 Ah11g074700plas: 6, E.R.: 4, vacu: 2, nucl: 1829AT2G13620CHX1540 AhNHX40 Ah11g080500plas: 8, vacu: 3, E.R.: 2522AT5G55470NHX341 AhNHX41 Ah11g368800plas: 6, chlo: 4, E.R.: 2, cyto: 1811AT3G17630CHX1942 AhNHX42 Ah11g375700plas: 6, chlo: 2, nucl: 2, cyto: 2, extr: 1546AT1G79610NHX643 AhNHX43 Ah12g007000plas: 7, vacu: 3, golg: 2, cyto: 11211AT1G01790KEA144 AhNHX44 Ah12g417900plas: 6, cyto: 4, vacu: 2, chlo: 1524AT3G05030NHX245 AhNHX45 Ah12g442800cyto: 9, plas: 2, chlo: 1, E.R.: 1812AT4G04850KEA346 AhNHX46 Ah13g058500plas: 7, chlo: 2, nucl: 2, cyto: 2789AT3G44900CHX447 AhNHX47 Ah13g146100chlo: 6, plas: 4, E.R.: 3786AT3G52080CHX2848 AhNHX48 Ah13g402000plas: 5, E.R.: 5, cyto: 2, chlo: 1787AT4G23700CHX1749 AhNHX49 Ah13g455000plas: 11, E.R.: 3851AT2G13620CHX1550 AhNHX50 Ah13g613000plas: 7, cyto: 2, vacu: 2, chlo: 1, nucl: 11173AT2G01980SOS151 AhNHX51 Ah14g085500plas: 4, mito: 3, pero: 3, cyto: 2, chlo: 1544AT1G79610NHX652 AhNHX52 Ah14g396600plas: 10, E.R.: 2, chlo: 11187AT4G00630KEA253 AhNHX53 Ah15g163400cyto: 6, plas: 3, chlo: 2, mito: 1, extr: 1796AT2G13620CHX1554 AhNHX54 Ah15g180600plas: 6, E.R.: 4, cyto: 2, chlo: 1783AT4G23700CHX1755 AhNHX55 Ah15g180700plas: 10, E.R.: 3783AT5G41610CHX1856 AhNHX56 Ah15g523100plas: 11, E.R.: 2575AT5G51710KEA557 AhNHX57 Ah16g131200plas: 8, vacu: 3, E.R.: 2552AT3G05030NHX258 AhNHX58 Ah16g198300plas: 11, E.R.: 2857AT3G53720CHX2059 AhNHX59 Ah16g198800plas: 9, nucl: 1, cyto: 1, vacu: 1, E.R.: 1781AT3G53720CHX2060 AhNHX60 Ah16g208100plas: 8, vacu: 2, E.R.: 2, chlo: 1823AT2G13620CHX1561 AhNHX61 Ah16g410000plas: 6, E.R.: 3, vacu: 2, chlo: 1, mito: 1809AT2G13620CHX1562 AhNHX62 Ah16g506800plas: 12, chlo: 1593AT5G11800KEA663 AhNHX63 Ah17g169900plas: 11, chlo: 1, vacu: 1828AT2G13620CHX1564 AhNHX64 Ah18g351200chlo: 6, plas: 6, cyto: 1797AT3G52080CHX2865 AhNHX65 Ah18g408200plas: 7, vacu: 3, E.R.: 3780AT1G16380CHX166 AhNHX66 Ah18g442900cyto: 4, plas: 4, extr: 2, E.R.: 2, chlo: 1429AT5G41610CHX1867 AhNHX67 Ah19g256700plas: 6, vacu: 3, E.R.: 3, mito: 1539AT3G05030NHX268 AhNHX68 Ah20g063400plas: 11, E.R.: 2850AT2G13620CHX1569 AhNHX69 Ah20g077100plas: 8, E.R.: 2, nucl: 1, vacu: 1, cysk: 1771AT4G04850KEA370 AhNHX70 Ah20g114100plas: 8, cyto: 4, nucl: 2775AT5G22900CHX371 AhNHX71 Ah20g184200plas: 10, E.R.: 2, vacu: 1810AT2G13620CHX1572 AhNHX72 Ah20g187000plas: 8, vacu: 2, E.R.: 2, chlo: 1831AT2G13620CHX1573 AhNHX73 Ah20g343500plas: 12, vacu: 2837AT2G13620CHX15 Biological characteristics and orthologous genes of 73 AhNHX genes Phylogenetic analysis of AhNHX protein Phylogenetic analysis indicated that AhNHX proteins were classified into three subfamilies, based on the bootstra p-values (> 50%) (Fig. 1). The first and third subfamilies contained 13 and 45 AhNHX proteins, respectively. The second subfamily contains 15 AhNHX, 8 AtNHX, 35 MsNHX, 4 MtNHX, 9 PvNHX and 9 GmNHX proteins. These results indicated that the NHX genes in Arachis hypogaea, Arabidopsis thaliana, Glycine max, Medicago sativa, Medicago truncatula, and Phaseolus vulgaris shared common ancestors, while peanut acquired more NHX genes during evolution. Fig. 1Phylogenetic tree constructed from NHX protein sequences of Arabidopsis thaliana, Glycine max, Medicago sativa, Medicago truncatula, and Phaseolus vulgaris Phylogenetic tree constructed from NHX protein sequences of Arabidopsis thaliana, Glycine max, Medicago sativa, Medicago truncatula, and Phaseolus vulgaris Chromosomal distribution of AhNHX genes A total of 73 AhNHX genes were located on 20 chromosomes. These genes were evenly or clustered across the 20 chromosomes of the peanut. The number of AhNHX genes ranges from 1 to 7 across chromosomes. Chromosomes 1, 6, 10, 16, and 20 each contains six AhNHX genes. There was only one AhNHX gene on each of Chromosomes 2, 9, 17 and 19. Most AhNHX genes were located on Chromosome 3 (7 AhNHX) (Fig. 2). AhNHX genes on Chromosome 1, 6, 10, 11, 15, 16, and 20 exhibit clustered distribution. The KS test was used to determine the enrichment and uniformity of AhNHX gene distribution on these chromosomes. The result indicated that p value was above 0.05 in KS test for each chromosome, implying these AhNHX genes were randomly distributed on chromosomes. Fig. 2Locations of the 73 AhNHX genes across 20 chromosomes Locations of the 73 AhNHX genes across 20 chromosomes Gene structure and conserved motif organization To characterize the structural features of AhNHX genes, we analyzed the exon-intron distribution patterns (number and size) of the 73 identified AhNHX members (Fig. 3). The results indicated that only one out of the 73 AhNHX genes was intronless. Intron number showed an extremely significant difference (p < 0.01) between the AhNHX gene subfamilies. For instance, the AhNHX genes in the first and second subfamilies contain 18–23 (average 19.1) and 12–22 (average 15.9) introns, respectively, while those in the third subfamily have only 0–5 (average 2.4) introns. Moreover, the number of minimal introns (base number was less than 50 ~ 150 bp) differed extremely significantly (p < 0.01) between the first two subfamilies and third subfamily. Notably, AhNHX53 contains two tiny introns with 16 bp base while AhNHX63 has a 5 bp intron (Table S2). Fig. 3Exon-intron structures and conserved protein motifs of AhNHX genes Exon-intron structures and conserved protein motifs of AhNHX genes Besides, the size variation in the introns of each AhNHX gene varies greatly among different subfamilies, especially between the third subfamily and the first two subfamilies. For example, the average number of intron bases in the first and second subfamilies accounts for 65.78% and 63.57% of the total number of intron and exon bases, respectively. There was no significant difference between the two, but both were greatly significant (p < 0.01) higher than the third subfamily’s 28.49%. The large variations were observed in the base number of smallest and largest intron for each AhNHX genes. In the first, second and third subfamily, the base numer of smallest introns range from 73 bp to 89 bp (coefficient of variation was 7.97%), 64 bp to 83 bp (coefficient of variation was 8.41%), and 0 bp to 889 bp (coefficient of variation was 104.61%), respectively. Correspondingly, the base number of largest introns range from 440 bp to 1632 bp (coefficient of variation was 47.21%), 256 bp to 1326 bp (coefficient of variation was 48.47%), and 0 bp to 7868 bp (coefficient of variation was 160.32%) among three subfamilies, respectively. The intron sizes of the AhNHX59, AhNHX58, and AhNHX22 genes reached 7.868 kb, 6.243 kb, and 4.780 kb, respectively (Table S2). To investigate the features of conserved domain of AhNHX, we used MEME to analyze the pattern of the motifs within AhNHX proteins. A total of 20 motifs were discovered in the 73 AhNHX protein sequences. The sequence of each motif was shown in Table S3, and the motifs were named motif1 to motif 20. The result showed that the number and type of motifs in the AhNHX protein varied among subfamilies but were relatively conserved within each subfamily. For instance, AhNHX proteins in the first subfamily contain motifs 2, 7, 8, 10, 16, and 18, while those in the second subfamily had motifs 8, 11, 13, 16, 17, 18, and 19. In the third subfamily, AhNHX proteins contain at least 18 motifs, a number greater than that in the first two subfamilies. Furthermore, the C-terminal motif was more conserved in the third subfamily than in the other two subfamilies. For example, the AhNHX proteins in the third subfamily, except for AhNHX66, had motifs 12, 1, 3, and 4 arranged from the C-terminus to the N-terminus (Fig. 3). To predict the function of motifs, each motif sequence was used to Blastp on online database (https://www.uniprot.org/blast). The results indicated that motifs 1 and motif 12 were annotated as the cation/H+ antiporter C-terminal, motifs 3, 4, 6, and 15 as the cation/H+ antiporter central, the rest of motifs as the cation/H+ exchanger transmembrane (Table S2). Motifs 2, 4, 5, 7, 8, 9, 10, 11, 13, and 14 had the helical structure. Notably, the AhNHX proteins in the first two subfamilies lack motifs 1, 3, 4, 6, 12, and 15, which were the cation/H+ antiporter C-terminal and central (Fig. 3). Cis-elements in AhNHX promoters In the study, twenty predicted cis-regulatory elements were identified in the 2000 bp promoter region upstream of the AhNHX gene start codon. Their frequencies and positions in the promoter sequence were indicated by numbers in the heatmap and by colored dots along the sequence (Fig. 4). The results demonstrated that the predicted cis-element associated with light responsiveness was widely present in 73 AhNHX promoter sequences, and its frequency was the highest among all cis-elements. The upstream promoter sequences of the AhNHX61 gene contained 32 light-responsive cis-elements. Similarly, the frequency of cis-elements associated with MeJA responsiveness, abscisic acid responsiveness, and anaerobic induction is second only to that of light responsiveness, while a few AhNHX genes do not contain any, such as AhNHX28, AhNHX41, and AhNHX44. The remaining cis-elements were associated with salicylic acid responsiveness, drought inducibility, defense and stress responses, auxin responsiveness, circadian control, gibberellin responsiveness, wound responsiveness, flavonoid biosynthesis, and anoxia-specific inducibility. Their distribution and occurrence frequency in the promoter sequences were relatively low. Even cis-elements related to wound response, flavonoid biosynthesis, and anoxia-specific inducibility were found only in a few promoter sequences of the AhNHX gene. For instance, a total of 4 out of the 73 AhNHX genes, including AhNHX12, AhNHX27, AhNHX46, and AhNHX70, contained only one or two wound‑responsive cis‑elements. AhNHX21 and AhNHX70 contain two and one flavonoid biosynthesis‑related cis‑element, respectively. Only AhNHX59 possesses one anoxic‑specific inducible cis‑element. Fig. 4Cis-elements in the 2000 bp upstream region of the ATG start codon in 73 AhNHX gene promoters Cis-elements in the 2000 bp upstream region of the ATG start codon in 73 AhNHX gene promoters Expression profiles of AhNHX genes in different tissues To study the expression specificity of the AhNHX genes across different tissues, we profiled the expression characteristics of the AhNHX genes among 22 peanut tissues based on the expression data from two published studies. We retrieved the expression data of 52 and 62 AhNHX genes from the two studies, respectively. The results demonstrated that they had different expression levels in 22 tissues of peanuts (Fig. 5). Fig. 5Expression analysis of the AhNHX gene in 22 peanut tissues. a The eapression heatmap of 52 AhNHX genes; (b) The eapression heatmap of 62 AhNHX genes Expression analysis of the AhNHX gene in 22 peanut tissues. a The eapression heatmap of 52 AhNHX genes; (b) The eapression heatmap of 62 AhNHX genes To identify whether AhNHX genes were the specific expression among the tissues, we calculated the tissue-specific gene expression index (tau/τ) for each AhNHX genes. According to the density curve, the tau value was concentrated around 0.85. The value 0.85 was served as the threshold for identifying the specific expression of AhNHX genes in tissues of peanut. The AhNHX genes with tau value above 0.85 were served as the specific expression in tissues. The result demonstrated that the AhNHX55 and AhNHX59 were specifically expressed in the root, AhNHX3, AhNHX8, and AhNHX33 were expressed in the reproductive shoot tip, AhNHX30 and AhNHX64 were expressed in the leaves, AhNHX60 was expressed in the nodule, AhNHX9 was expressed in the subterranean peg tip, and AhNHX1, AhNHX24, AhNHX25, and AhNHX40 were expressed in the developing seed. Sixteen AhNHX genes with tau value above 0.85 were specifically expressed in the pistils (Figure S1). Evolutionary analysis of AhNHX genes To elucidate the evolutionary relationship among these AhNHX genes, collinearity analysis was performed on 73 identified AhNHX genes based on sequence homology. The results showed that 58 of the 73 (79.45%) AhNHX exhibited collinearity relationships. These collinear genes were randomly distributed across the 20 peanut chromosomes, with those located in the segmental duplication regions visualized in the circos plot (Fig. 6). Fig. 6The collinearity analysis among the 73 AhNHX genes. The green circles represent chromosomes. The blue and white gradient circles represent gene density The collinearity analysis among the 73 AhNHX genes. The green circles represent chromosomes. The blue and white gradient circles represent gene density The results of collinearity analysis showed that the replication events of AhNHX gene were all segmental duplication, and no tandem replication was found. A total of 51 paralogous gene pairs were generated from the 58 AhNHX genes through the segmental duplication during evolution (Table 2). The protein identity of these paralogous pair ranged from 57.84% (AhNHX21/AhNHX58) to 99.82% (AhNHX15/AhNHX51). Notably, the non-synonymous to synonymous sites ratio (dN/dS) of each paralogous pair was significantly lower than 1, indicating that AhNHX genes had experienced purifying selection during their evolution process. Table 2dN/dS values and divergence times of paralogous gene pairsNo.Locus1Locus2protein identity (%)dNdSdN/dSDuplication typePurify selectionDivergence-Time (MYA)1 AhNHX1 AhNHX40 98.660.0060.0320.190SegmentalY1.9822 AhNHX2 AhNHX39 98.160.0080.0480.161SegmentalY2.9243 AhNHX5 AhNHX15 81.530.1210.8620.140SegmentalY53.0764 AhNHX5 AhNHX42 99.630.0010.0110.075SegmentalY0.6905 AhNHX5 AhNHX51 81.530.1170.8680.135SegmentalY53.4456 AhNHX6 AhNHX41 99.630.0020.0240.071SegmentalY1.4567 AhNHX7 AhNHX44 98.470.0080.0230.340SegmentalY1.3908 AhNHX9 AhNHX30 67.140.1971.6930.117SegmentalY104.2369 AhNHX9 AhNHX47 97.300.0020.0150.154SegmentalY0.95010 AhNHX9 AhNHX64 66.500.1992.3550.085SegmentalY144.98811 AhNHX12 AhNHX38 67.710.2171.1360.191SegmentalY69.94012 AhNHX12 AhNHX49 99.060.0040.0340.127SegmentalY2.09613 AhNHX12 AhNHX73 67.990.2191.1630.188SegmentalY71.63714 AhNHX13 AhNHX34 77.580.1280.6400.201SegmentalY39.39315 AhNHX13 AhNHX45 99.380.0030.0210.129SegmentalY1.28816 AhNHX13 AhNHX69 77.450.1300.6480.201SegmentalY39.90417 AhNHX14 AhNHX50 99.150.0030.0230.136SegmentalY1.39118 AhNHX15 AhNHX42 83.040.1070.8290.130SegmentalY51.04719 AhNHX15 AhNHX51 99.820.0010.0150.057SegmentalY0.89320 AhNHX16 AhNHX29 74.170.1360.7780.175SegmentalY47.89621 AhNHX16 AhNHX43 75.000.1340.7350.183SegmentalY45.22822 AhNHX16 AhNHX52 99.070.0040.0140.302SegmentalY0.85923 AhNHX20 AhNHX56 99.300.0030.0290.107SegmentalY1.77224 AhNHX21 AhNHX58 57.840.2931.7890.164SegmentalY110.18125 AhNHX23 AhNHX32 74.180.1340.6990.191SegmentalY43.01926 AhNHX23 AhNHX57 94.490.0030.0310.080SegmentalY1.93527 AhNHX23 AhNHX67 74.180.1320.7060.187SegmentalY43.44528 AhNHX24 AhNHX60 99.030.0040.0240.179SegmentalY1.47629 AhNHX25 AhNHX61 72.330.0060.0300.203SegmentalY1.87530 AhNHX26 AhNHX62 99.330.0030.0230.138SegmentalY1.39531 AhNHX27 AhNHX46 98.730.0060.0290.201SegmentalY1.77632 AhNHX28 AhNHX63 97.010.0100.0210.454SegmentalY1.31133 AhNHX29 AhNHX43 99.010.0040.0130.316SegmentalY0.81534 AhNHX29 AhNHX52 74.570.1350.7580.179SegmentalY46.66535 AhNHX30 AhNHX47 67.890.2011.8660.108SegmentalY114.87336 AhNHX30 AhNHX64 96.610.0150.1010.152SegmentalY6.22937 AhNHX31 AhNHX65 99.360.0030.0340.085SegmentalY2.07038 AhNHX32 AhNHX57 78.100.1350.7060.190SegmentalY43.49939 AhNHX32 AhNHX67 99.440.0030.0190.132SegmentalY1.17840 AhNHX33 AhNHX68 98.350.0080.0340.224SegmentalY2.11641 AhNHX34 AhNHX45 77.710.1280.6100.209SegmentalY37.55942 AhNHX34 AhNHX69 99.090.0040.0120.336SegmentalY0.71643 AhNHX35 AhNHX70 99.230.0040.0420.085SegmentalY2.58344 AhNHX36 AhNHX71 99.140.0040.0220.193SegmentalY1.33445 AhNHX37 AhNHX72 97.110.0110.0340.332SegmentalY2.09646 AhNHX38 AhNHX49 67.830.2151.1660.184SegmentalY71.80047 AhNHX38 AhNHX73 99.760.0010.0370.030SegmentalY2.25648 AhNHX42 AhNHX51 79.890.1210.8320.145SegmentalY51.24549 AhNHX45 AhNHX69 77.580.1290.6180.210SegmentalY38.04950 AhNHX49 AhNHX73 68.110.2171.1960.181SegmentalY73.61951 AhNHX57 AhNHX67 78.100.1330.7140.186SegmentalY43.934 Table 2dN/dS values and divergence times of paralogous gene pairsNo.Locus1Locus2protein identity (%)dNdSdN/dSDuplication typePurify selectionDivergence-Time (MYA)1 AhNHX1 AhNHX40 98.660.0060.0320.190SegmentalY1.9822 AhNHX2 AhNHX39 98.160.0080.0480.161SegmentalY2.9243 AhNHX5 AhNHX15 81.530.1210.8620.140SegmentalY53.0764 AhNHX5 AhNHX42 99.630.0010.0110.075SegmentalY0.6905 AhNHX5 AhNHX51 81.530.1170.8680.135SegmentalY53.4456 AhNHX6 AhNHX41 99.630.0020.0240.071SegmentalY1.4567 AhNHX7 AhNHX44 98.470.0080.0230.340SegmentalY1.3908 AhNHX9 AhNHX30 67.140.1971.6930.117SegmentalY104.2369 AhNHX9 AhNHX47 97.300.0020.0150.154SegmentalY0.95010 AhNHX9 AhNHX64 66.500.1992.3550.085SegmentalY144.98811 AhNHX12 AhNHX38 67.710.2171.1360.191SegmentalY69.94012 AhNHX12 AhNHX49 99.060.0040.0340.127SegmentalY2.09613 AhNHX12 AhNHX73 67.990.2191.1630.188SegmentalY71.63714 AhNHX13 AhNHX34 77.580.1280.6400.201SegmentalY39.39315 AhNHX13 AhNHX45 99.380.0030.0210.129SegmentalY1.28816 AhNHX13 AhNHX69 77.450.1300.6480.201SegmentalY39.90417 AhNHX14 AhNHX50 99.150.0030.0230.136SegmentalY1.39118 AhNHX15 AhNHX42 83.040.1070.8290.130SegmentalY51.04719 AhNHX15 AhNHX51 99.820.0010.0150.057SegmentalY0.89320 AhNHX16 AhNHX29 74.170.1360.7780.175SegmentalY47.89621 AhNHX16 AhNHX43 75.000.1340.7350.183SegmentalY45.22822 AhNHX16 AhNHX52 99.070.0040.0140.302SegmentalY0.85923 AhNHX20 AhNHX56 99.300.0030.0290.107SegmentalY1.77224 AhNHX21 AhNHX58 57.840.2931.7890.164SegmentalY110.18125 AhNHX23 AhNHX32 74.180.1340.6990.191SegmentalY43.01926 AhNHX23 AhNHX57 94.490.0030.0310.080SegmentalY1.93527 AhNHX23 AhNHX67 74.180.1320.7060.187SegmentalY43.44528 AhNHX24 AhNHX60 99.030.0040.0240.179SegmentalY1.47629 AhNHX25 AhNHX61 72.330.0060.0300.203SegmentalY1.87530 AhNHX26 AhNHX62 99.330.0030.0230.138SegmentalY1.39531 AhNHX27 AhNHX46 98.730.0060.0290.201SegmentalY1.77632 AhNHX28 AhNHX63 97.010.0100.0210.454SegmentalY1.31133 AhNHX29 AhNHX43 99.010.0040.0130.316SegmentalY0.81534 AhNHX29 AhNHX52 74.570.1350.7580.179SegmentalY46.66535 AhNHX30 AhNHX47 67.890.2011.8660.108SegmentalY114.87336 AhNHX30 AhNHX64 96.610.0150.1010.152SegmentalY6.22937 AhNHX31 AhNHX65 99.360.0030.0340.085SegmentalY2.07038 AhNHX32 AhNHX57 78.100.1350.7060.190SegmentalY43.49939 AhNHX32 AhNHX67 99.440.0030.0190.132SegmentalY1.17840 AhNHX33 AhNHX68 98.350.0080.0340.224SegmentalY2.11641 AhNHX34 AhNHX45 77.710.1280.6100.209SegmentalY37.55942 AhNHX34 AhNHX69 99.090.0040.0120.336SegmentalY0.71643 AhNHX35 AhNHX70 99.230.0040.0420.085SegmentalY2.58344 AhNHX36 AhNHX71 99.140.0040.0220.193SegmentalY1.33445 AhNHX37 AhNHX72 97.110.0110.0340.332SegmentalY2.09646 AhNHX38 AhNHX49 67.830.2151.1660.184SegmentalY71.80047 AhNHX38 AhNHX73 99.760.0010.0370.030SegmentalY2.25648 AhNHX42 AhNHX51 79.890.1210.8320.145SegmentalY51.24549 AhNHX45 AhNHX69 77.580.1290.6180.210SegmentalY38.04950 AhNHX49 AhNHX73 68.110.2171.1960.181SegmentalY73.61951 AhNHX57 AhNHX67 78.100.1330.7140.186SegmentalY43.934 dN/dS values and divergence times of paralogous gene pairs The evolutionary divergence time of each paralogous pair was estimated. Among them, AhNHX5/AhNHX42 and AhNHX9/AhNHX64 were formed by segmental duplication approximately 0.7 and 145 million years ago, respectively. A total of 20 paralogous pairs were formed about 2 million years ago, with protein identities ranging from 99.82% (AhNHX15/AhNHX51) to 97.30% (AhNHX9/AhNHX47). Additionally, four paralogous pairs were generated via segmental duplication about 100 MYA, and these pairs exhibited relatively lower protein identities, spanning from 57.84% (AhNHX21/AhNHX58) to 67.89% (AhNHX30/AhNHX47). Expression pattern analysis of paralogous pairs To investigate the expression patterns of paralogous gene pairs in response to salt stress, we analyzed the transcript levels of 12 paralogous gene pairs in both salt-tolerant (HY33) and salt-sensitive (HY9115) peanut varieties at 0, 3, 12, 24, and 48 h after salinity treatment. The results demonstrated that several paralogous gene pairs exhibited consistent expression patterns in HY33 under salt stress. For instance, AhNHX7 and AhNHX44 were significantly upregulated in HY33 throughout salt stress process (3, 12, 24, and 48 h), with no significant differences in their expression levels except at 24 h (Fig. 7). Similarly, AhNHX15 and AhNHX51, AhNHX26 and AhNHX62 exhibited nearly identical expression patterns after salt stress in HY33. However, most paralogous gene expressions were significantly different under salt stress or control conditions. For instance, paralogous gene pairs AhNHX13 and AhNHX34, the former was significantly downregulated at 3 h and upregulated at 12 h and 24 h, while the latter was significantly downregulated only at 3 h in HY33. Significant differential expression between this gene pair was observed at 0, 12, 24, and 48 h in HY33. Paralogous gene pairs with significant expression differences in HY33 included AhNHX16/AhNHX29, AhNHX16/AhNHX43, AhNHX16/ AhNHX52, AhNHX23/ AhNHX32, AhNHX29/ AhNHX43, AhNHX32/ AhNHX57, and AhNHX57/ AhNHX67. Fig. 7Expression patterns of paralogous gene pairs in salt-tolerant variety (HY33). Different lowercase letters indicate significant differences in the expression of the same gene between different salt stress times. The asterisk indicates a significant difference in expression between paralogous gene pairs at the same salt stress time point Expression patterns of paralogous gene pairs in salt-tolerant variety (HY33). Different lowercase letters indicate significant differences in the expression of the same gene between different salt stress times. The asterisk indicates a significant difference in expression between paralogous gene pairs at the same salt stress time point In HY9115, a minority of the 12 paralogous gene pairs showed expression patterns different from those in HY33, while most were similar to it. Paralogous gene pairs AhNHX7/AhNHX44, AhNHX29/AhNHX52, and AhNHX16/AhNHX43 showed differential expression pattern between HY33 and HY9115. For example, the expression levels of AhNHX7 and AhNHX44 showed significant differences under 0 h and 48 h salt stress in HY9115 but not in HY33 (Fig. 8). Simultaneously, significant expression differences of AhNHX52 and AhNHX29 were observed in HY33 under 12 h and 48 h salt stress, while not in HY9115. AhNHX16 expression was significantly lower than AhNHX43 in HY9115 under 48 h salt stress, whereas their expressions were similar in HY33. Actually, most of the 12 paralogous gene pairs in HY9115 exhibited a similar expression pattern to their counterparts in HY33, including AhNHX13/AhNHX34, AhNHX23/AhNHX32, AhNHX29/AhNHX43, AhNHX32/AhNHX57, and AhNHX57/AhNHX67. Fig. 8Expression patterns of paralogous gene pairs in salt-tolerant variety (HY9115). Different lowercase letters indicate significant differences in the expression of the same gene between different salt stress times. The asterisk indicates a significant difference in expression between paralogous gene pairs at the same salt stress time point Expression patterns of paralogous gene pairs in salt-tolerant variety (HY9115). Different lowercase letters indicate significant differences in the expression of the same gene between different salt stress times. The asterisk indicates a significant difference in expression between paralogous gene pairs at the same salt stress time point Expression profiles of AhNHX genes in HY33 and HY9115 under salt stress To study the expression characteristics of the AhNHX genes, we conducted transcriptome analysis of salt-tolerant (HY33) and salt-sensitive (HY9115) peanuts under salt stress. The results demonstrated diverse expression patterns of AhNHX genes in HY33 and HY9115 under salt stress (Fig. 9a). Among the 73 AhNHX genes, 14 exhibited differential expression between HY9115 and HY33 under control conditions, including AhNHX2, AhNHX3, AhNHX16, AhNHX18, AhNHX21, AhNHX32, AhNHX36, AhNHX37, AhNHX51, AhNHX52, AhNHX53, AhNHX60, AhNHX61, and AhNHX72. Fig. 9Expression analysis of 73 AhNHX genes in HY9115 and HY33 under salt stress. a Expression heatmap of 73 AhNHX genes under salt stress; (b) The fold change in expression of twelve candidate AhNHX genes under salt stress Expression analysis of 73 AhNHX genes in HY9115 and HY33 under salt stress. a Expression heatmap of 73 AhNHX genes under salt stress; (b) The fold change in expression of twelve candidate AhNHX genes under salt stress Under salt stress, distinct expression patterns of AhNHX genes were observed between the two varieties with 9, 8, 10, and 12 genes showing differential expression at 3 h, 12 h, 24 h, and 48 h, respectively. After 3 h of salt treatment, the transcript levels of multiple AhNHX genes (AhNHX9, AhNHX15, AhNHX25, AhNHX31, AhNHX36, AhNHX37, AhNHX51, and AhNHX72) were higher in HY9115 than in HY33, while those of AhNHX29, AhNHX34, AhNHX35, AhNHX43, and AhNHX69 were lower. After 12 h, the expressions of AhNHX6, AhNHX42, AhNHX61, and AhNHX63 increased in HY9115 compared with HY33, whereas that of AhNHX24, AhNHX49, AhNHX53, AhNHX60, and AhNHX69 decreased. At 24 h, the expressions of AhNHX6, AhNHX28, AhNHX2, AhNHX61, and AhNHX30 were upregulated in HY9115 relative to HY33, while that of AhNHX32, AhNHX35, AhNHX41, AhNHX42 and AhNHX54 were downregulated. After 48 h of salt exposure, the expressions of AhNHX1, AhNHX3, AhNHX25, AhNHX47, AhNHX63, and AhNHX73 were higher in HY9115 than in HY33, whereas that of AhNHX32, AhNHX36, AhNHX61, AhNHX66, AhNHX67, and AhNHX68 were lower. Moreover, some genes showed earlier and more sustained upregulation in HY33 than in HY9115 under salt stress. For instance, AhNHX24 and AhNHX49 were upregulated at 12 h and 24 h in HY33, whereas in HY9115, upregulation occurred later and only at 24 h. A reverse pattern in expression timing between HY9115 and HY33 was also observed for other AhNHX genes, including AhNHX1, AhNHX9, AhNHX15, and AhNHX40. Additionally, the study showed that 12 out of 73 AhNHX genes, including AhNHX11, AhNHX12, AhNHX19, AhNHX23, AhNHX34, AhNHX38, AhNHX43, AhNHX44, AhNHX48, AhNHX54, AhNHX57, and AhNHX73, were significantly upregulated by salt stress induction in both varieties under salt stress (Fig. 9b). Discussion Segmental duplication events within AhNHX gene family A recent study reported 14 AhNHX genes in peanut [48], whereas our study identified 73 AhNHX genes. The difference mainly results from the different selection criteria used in the two studies. For example, Zhou et al. [48] removed redundant sequences based on gene IDs and sequence similarity. In contrast, our study excluded incomplete protein sequences and those lacking the NHX conserved domain, while retaining genes with sequence similarity. Importantly, many of these sequence-similar genes exhibited inconsistent expression patterns under salt stress in our study, which we consider a key finding. Moreover, our study indicated that many of these genes arise from segmental duplication, an important mechanism for generating new genes. Therefore, we retained more AhNHX potential gene candidates to investigate phylogenetic relationships and gene structures, as well as expression patterns under salt stress. Our results could provide new insights into the AhNHX gene family. Gene duplications were a major driver of new gene functions and facilitate large-scale structural variation [56, 57]. It was a process that promotes adaptive evolution in species, accounting for approximately half of eukaryotic genes [58]. In our study, 51 paralogous gene pairs were generated among the 58 AhNHX genes via segmental duplication (Table 2). Gene duplication could lead to functional redundancy due to sequence similarity, but may also generate new functions through divergence [58]. In this study, the duplicated AhNHX genes exhibited a wide range of protein identities, from 57.84% (AhNHX21/AhNHX58) to 99.82% (AhNHX15/AhNHX51), suggesting the functional diversity. AhNHX7 and AhNHX44, a pair of paralogous genes with 98.47% protein sequence identity, showed consistent expression patterns under salt stress in HY33 (Fig. 7). In contrast, another pair, AhNHX15 and AhNHX51, with 99.82% protein identity, displayed different expression pattern: the former was significantly upregulated under salt stress, while the latter showed no significant change in expression. Furthermore, our study indicated that the expression patterns of duplicated gene pairs differed between HY9115 and HY33. For example, AhNHX7 and AhNHX44 were also upregulated in HY9115, but their expression levels differed significantly under salt stress (Fig. 8) This suggested that the segmental duplication events expanded the number of genes and increased the diversity of responses to salt stress. The dN/dS ratio was a useful measure for inferring the type of selection pressure acting on protein-coding genes [59]. A ratio greater than one indicated positive selection, while a ratio equal to one implied neutral evolution. Meanwhile, a ratio below one suggested purifying selection [60, 61]. In our study, the dN/dS ratio for each paralogous gene pair was much lower than one, indicating that these genes had undergone purifying selection. Gene expression levels under stress conditions can be enhanced as a result of positive selection during evolution [62, 63]. Our study showed that paralogous gene pairs exhibited either similar expression patterns or divergent yet complementary ones under salt stress. Functional divergence of duplicated genes enhanced adaptability under stress conditions [64]. Our results demonstrated that duplicated genes enriched expression patterns which may contribute to coping with stress environments. Besides, our study showed that more significant expression differences existed between paralogous AhNHX genes that had diverged for longer period (Figs. 7 and 8). Previous study suggested that the duplicated gene exhibited initially genetic redundancy, and its function could diverge as sequence differences accumulated in the replicated copies [65]. Moreover, some mutations in duplicated sequences within accessible chromatin regions can accumulate gradually over time [57]. This suggested that mutations between paralogous AhNHX genes may also accumulate progressively, leading ultimately to functional divergence. In the study, paralogous AhNHX genes with longer divergence times displayed tissue-specific expression, whereas those with shorter divergence times showed no tissue specificity (Figs. 5, 7 and 8). Differential expression of duplicated genes across tissues may contribute to the retention of paralogous copies [65]. Paralogous AhNHX genes displaying tissue-specific expression exhibited also low protein identity. It implied that the retained paralogous AhNHX genes accumulated more mutations, leading to functional divergence across different tissues. Our findings could provide useful evidence for explaining the retention of paralogous AhNHX genes and their role in evolutionary innovation. Structural features and expression diversity of AhNHX genes The differences in cis-regulatory sequences can contribute to transcriptional divergence [66–68]. It suggested that cis-regulatory elements played an important role in shaping expression divergence. Our results demonstrated that the difference in cis-regulatory elements can result in significant variations in the expression levels of AhNHX genes. For example, although AhNHX23 was paralogous to AhNHX32, the former contains both MeJA responsiveness and low temperature responsiveness but whereas the latter did not. A significant difference in expression level was observed between AhNHX23 and AhNHX32. The C-terminus of NHX proteins not only governed subcellular localization and regulated transport activity, but its removal, specifically of the hydrophilic domain, had been shown to elevate Na+/H+ transport activity [69, 70]. Compared to the N-terminus, the C-terminus of NHX proteins was relatively diverse [63]. In this study, the AhNHX proteins in the third cluster showed relatively conserved C-termini. Moreover, most genes in the third cluster exhibited similar expression patterns under salt stress (Fig. 9). An intron was a segment of a transcription unit that was spliced out and absent from the mature mRNA [71]. Genes containing multiple introns can undergo alternative splicing, thereby generating protein variants that may play distinct roles in biological processes [72]. Our study revealed marked differences in the quantity and size of exons and introns between the first two subfamilies and the third subfamily. For example, AhNHX genes in the first and second subfamilies contained 18 to 23 introns and 12 to 22 introns, respectively, whereas those in the third subfamily possessed only 1 to 5 introns. It had been proposed that intronless genes likely emerged later and had been subject to stronger functional constraints than intron-rich genes [73]. Moreover, notable differences in the number of minimal introns were observed between the first two subfamilies and the third subfamily. Previous studies had suggested that genes containing tiny introns tend to be older [74]. It implied that the AhNHX genes in the third subfamily may have evolved more recently. Temporal expression dynamics and salt tolerance variation To alleviate salt toxicity in crop plants, three mechanisms had been evolved to prevent cytoplasmic Na⁺ accumulation: restricting Na⁺ influx, actively extruding Na⁺, and sequestering Na⁺ into vacuole [18]. The salt overly sensitive (SOS) pathway will be activated within 2 h of increasing Na+ stress to enhance Na+ efflux [19]. Concurrently, Na+ in root could also be transported to shoot via the transpiration stream [20]. The plasma membrane Na+/H⁺ antiporter was essential for plant salt tolerance by mediating Na⁺ exclusion [18]. In our study, several AhNHX proteins were localized in the plasma membrane and upregulated within a short period of time. For example, AhNHX19, AhNHX24, AhNHX54, and AhNHX56 were upregulated in both HY9115 and HY33 under salt stress. Shoot Na+ exclusion had been proposed as a key subtrait of salt tolerance [22]. In this study, seven AhNHX genes were found to be highly expressed in shoot tip, among which AhNHX34 was significantly upregulated in both HY9115 and HY33 after 3 h of salt stress (Fig. 9). AhNHX34 was orthologous to Arabidopsis KEA3 that was localized in the thylakoid membrane [75]. Most studies reported that KEA3 was associated with photosynthesis in Arabidopsis [76–78]. However, AhNHX34 was predicted to be localized in the plasma membrane and was induced by salt stress. This indicated that function of AhNHX34 was different from KEA3 and it may be involved in Na+ transport in shoot during the early stages of salt stress. Additionally, AhNHX2, a homolog of SOS1, was upregulated after 24 h of salt stress in HY9115, but downregulated in HY33 even under salt stress. It indicated that the response of AhNHX2 to salt stress varied depending on the variety of peanut. AhNHX43 was significantly upregulated in HY33 after 12 h of salt stress (Fig. 9). The homolog of AhNHX43 was KEA1 in Arabidopsis, a bi-directional K+ transport activity in the inner envelope membrane of chloroplasts [75, 78]. Sodium, although a non-essential nutrient for most plants, can serve as a cost-effective osmoticum to partially substitute for K⁺ under salt stress [79]. Moderate Na+ levels positively affected plant development [80, 81]. However, continuous salt stress can reduce K+ absorption, leading to ion imbalance in plants [81]. Furthermore, when K⁺ uptake was limited due to salt stress, metabolic activities that required multiple K⁺-dependent enzyme activities may be inhibited, such as pyruvate kinase in glycolysis [81]. In this study, the upregulation of AhNHX43 may be a positive responsive to salt stress in HY33. Previously, studies reported that the ability of Na+ exclusion from shoot was a significant component of salinity tolerance [21, 82]. AhNHX47 was predicted to be localized in the cytoplasm and expressed in the shoot. Moreover, it was induced by salt stress in both HY9115 and HY33, suggesting AhNHX47 may play a role in mediating the transport of Na+ from cytoplasm to vacuoles in shoots. AhNHX23 and AhNHX44 were predicted to be localized in the plasma membrane (Table 1). AhNHX4, AhNHX23 and AhNHX44 were the homolog of AtNHX2 that was localized in the tonoplast in Arabidopsis [83]. AtNHX2 was Na+/K+ transporter from cytosol to tonoplast in Arabidopsis [31]. Interestingly, our study revealed that AhNHX4 was downregulated while AhNHX23 and AhNHX44 were upregulated in both HY9115 and HY33 under salt stress. Besides, AhNHX19, AhNHX48 and AhNHX54 were predicted to be localized in the plasma membrane and were orthologous to AtCHX17 in Arabidopsis. It had been reported that AtNHX17 was expressed only in roots and strongly induced by salt stress [84]. In our study, AhNHX19, AhNHX48 and AhNHX54 were upregulated expression in root, peg tip to fruit, and pericarp tissues and induced by salt stress in both HY9115 and HY33. It indicated that AhNHX19, AhNHX48 and AhNHX54 may play important roles in regulating the salt tolerance of peanut root. Salil Chanroj et al. [85] reported that AtCHX17 also played important roles in reproduction and seed set. In our study, AhNHX19 and AhNHX54 may correlate with peanut fruit set. Characterization of AhNHX genes commonly and significantly upregulated by salt stress in both HY33 and HY9115 Under salt stress, twelve AhNHX genes (AhNHX11, AhNHX12, AhNHX19, AhNHX23, AhNHX34, AhNHX38, AhNHX43, AhNHX44, AhNHX48, AhNHX54, AhNHX57, and AhNHX73) were significantly upregulated in both HY33 and HY9115 (Fig. 9B). Notably, a recent study reported that AhNHX57 (Ah16g131200) was upregulated in both leaves and roots under salt stress [48]. Expression profiling in various tissues indicated that none of the 12 AhNHX genes exhibited tissue-specific expression (Figure S1), indicating that their upregulation was specially induced by salt stress. Among the 12 AhNHX genes, AhNHX34 and AhNHX43 belong to the first subfamily (Fig. 1). In contrast, the NHX genes from Arabidopsis thaliana, Glycine max, Medicago sativa, Medicago truncatula, and Phaseolus vulgaris were not found in this subfamily. It demonstrated that the two AhNHX genes could have arisen from an expansion of the AhNHX gene family in peanut. AhNHX23, AhNHX44, and AhNHX57 belong to the second subfamily and were phylogenetically closed to the clade containing NHX genes from Arabidopsis thaliana, Glycine max, Medicago sativa, Medicago truncatula, and Phaseolus vulgaris. This phylogenetic relationship suggested that their sequences may be the relatively more conserved among leguminous plants. In this study, AhNHX34 and AhNHX43 were identified as orthologs of Arabidopsis KEA3 and KEA1, respectively, while AhNHX23, AhNHX44, and AhNHX57 were orthologs of AtNHX2 (Table 1). Previous studies indicated that KEA3 and KEA1 were targeted to the thylakoid membrane and the inner envelope membrane of chloroplasts, respectively, where they acted as K+ transport systems and were involved in pH regulation [75, 78]. AtNHX2 was localized to the tonoplast and played a major role in the vacuolar compartmentalization of Na+ [28]. In contrast, the five AhNHX proteins were predicted to be localized to the plasma membrane (Table 1), suggesting that their roles in response to salt stress may differ from those of their orthologs. AhNHX34 and AhNHX43 contained only five and seven conserved motifs, respectively, while AhNHX23, AhNHX44, and AhNHX57 each contained six conserved motifs. These motifs correspond to the transmembrane regions (adopting the helical conformation) of the cation/H+ antiporter. Notably, these five AhNHX proteins contained neither the C-terminal motif nor the central motif of the cation/H+ antiporter (Fig. 3 and Table S3). A previous study reported that deletion of the hydrophilic C terminus in AtNHX1 resulted in a dramatic increase in the Na+/K+ transport ratio, owing to a relatively small decrease in K+/H+ transport coupled with a large increase in Na+/H+ transport [69]. This finding indicated that the C-terminal domain is critically important for the selective transport of Na+ and K+. We predicted that these five AhNHX genes may play a greater role in Na+ transport across the plasma membrane, due to the absence of the C-terminal motif of the cation/H+ antiporter. However, whether the antiport function was lost as a result of the deletion of the central antiporter motif of the cation/H+ antiporter required further investigation. Additionally, these five AhNHX genes contained a large number of minimal introns in their gene structures (Fig. 3). A previous study reported that genes with minimal introns replicate earlier and play significant roles in the selective export of highly abundant and large housekeeping genes [86]. In this study, these five AhNHX genes had undergone the segmental duplication events. The paralogs (AhNHX32 and AhNHX67) of AhNHX23 and AhNHX57 diverged 43 Mya. Similarly, AhNHX13 and AhNHX45 were the paralogs of AhNHX34 and AhNXH69 diverged 37 Mya. However, paralogous gene pairs AhNHX23/AhNHX57, AhNHX34/AhNHX69, and AhNHX7/AhNHX44 showed later divergence times of 1.935, 0.716, and 1.390 Mya, respectively. It suggested that minimal introns in ancient AhNHX genes may have been conserved during evolution. The remaining seven genes, including AhNHX11, AhNHX12, AhNHX19, AhNHX38, AhNHX48, AhNHX54, and AhNHX73, belong to the third subfamily and were predicted to contain transmembrane transport centers and C-terminal motifs. Of the seven AhNHX proteins, AhNHX11 was an ortholog of Arabidopsis AtCHX18, which was localized to the pre-vacuolar compartment and maintains pH and K+ homeostasis. AhNHX12, AhNHX38, and AhNHX73 were orthologs of AtCHX15. A previous study reported that AtCHX15 was downregulated by salinity stress, although its biological roles remain unclear [87]. In our study, these three AhNHX genes were predicted to localize to the plasma membrane and were found to be upregulated under salt stress. This suggested that these AhNHX proteins may function as important antitransport of Na+/K+ in the plasma membrane. AhNHX19, AhNHX48, and AhNHX54 were orthologs of AtCHX17, which was localized to the pre-vacuolar compartment and plasma membrane in plant. AtCHX17 was a K+ antiporter that maintained pH and K+ homeostasis in Golgi cisternae [87]. In our study, AhNHX19, AhNHX48, and AhNHX54 may play similar roles as Na+/K+ antiporters in the plasma membrane of peanut. Overall, these 12 AhNHX genes were upregulated upon salt stress and displayed the majority of the typical characteristics of the AhNHX gene family. Thus, they constitute valuable genetic resources for peanut molecular breeding. Conclusion Through genome-wide analysis, 73 AhNHX genes were identified in peanut and phylogenetically classified into three subfamilies. Subcellular localization prediction suggested their presence in the plasma membrane, chloroplast, or cytoplasm. The intron size and number differed significantly (p < 0.01) between subfamilies I/II and subfamily III. Collinearity analysis revealed that 51 paralogous gene pairs derived from 58 AhNHX genes were generated by segmental duplication, which contributed significantly to the expansion of the AhNHX family. All AhNHX paralogous genes experienced purifying selection. Under salt stress, the similar or differential expression patterns of AhNHX paralogs were observed between varieties HY9115 and HY33. Additionally, 27 AhNHX genes exhibited tissue‑specific expression across 22 tissues. Based on representative features in gene structure, protein sequence, evolutionary lineage, and salt‑induced upregulation, 12 genes (AhNHX11, 12, 19, 23, 34, 38, 43, 44, 48, 54, 57, and 73) were identified as candidates for further functional characterization. This study provided comprehensive insights into the AhNHX gene family and pinpoints candidate genes for improving salt tolerance in peanut via molecular breeding. Supplementary information Supplementary Material 1: Figure S1. atu value and specific expression genes in 22 tissues. Supplementary Material 1: Figure S1. atu value and specific expression genes in 22 tissues. Supplementary Material 2: Dataset 1. AhNHX gene expression across 22 peanut tissues; Table S1. ks test of AhNHX genes on chromosomes; Table S2. Intron size and number for each AhNHX genes; Table S3. Domain motif sequences and annotations. Supplementary Material 2: Dataset 1. AhNHX gene expression across 22 peanut tissues; Table S1. ks test of AhNHX genes on chromosomes; Table S2. Intron size and number for each AhNHX genes; Table S3. Domain motif sequences and annotations.