The invention discloses an antibacterial fibroin-based bionic coating and a preparation method thereof. The bionic coating is prepared from the following raw materials: fibroin, caffeic acid dopamine, dopamine hydrochloride, chitosan fibers, polyurethane, boric acid, calcium metaphosphate, strontium fluorapatite, a seaweed extract, galuteolin, puffball powder, zinc oxide, strontium gluconate, glycine fumarate, potassium hydroxide, polyvinyl alcohol, distilled water, glycol salicylate and ethanol. The bionic coating provided by the invention is high in bonding intensity with a metal implant, low in coefficient of wear on a steel ball and excellent in wear resistance, and the bionic coating is excellent in antibacterial effect on staphylococcus aureus; and meanwhile, the bionic coating is good in biocompatibility, free from cell toxicity, free from formation of blood coagulation and thrombosis and free from any inflammatory reaction, and the bionic coating has a good clinical application value.