Magnesium (Mg) has mechanical properties similar to human bones and Mg alloy is considered ideal medical implant material. However, the high velocity of degradation inside the human inner environment severely hampers the usage of Mg alloys. In this study, caerin peptide 1.9 (F3) and a modified sequence of caerin 1.1 (F1) with anti-bacterial activity, were covalently immobilised on the surface of Mg alloys by plasma chemical click reaction. The in vitro antibacterial activity and corrosion resistance of these caerin peptide-immobilised Mg alloys were investigated in Dulbecco's Modified Eagle Medium (DMEM) solution. Un-immobilised Mg alloy sample, blank drug-sensitive tablet (BASD) and a commonly used antibiotics Tazocin were used for comparison. Results showed that peptide immobilised Mg samples showed observable improved corrosion resistance and prolonged antibacterial effect compared to non-immobilised Mg alloy and free caerin peptides. These results indicate that coating Mg alloy with caerin peptides obviously increases the alloy's antibacterial ability and putatively improves the corrosion resistance in vitro. The mechanism underlying the prolonged antibacterial effect for annealed Mg alloys immobilised with the peptides (especially F3) remains unclear, which worth further experimental and theoretical investigation.