Here, we aim at exploring the effect of CST5 on bone resorption and activation of osteoclasts in osteoporosis (OP) rats through the NF‐κB pathway. Microarray analysis was used to screen the OP‐related differentially expressed genes. Osteoporosis was induced in rats by intragastric retinoic acid administration. The serum levels of tartrate‐resistant acid phosphatase (TRAP), bone alkaline phosphatase (BALP) and osteocalcin (OC) and the expression of CD61 on the surface of osteoclasts were examined. The number of osteoclasts and the number and area of resorption pits were detected. Besides, the pathological changes and bone mineral density in bone tissues of rats were assessed. Also, the relationship between CST5 and the NF‐κB pathway was identified through determining the expression of CST5, RANKL, RANK, OPG, p65 and IKB. Poorly expressed CST5 was indicated to affect the OP. CST5 elevation and inhibition of the NF‐κB pathway decreased serum levels of TRAP, BALP and OC and expression of CD61 in vivo and in vitro. In OP rats, CST5 overexpression increased trabecular bones and bone mineral density of bone tissues, but decreased trabecular separation, fat within the bone marrow cavities and the number of osteoclasts through inhibiting the NF‐κB pathway. In vivo experiments showed that CST5 elevation inhibited growth in number and area of osteoclastic resorption pits and restrained osteoclastic bone absorption by inhibiting the NF‐κB pathway. In summary, overexpression of CST5 suppresses the activation and bone resorption of osteoclasts by inhibiting the activation of the NF‐κB pathway.