In vivo study shows that although IL-17A is not required for normal bone homeostasis, it plays a vital role in bone loss of ovariectomized osteoporosis mouse models. Here, IL17A is linked to osteoporosis.