The longer the stain material remains in the carpet, the higher the chance of permanent color change, even if all the original stain material is removed. At times pets urinate on the carpet and this results in a bad odor especially when it is hot and humid.The carpet or rug is usually taken outside and immersed in water to remove such stains. Immediately blotting (not rubbing) the stain material as soon as possible will help reduce the chances of permanent color change. Artificial food coloring stains are generally considered permanent stains. These may be removed by professional cleaners or deep cleaning rental machines with heat-transfer stain-reducing chemicals, but carry risks of burning the carpet. Stain removal products can be combined with anti-allergen treatments to kill house dust mites.
Tea leaves and cut grass were formerly common for floor cleaning, to collect dust from carpets, albeit with risks of stains. Ink was removed with lemon or with oxalic acid and hartshorn; oil with white bread or with pipe clay; grease fats with turpentine; ox gall and naphtha were also general cleaners. Ammonia and chloroform were recommended for acid discoloration. Benzine and alum were suggested for removing insects; diatomaceous earth and material similar to cat litter are still common for removing infestations. Candle wax is removed by placing a towel over the affected carpet area and applying steam from a clothes iron until the wax absorbs into the towel. Some traditional methods of stain removal remain successful and ecological. Caution should be used when treating natural fibers such as wool.