The invention relates to an antibacterial composition, comprising an organic antibacterial component containing at least one pyrithione salt, a pyrithione complex or an adduct thereof, an aqueous solution containing one or more metal ions or its The inorganic antibacterial component of the complex aqueous solution or its nanometer metal hydrosol or its nanometer metal oxide hydrosol and its composition, and the mass ratio of the organic antibacterial component to the inorganic antibacterial component is 1:100-50:1, It also includes other auxiliary agents, and its mass percentage in the antibacterial composition described in the patent is 0.001-20%. The antibacterial composition of the present invention can form a nanoparticle film on the surface of base materials such as natural fabrics, non-woven fabrics, clothing, bedding, toiletries, household items, medical care supplies, and filter screens, and realize its antibacterial properties through the nanoparticle film. Antibacterial, anti-mite, deodorizing and self-cleaning functions. The antibacterial composition of the invention is safe to use and can be used in medical treatment and life to protect people's health.