Start with the cleaner made for your machine
For most carpet extractors and shampooers, the safest choice is the carpet cleaning solution the manufacturer makes for that machine, or a product the maker lists as safe for it. Some carpet cleaner makers note that a solution that is too acidic or too basic can damage carpet fibers and the equipment. Use the product as the label directs, at the strength it gives.
Professional cleaners usually work with products made for their equipment too. For how pros approach it, see what solution do professional carpet cleaners use.
When plain water and light vacuuming are enough
Stairs that only need a refresh may respond to vacuuming and a damp cloth, especially if the dirt is mostly dust and everyday grime. Vacuum first in every case, so dry soil comes out before any liquid goes on. To refresh stairs without a full wash, see how to clean dirty carpet without washing.
Dish soap in a machine
Dish soap is a common home suggestion, but carpet cleaner makers advise against putting it in a machine. It makes too many suds, which can overflow or clog the machine, and the residue it leaves can attract soil. Some manufacturers also say it can cause corrosion over time.
If you want to spot clean by hand, a small amount of colorless, dye-free mild soap in warm water can work on a stain. Test it first, because dyed soap can leave its own color on light carpet. For that exact question, see can I use dawn dish soap to spot clean my carpet.
Vinegar: useful in some jobs, risky in machines
White vinegar is popular for diluted spot cleaning. Some blogs also suggest adding it to a steam machine’s tank, but at least one carpet cleaner maker warns that vinegar can damage its machines. Check your machine’s manual before putting vinegar in the tank, and don’t assume a diluted mix is safe for every carpet.
Experts also disagree about using vinegar on wool, so test on a hidden spot before using it on wool stairs. For stain steps using vinegar, see how to clean carpet stains with white vinegar.
Avoid automatic dishwasher detergent and bleach on colored carpet
Automatic dishwasher detergents often contain bleaching agents that can strip dye and damage some fibers, so keep them away from stair carpet. Bleach can also lighten colored carpet, and the damage is hard to undo. Unless a carpet specialist recommends it for a specific fiber and stain, leave bleach off the stairs. For more on this, see can you use bleach in carpet cleaning machine.
Spot cleaning stairs by hand
For a single stain on one step, hand spot cleaning often works better than running a machine. A commonly repeated mix is about a quarter cup of white vinegar, a teaspoon of colorless dish soap and warm water in a spray bottle. Test it before you use it, and use it sparingly.
Spray lightly, blot with a white cloth, and work from the outside of the stain toward the middle. Then rinse with a cloth dampened in plain water and blot dry, since leftover soap attracts dirt. If you notice a sticky film afterward, see how to get rid of soap residue on carpet.
Test first and check the care label
Always test any cleaner on a hidden spot, such as a closet or the underside of a stair, and wait for it to dry before judging the result. Check the care label or the installer’s instructions. If the label is missing or unclear, or the carpet is wool or another natural fiber, ask a professional before you use anything strong.