Mix a solution of equal parts Borax and diatomaceous earth in a container, ensuring that you have enough to dust the entire carpet with. One-half cup of the mixture is usually more than enough to cover an average-sized room (400 square feet). Keep the Borax and diatomaceous earth nearby in case you have to make more. If you have any mixture left over, place it in an airtight container and keep it away from moisture.
Place the mixture in a salt shaker for easy application.
Put your pets outside or keep them out of the room.
Put on a dust mask, as the fine diatomaceous earth and Borax powder can easily enter your lungs.
Sprinkle the carpet with a fine dusting of the mixture. Be sure to get the areas near the floor boards and under the furniture. Borax will kill the adult fleas, while diatomaceous earth will kill any eggs or larvae it comes into contact with. The fleas are injured upon contact and die of injury and dehydration in 24 to 72 hours.
Walk over the carpet, or sweep it to shift the mixture down into the carpet piles.
Allow your pets back into the room once the dust settles.
Vacuum the carpet within 24 to 48 hours.
Re-apply the mixture as often as necessary if you still see fleas or notice bites.