Bone defects or bone discontinuities caused by trauma, infection, tumours and other diseases have led to an increasing demand for bone grafts and biomaterials. Autologous bone grafts, bone grafts with vascular tips, anastomosed vascular bone grafts and autologous bone marrow components are all commonly used in clinical practice, while oversized bone defects require the use of bone tissue engineering-related biomaterials to repair bone defects and promote bone regeneration. Currently, inorganic components such as polysaccharides and bioceramics, as well as a variety of bioactive proteins, metal ions and stem cells can be loaded into hydrogels or 3D printed scaffold materials to achieve better therapeutic results. In this review, we provide an overview of the types of materials, applications, potential mechanisms and current developments in the repair of bone defects.