The present invention relates to a composition for preventing or treating osteoporosis, which contains a compound isolated from a mussel extract, wherein the compound induces osteoblast differentiation, whereas osteoclast is excellent in the effect of inhibiting differentiation, As shown in FIG.본 발명은 매실 추출물로부터 분리된 화합물을 함유하는 골다공증의 예방 또는 치료용 조성물에 관한 것으로서, 상기 화합물들은 조골세포의 분화를 유도하는 반면, 파골세포는 분화를 억제하는 효과가 우수하여, 골다공증의 치료에 용이하게 이용될 수 있다.