NLR genes are crucial components of the effector-triggered immunity (ETI) system, responsible for recognizing pathogens and initiating immune responses. Although NLR genes in many plant species have been extensively studied, the diversity of NLR genes in citrus remains largely unknown. Our analysis revealed significant variations in the copy numbers of NLR genes among these species. Gene duplication and recombination were identified as the major driving forces behind this diversity. Additionally, horizontal gene transfer (HGT) emerged as the principal mechanism responsible for the increase in NLR gene copy number in A. buxifolia. The citrus NLR genes were classified into four categories: TIR-NBS-LRR (TNL), CC-NBS-LRR (CNL), RPW8-NBS-LRR (RNL), and NL. Our findings indicate that TNL, RNL, and CNL genes originated from NL genes through the acquisition of TIR and RPW8 domains, along with CC motifs, followed by the random loss of corresponding domains. Phylogenetic analysis suggested that citrus NLR genes originated alongside the species and underwent adaptive evolution, potentially playing crucial roles in the global colonization of citrus. This study provides important insights into the diversity of citrus NLR genes and serves as a foundational dataset for future research aimed at breeding disease-resistant citrus varieties.