The invention relates to an antifungal and antibacterial coating, which comprises the following components: water, acrylic acid copolymer emulsion, propylene glycol, nano-titanium dioxide, nano-zinc oxide, medical stone, diatomaceous earth, talcum powder, mica powder, and hydroxyethyl cellulose , lignin, anti-sedimentation agent, leveling agent, dispersant, defoamer, thickener. The coating has excellent anti-mildew and antibacterial performance and green environmental protection performance. Among them, the added nano-titanium dioxide directly attacks the bacterial cells through photocatalysis, causing the organic matter in the bacterial cells to degrade, achieving the effect of sterilization, and also has a self-cleaning effect; The added nano-zinc oxide achieves the purpose of sterilization through its strong oxidizing property; the added medical stone and diatomaceous earth have strong adsorption functions, and when used in conjunction with nano-titanium dioxide and nano-zinc dioxide, it can not only improve the anti-mold and anti-bacterial properties of the coating It can also improve the safety performance of the coating and meet the requirements of green environmental protection.