The study investigates the association of coffee consumption and odds of osteoporosis/osteopenia among individuals older than 50years in the United States. In NHANES 2005-2014, drinking ≤ 2 cups(16oz) of coffee per day can reduce the risk of osteoporosis/osteopenia at the femoral neck and lumbar spine in US adults. Previous epidemiological studies revealed that daily coffee intake reduced the incidence of a cluster of metabolic diseases, however, the link between coffee consumption and prevalence of osteoporosis/osteopenia still remain inconclusive and awaits further confirmation. Based on data collection from 2005 to 2014 survey cycles, National Health and Nutrition Examination Survey (NHANES), a sample size of 8789 participants aged 50 and above completing two nonconsecutive 24-h dietary recalls were eventually enrolled for analysis. Associations between coffee intake and BMD were assessed. A lower odds of having femoral neck osteopenia/osteoporosis (FOO) was observed in participants with moderate intake of coffee (≤ 2 cups per day), rather than other beverages (OR 0.83; 95% CI, 0.72-0.95; p = 0.01). Moreover, significant associations existed between daily caffeine intake and both FOO and lumbar-spine osteopenia/osteoporosis (LOO). Even after adjusting for decaffeinated coffee, tea, sugar-sweetened beverages (SSBs), and coffee consumption, osteopenia and osteoporosis the odds remained lower at both femoral and neck levels. Our data suggest moderate habitual coffee intake (≤ 2 cups coffee/day) would have protective effects against osteoporosis/osteopenia of femoral neck and spine, among US adults over the age of 50.