The invention discloses a multifunctional coating applicable to a medical implantable device and belongs to the technical field of coating materials. A method comprises steps as follows: firstly, an amphiphilic functional zwitterionic copolymer is synthesized, a tannic acid ethanol solution is dropwise added to zwitterionic random copolymer ethanol under the stirring condition, and a compound colloidal solution is formed through co-assembly; finally, the compound colloidal solution is taken as an electrolyte solution, and a nanocoating is prepared on the surface of a medical alloy with an electrophoretic deposition technology. The method is simple and convenient to operate and applicable to a wide substrate range; by means of the coating, cell adhesion and proliferation are improved, meanwhile, the coating has better antifouling capability, has a good adhesion inhibiting function on escherichia coli, staphylococcus aureus, protein and the like, has certain bactericidal activity to killbound bacteria and is expected to be applied to the fields of bone substitute repairing materials, organ and cavity scaffolds and the like.