Given the involvement of the IRE1α pathway in osteoblast apoptosis during these pathological conditions, it becomes a potential therapeutic target for treating diabetes and osteoporosis. This evidence concerns the gene ERN1 and osteoporosis.