Objective This study aimed to detect the immunoexpression of interleukin-21 (IL-21) and receptor activator of nuclear factor κB ligand (RANKL) in periapical granulomas (PGs) and radicular cysts (RCs). The interaction of IL-21 with RANKL and its role in periapical pathogenesis were also speculated.Methods A total of 32 PGs and 23 RCs were selected as experimental samples. Lesion size and occurrence of tenderness were recorded. Up to 10 healthy gingival tissues were collected as normal control samples. All tissues were subjected to immunohistochemical analysis with anti-human IL-21 and RANKL polyclonal antibodies. The correlations of IL-21 with RANKL, lesion size, and the occurrence of tenderness of the PGs and RCs were evaluated.Results IL-21-positive cells were detected in all periapical lesion tissues but not in normal tissues. In the cyst group and granuloma group, the corresponding expression levels of IL-21 were 59.92±6.57 and 36.80±6.81, whereas those of RANKL were 68.81±18.59 and 36.12±14.87, respectively. Moreover,t-test revealed a significantly higher expression of IL-21 and RANKL in RCs than in PGs (PPPConclusion This study demonstrated that IL-21 is potentially involved in the pathogenesis of apical periodontitis lesions. A role in the exacerbation of chronic inflammation, as well as in bone resorption, is suspected. Further studies are required to elucidate the specific functions of IL-21 in periradicular inflammatory processes.