The invention relates to biocomposites comprising a polymeric matrix and a magnesium filler such as a water soluble magnesium salt. The use of elemental magnesium or magnesium alloy in the biocomposite is minimized and preferably avoided. The magnesium biocomposites can be used as bone implants.