RugAZ
Menu

When you buy through our links, we may earn a commission. Read the disclosure ›

Rug Cleaning Codes: What W, S, SW, and X Mean

Short answer: Rug cleaning codes tell you which cleaning method is safe for a rug. W means water-based cleaners, S means solvent-based, SW allows both, and X means only vacuuming. Match the code on your rug's label to the right cleaning method. For W rugs, use mild water-based foam; for S, use dry solvent; for SW, choose either but test first; for X, vacuum only and spot clean dry. Always follow the label and test in a hidden spot.

What the cleaning codes mean

Most machine-made rugs carry a small label that includes a cleaning code: W, S, SW, or X. This code indicates the safest method for removing spots and stains without damaging the fibers or the backing. The letters are an industry convention, not a government regulation, but federal rules do require a label identifying the rug's fiber content and origin, as the Federal Trade Commission explains in its textile labeling guidance. The cleaning code is usually printed near the fiber content.

W means you can use water-based cleaning agents. S means use only solvent-based dry cleaning products. SW means both water and solvent are acceptable, and X means no liquid cleaning at all, only vacuuming. Understanding your rug's code before you treat a spill prevents discoloration, shrinking, or fiber damage.

  • W: Water-based cleaners are safe.
  • S: Solvent-based dry cleaners only.
  • SW: Either water or solvent is fine.
  • X: Vacuum only, no liquids.
Rug cleaning codes at a glance
CodeAllowed method
WWater-based foam, detergent, or shampoo
SDry solvent or solvent-based spot remover
SWBoth water-based and solvent-based cleaners
XVacuum only; no wet or solvent cleaning

W code rugs: water-based cleaning

A W code means the rug can tolerate water-based cleaning. This covers most synthetic rugs made of polypropylene, nylon, or polyester. You can use a mild detergent mixed with water, a water-based carpet foam, or a home carpet cleaner. For spot removal, apply a small amount of solution to a white cloth and blot, working from the outer edge of the stain inward to avoid spreading.

Avoid over-wetting, because excess moisture can reach the backing and cause delamination or mold. After cleaning, blot dry with a clean towel and allow the rug to air dry completely. Vacuum regularly, and for light maintenance, a water-based foam is enough. If you prefer a rug that is easy to clean with water, consider a washable rug, which often carries a W or SW code. See the best washable rugs guide for examples.

  • Use a mild detergent or water-based upholstery cleaner.
  • Blot spills promptly with a dry cloth.
  • Do not soak the rug.
  • Dry completely before placing furniture back.

S code rugs: solvent-based cleaning

An S code indicates that water can harm the rug, typically because the fibers are sensitive to moisture, like wool, silk, or jute. Water may cause shrinking, bleeding, or a change in texture. Instead, use a solvent-based dry cleaner, usually sold as a dry foam, aerosol, or powder that you brush in and vacuum out. These solvents dissolve oily and greasy stains without wetting the fibers.

Always read the product label to confirm it is suitable for the fiber content of your rug. Test the solvent on a small, inconspicuous area first. Ventilate the room while you work, because solvent-based cleaners can emit volatile organic compounds; the EPA advises increasing ventilation when using products that release VOCs. For natural fiber rugs such as jute or sisal, solvent cleaning is often the only option, as explained in the jute and natural fiber rug guide.

  • Choose a dry-cleaning solvent designed for the fiber type.
  • Vacuum thoroughly to remove loose dirt before applying solvent.
  • Work in a well-ventilated area.
  • Let the solvent dry completely and vacuum again.

SW code rugs: water or solvent

The SW code gives you flexibility. You can use either a water-based or a solvent-based cleaner, depending on the type of stain. For a water-based spill like coffee or juice, a water-based detergent works well. For oil-based stains like grease or ink, a solvent-based cleaner is more effective. This dual capability makes SW rugs practical for busy homes.

Even with an SW code, always choose the gentlest method first. Test any new cleaner on a hidden spot and wait a few hours to check for color change or fiber damage. If you are unsure which cleaner to use, a neutral pH water-based detergent is a safe starting point for most SW rugs. For high-traffic areas, an outdoor or indoor-outdoor rug often carries an SW rating, and you can compare options in the best outdoor rugs guide.

  • Use water for water-based stains and solvent for oily stains.
  • Test the cleaner on a hidden area first.
  • Blot, do not rub, to avoid pushing the stain deeper.
  • Dry the rug completely after any liquid cleaning.

X code rugs: vacuum only

An X code means the rug should never be cleaned with water or solvent. These rugs are often made of delicate fibers, delicate weaves, or have a backing that cannot handle moisture. The only safe routine is vacuuming. For spills, blot immediately with a dry, absorbent cloth to remove excess moisture, then let the area dry. Do not apply any cleaning solution, because even a small amount can cause irreversible damage.

For stains that persist, a professional dry cleaning service that specializes in rugs may be able to help, but you should confirm with the cleaner that they have experience with X code rugs. At home, you can use a dry carpet powder that requires no liquid, but only if the manufacturer explicitly allows it. Shag rugs and some flatweaves often carry an X code; the shag rug guide shows examples where this is common.

  • Vacuum regularly to prevent dirt buildup.
  • Blot spills immediately with a dry cloth.
  • Never use water, foam, or solvent.
  • Consider professional dry cleaning for stubborn spots.

Ventilation and safety when cleaning

Many rug cleaning products, especially solvent-based ones, release volatile organic compounds (VOCs). The EPA notes that VOCs can cause eye, nose, and throat irritation, headaches, and other short-term effects, and recommends increasing ventilation when using these products. Open windows, use exhaust fans, and follow the label instructions to minimize exposure. If you have asthma or allergies, the EPA suggests vacuuming carpets regularly to reduce dust mites and other allergens, and using a HEPA filter vacuum if possible.

Always read the cleaner's label before applying it to your rug. Some products are not suitable for certain fibers, and some may affect the rug's color or texture. Test any product in a hidden area first. Keep cleaning products away from children and pets, and store them in a well-ventilated space. For more on maintaining a healthy indoor environment, see the rug care and cleaning guide and the rug odor and offgassing guide.

  • Open windows or use an exhaust fan while cleaning.
  • Follow the label precautions on all cleaning products.
  • Vacuum regularly, especially if you have allergies.
  • Test every cleaner on a small, hidden spot first.

When to call a professional

No matter the code, the Carpet and Rug Institute recommends periodic professional cleaning to maintain the peak performance and beauty of a rug. This is especially important for S and X code rugs, where DIY methods are limited. Professional cleaners have the equipment and expertise to handle delicate fibers and stubborn stains without violating the rug's care code.

If you are unsure about the cleaning code on your rug, or if a stain has set in and your at-home attempts are not working, a professional cleaner is a safer choice than risking damage. They can also help with rugs that have lost their pile or have a crushed look. Before hiring a professional, ask about their experience with your rug's fiber type and confirm that they follow the manufacturer's care instructions. For general guidance on rug upkeep, the rug care and cleaning guide offers more tips.

  • Professional cleaning is recommended at least once a year for most rugs.
  • S and X code rugs often require professional dry cleaning.
  • Ask the cleaner about their methods and experience.

How to find the cleaning code on your rug

The cleaning code is printed on the rug's label, usually on the back or along one edge. The label may also list the fiber content, construction, and origin, as required by the Federal Trade Commission's textile labeling rules. If the label is missing or unreadable, look for a tag that came with the rug, or check the manufacturer's website, where most brands publish care instructions.

If you cannot find the code, use the fiber content to make an educated guess. Synthetic fibers like nylon, polyester, and polypropylene are typically W or SW. Natural fibers like wool, silk, jute, and sisal are often S. Delicate weaves or rugs with a non-woven backing may be X. When in doubt, start with vacuuming and avoid any liquid cleaner until you can confirm the code or ask a professional.

  • Check the back or edges of the rug for a sewn-on label.
  • Look for the letter code near the fiber content.
  • If the label is missing, search the manufacturer's website.
  • When unsure, use the fiber type as a guide.

What to pick for your use

If youPickBuying guide
You want a rug you can clean with water at homeW codeBest Washable Rugs in 2026: 15 Picks Compared on Specs
You prefer natural fiber rugs that dry-clean onlyS codeBest Jute & Natural Fiber Rugs 2026: 9 Picks Compared
You need a rug for high-traffic areas that can handle bothSW codeBest Outdoor Rugs 2026: 15 Picks Compared by Specs
You want a rug with minimal upkeep and no liquid cleaningX codeBest Shag Rugs in 2026: 11 Picks Compared on Specs

Questions

What does W mean on a rug label?

W stands for water-based cleaning. You can safely use water-based cleaners, such as mild detergents, carpet foam, or steam cleaning, on a W code rug. Avoid solvent-based products unless the label also says SW.

Can I use water on an S code rug?

No. S code rugs are not safe for water. Water can cause shrinking, color bleeding, or damage to the fibers. Use only solvent-based dry cleaners, and always test on a hidden area first.

What does X mean on a rug?

X means vacuum only. You should not use any liquid or solvent cleaning products on an X code rug. For spills, blot with a dry cloth immediately. For stubborn stains, seek professional dry cleaning.

How do I find the cleaning code on my rug?

The code is printed on the label attached to the rug, usually on the back or along an edge. It often appears near the fiber content information. If the label is missing, check the manufacturer's website for the care code.

Is it safe to use a carpet cleaner on an X code rug?

No. Carpet cleaners apply water or cleaning solution, which violates the X code and can damage the rug. Only vacuuming is safe. If you need to remove a set-in stain, consult a professional rug cleaner.

Change log

  • : First published.

Sources

Related buying guides