The present invention discloses unsaturated hydrocarbon pyrimidine thioether compounds of formula (I) and preparation method and application thereof, the compounds of formula (I) exhibit high insecticidal and acaricidal activity against adults, larvae and eggs of harmful mites and insects in the agriculture, civil use and animal technology fields, meanwhile, the compounds also exhibit good bactericidal activity, and can be widely applied as an insecticide, an acaricide and/or a bactericide in agriculture or other fields