Osteoporosis is related to lncRNA‐neighboring enhancer of FOXA2 (NEF) and inversely correlated to ankylosing spondylitis (AS), implying that lncRNA‐NEF might also relate to AS. Here, FOXA2 is linked to osteoporosis.