Local release of magnesium from mesoporous TiO2 coatings stimulates the peri-implant expression of osteogenic markers and improves osteoconductivity in vivo.