Chronic kidney disease (CKD) is an independent risk factor for osteoporosis and is more prevalent among people with CKD than among people who do not have CKD. Although several drugs have been used to effectively treat osteoporosis in the general population, it is unclear whether they are also effective and safe for people with CKD, who have altered systemic mineral and bone metabolism. To assess the efficacy and safety of pharmacological interventions for osteoporosis in patients with CKD stages 3-5, and those undergoing dialysis (5D). We searched the Cochrane Kidney and Transplant Register of Studies up to 25 January 2021 through contact with the Information Specialist using search terms relevant to this review. Studies in the Register are identified through searches of CENTRAL, MEDLINE, and EMBASE, conference proceedings, the International Clinical Trials Register (ICTRP) Search Portal and ClinicalTrials.gov. Randomised controlled trials comparing any anti-osteoporotic drugs with a placebo, no treatment or usual care in patients with osteoporosis and CKD stages 3 to 5D were included. Two review authors independently selected studies, assessed their quality using the risk of bias tool, and extracted data. The main outcomes were the incidence of fracture at any sites; mean change in the bone mineral density (BMD; measured using dual-energy radiographic absorptiometry (DXA)) of the femoral neck, total hip, lumbar spine, and distal radius; death from all causes; incidence of adverse events; and quality of life (QoL). Summary estimates of effect were obtained using a random-effects model, and results were expressed as risk ratios (RR) and their 95% confidence intervals (CI) for dichotomous outcomes, and mean difference (MD) for continuous outcomes. Confidence in the evidence was assessed using the Grading of Recommendations Assessment, Development and Evaluation (GRADE) approach. Seven studies involving 9164 randomised participants with osteoporosis and CKD stages 3 to 5D met the inclusion criteria; all participants were postmenopausal women. Five studies included patients with CKD stages 3-4, and two studies included patients with CKD stages 5 or 5D. Five pharmacological interventions were identified (abaloparatide, alendronate, denosumab, raloxifene, and teriparatide). All studies were judged to be at an overall high risk of bias. Among patients with CKD stages 3-4, anti-osteoporotic drugs may reduce the risk of vertebral fracture (RR 0.52, 95% CI 0.39 to 0.69; low certainty evidence). Anti-osteoporotic drugs probably makes little or no difference to the risk of clinical fracture (RR 0.91, 95% CI 0.79 to 1.05; moderate certainty evidence) and adverse events (RR 0.99, 95% CI 0.98 to 1.00; moderate certainty evidence). We were unable to incorporate studies into the meta-analyses for BMD at the femoral neck, lumbar spine and total hip as they only reported the percentage change in the BMD in the intervention group. Among patients with severe CKD stages 5 or 5D, it is uncertain whether anti-osteoporotic drug reduces the risk of clinical fracture (RR 0.33, 95% CI 0.01 to 7.87; very low certainty evidence). It is uncertain whether anti-osteoporotic drug improves the BMD at the femoral neck because the certainty of this evidence is very low (MD 0.01, 95% CI 0.00 to 0.02). Anti-osteoporotic drug may slightly improve the BMD at the lumbar spine (MD 0.03, 95% CI 0.03 to 0.04, low certainty evidence). No adverse events were reported in the included studies. It is uncertain whether anti-osteoporotic drug reduces the risk of death (RR 1.00, 95% CI 0.22 to 4.56; very low certainty evidence). Among patients with CKD stages 3-4, anti-osteoporotic drugs may reduce the risk of vertebral fracture in low certainty evidence. Anti-osteoporotic drugs make little or no difference to the risk of clinical fracture and adverse events in moderate certainty evidence. Among patients with CKD stages 5 and 5D, it is uncertain whether anti-osteoporotic drug reduces the risk of clinical fracture and death because the certainty of this evidence is very low. Anti-osteoporotic drug may slightly improve the BMD at the lumbar spine in low certainty evidence. It is uncertain whether anti-osteoporotic drug improves the BMD at the femoral neck because the certainty of this evidence is very low. Larger studies including men, paediatric patients or individuals with unstable CKD-mineral and bone disorder are required to assess the effect of each anti-osteoporotic drug at each stage of CKD.