An improved pest control device having a bottom, two side walls, two end walls with holes therethrough to permit an animal to enter, and a lid, with a bait holder inside the trap, which may optionally be raised off of the floor of the trap and magnets positioned near the top edge of at least two of the walls to secure the trap to a dumpster, thereby holding the lid in the closed position when the trap is secured to the dumpster to prevent access to the bait other than through the holes in the end walls.