A cross-sectional study of postmenopausal women found an association between osteoporosis and past gastric surgery or oral corticosteroids.