The invention discloses an anti-bacterium antivirus guanidine salt star-shaped polymer, a preparation method and applications thereof, and the arm number, structure and molecular weight of the star-shaped polymer are controllable. The polymer is prepared by the following steps: adopting a core-first method, taking brominated beta-cyclodextrin as an initiator, guanidine salt oligomer containing carbon-carbon double bonds as the functional monomers, and then carrying out atom transfer radical polymerization so as to obtain the target product, wherein the structure and molecular weight of the polymer can be modulated according to the application needs. The polymer and the preparation method thereof improve the molecular weight of the polymer, achieve chain amplification effect, increase the density of effective functional groups having an anti-bacterium effect, effectively solve the problems of contamination on other products caused by leakage of anti-bacterium agents and nondurable anti-bacterium effect, and eliminate the potential dangers caused by leaked anti-bacterium agents on human health. Furthermore, the polymer has a prominent function, which other guanidine salt polymers do not have, of killing wild type viruses and bacteria such as gland virus, influenza virus, and the like.