Magnesium alloy was modified by alkali heating treatment followed by surface self-assembly.
The modified surface exhibited better hydrophilicity and improved corrosion resistance.
The blood compatibility can be improved by the alkali heating treatment and self-assembly.
The modified magnesium alloy showed improved cytocompatibility to endothelial cells.