In this study, we provide an explanation for the discrepancies in previous literature and show for the first time that loss of IL-17A has differential effects on OVX-induced osteoporosis; with IL-17A being important for cortical but not trabecular bone loss. Here, IL17A is linked to osteoporosis.