The invention discloses an agent used for controlling termites and red imported fire ants and having an alert action. Based on 100% mass percentage, the agent includes 0.02% to 0.05% of ethofenprox, 0.01% to 0.015% of spinosad, 0.01% to 0.02% of preservative, 15% to 25% of attractant, 1.0% to 1.5% of alert toner, and the balance being a carrier. According to the present invention, spinosad is mixed with ethofenprox, and then the attractant and the alert toner are added, wherein the alert toner acts as a warning to prevent children or adults from eating. When the agent for controlling termitesand red imported fire ants is sprinkled on a red imported fire ant nest or a termite ant road, and for the red imported fire ants, it is better to disturb the ant nest and allow the red imported fireants in the nest to climb out. The contact powder agent has good contact and stomach toxicity, can realize mutual infection of insects, and has good control effect on termites and red imported fire ants. Therefore, the agent for controlling termites and red imported fire ants is a safe and efficient agent, and can be widely used for control of red imported fire ants and termites in various environments and ecosystems, and has great promotion and application values.