Trap for insects comprising a container divided into at least two internal cavities, wherein the first cavity contains a first solid or semi-solid bait with a toxic substance, and the second cavity contains a second, much more volatile bait comprising an attractant and volatile substance impregnated in a medium, wherein both baits act in a coordinated manner since the most volatile disperses the attractant substance, such as water vapour, causing the insects to enter the trap and easily access the first bait.