Provided are a pyrimidine compound represented by formula (1) having excellent harmful pest exterminating potency a harmful pest exterminating agent comprising the compound and an inert carrier and a method for exterminating harmful pests whereby the effective dose of the compound is used on harmful pests or on areas where harmful pests grow.