Maggots are worm-like larvae that emerge from fly eggs. They thrive in moist environments where there is rotting material, and they mature to become flies of the order Diptera. Moths are related to butterflies and belong to the order Lepidoptera. They generally infest and consume foods and clothing when they enter your home. There are a variety of methods you can use to get rid of these unwanted visitors and ensure that they do not damage your property or infest the human and pet foods in your house.
Vacuum up any moths or maggots that you see in your home. Discard the bag or empty the vacuum's canister immediately in an outdoor trash receptacle. Pour a product that contains the chemical Permethrin, such as dog or lice shampoo, into the garbage can to ensure that the maggots are killed.
Sweep the maggots into a pile and place them in a plastic bag. Set the bag in the freezer for three to four hours, or until all of the maggots have died. Discard the bag in an outdoor trash bin.
Place strips of double-sided tape near areas where you have noticed the maggots or moths, such as a garbage can, the pet's food dish or inside a closet. Once the pests are stuck to the tape, place the tape in an outdoor garbage can.
Fill the disposable container with one cup of beer and place it in an area where you have seen maggots. The maggots will be attracted to the beer scent, crawl into the container and drown. Throw the container into an outdoor trash receptacle.
Place moth traps throughout the home or any areas that have become infested. Once the moth trap is covered with pests, remove it and throw it into an outdoor garbage can.
Spray the moths and maggots with hairspray. The sticky substance will kill both of these unwanted invaders. Sweep the dead pests up, place them in a plastic bag and discard the bag in an outdoor garbage can.