To clean a hat without ruining it, first identify the material and whether it has a cardboard brim. Modern cotton and synthetic baseball caps (with plastic brims) can be hand-washed or spot-cleaned, and tolerate a gentle cold machine cycle inside a hat form or cage. Older/vintage caps with cardboard brims, straw hats, felt fedoras, and most wool should never be machine washed — spot-clean by hand only. For sweat stains, gently scrub a baking-soda paste with a soft toothbrush, rinse with cold water, and always air dry on a form to hold the shape — never use heat, which shrinks and warps hats. Here’s how to clean each type safely.
How To Clean Hats Without Ruining Them

First, identify your hat
Before cleaning, you need to know what your hat is made of — and, just as importantly, whether the brim is cardboard or plastic. Here are the common materials:
Straw
Woven straw hats are delicate and can never go in a machine. Spot-clean by hand only, very gently, with a barely-damp cloth.
Felt (fedoras, etc.)
Felt and wool-felt hats also can’t be washed or submerged. Brush them with a soft hat brush, spot-clean marks gently, and use the sweatband method below for the interior band. For anything valuable, a hatter or dry cleaner that handles hats is worth it.
Cotton
Cotton is durable and washable. Whether it’s a beanie or a baseball cap, it tolerates cleaning well — but shaped hats still need protection (a hat form) so they don’t deform.
Wool
Wool (often hand-knit beanies) needs gentle care — cool water, mild soap, and no agitation or wringing, which makes wool felt and shrink. Hand washing is safest; reshape while damp and dry flat.
Synthetic materials
Common in baseball and mesh trucker hats. These can be washed, but always in cold water — hot water can melt or warp synthetic fibers and mesh.
The cardboard-brim test: before washing any baseball cap, check the brim. Press gently — older and vintage caps often have a cardboard brim that warps and disintegrates when wet, so those must be spot-cleaned by hand only. Most caps made since roughly the 1980s use a plastic brim that tolerates water. If you can feel the brim flex like stiff plastic, it’s usually washable; if unsure, hand-wash to be safe.

How can I clean a hat without damaging the shape?
Throwing a hat loose into the washer is the easiest way to ruin it — it deforms while tumbling. But you don’t have to avoid machines entirely. Many common household items do the job, no special “hat cleaning kit” required.
Using the washing machine (plastic-brim caps only)
This is only for modern cotton/synthetic caps with a plastic brim — never cardboard-brim, straw, felt, or delicate wool.
What you’ll need:
- A stain pre-treatment or a little laundry detergent
- A hat form / hat cage (holds the cap’s shape in the wash)
Check the label for any care instructions first. Set the machine to its gentlest, coldest cycle — warm or hot water melts synthetics and shrinks cotton.
Pre-treat the high-grime areas, especially the inner sweatband where your forehead meets the cap. On durable fabric, scrub gently; on fragile fabric, just let the pre-treatment sit.
Secure the cap in a hat form/cage to protect its shape, and run it with a few towels for cushioning on the gentle setting. For shapeless hats like beanies, a mesh delicates bag works.

Spot cleaning and hand washing (safest for all hats)
Spot cleaning and hand washing are the absolute safest methods — no risk of shrinking or losing shape, and the only option for straw, felt, cardboard-brim, and delicate wool hats. A few effective options:
- Baking soda paste (with a cold-water or vinegar rinse)
- A little mild laundry detergent
- Hydrogen peroxide (test first — it can lighten colored fabric)
- Washing soda / borax soak (for sturdy, washable hats)

How to clean hats with baking soda
Hats wick sweat, leaving stains around the band and crown that are tough to remove because they’re part oil. Baking soda handles them with pantry items.
How to:
- Mix about 4 tablespoons of baking soda with ¼ cup water into a thick but spreadable paste.
- Apply with a soft toothbrush and gently scrub the stain in circular motions. Light pressure — too much breaks down the fabric.
- Rinse with cold water. (You can spritz with white vinegar first if you like — it’ll fizz, which helps lift the loosened paste, though baking soda and vinegar largely neutralize each other, so the real work is the gentle scrubbing.)
- Air dry on a form or rounded object that holds the shape.

How to clean hats with borax
Borax (sodium borate) is good at lifting sticky, set-in stains — useful for sturdy, washable caps (not straw, felt, or wool).
How to:
- Plug a clean sink and fill with warm water (warm, not hot, to protect the hat’s materials and shape).
- Add one tablespoon each of borax, powdered laundry detergent, and washing soda.
- Submerge the hat, swish to make suds, and let it soak about 20 minutes (longer if very dirty).
- Drain, rinse in cold water so it doesn’t shrink, and air dry on a form.
Wear gloves if you have sensitive skin — borax and washing soda are alkaline and can be drying.

The dishwasher method (plastic-brim caps only)
The dishwasher can clean a sturdy plastic-brim baseball cap because its racks hold the hat stable. Only for washable caps — never cardboard-brim, straw, felt, or wool.
How to:
- Run an empty cycle first (or use it right after one) so there’s no food or detergent residue.
- Use a plain dishwasher detergent that contains no bleach — bleach permanently ruins hats. (Many standard dish detergents do contain bleaching agents, so check.)
- Pre-treat heavy stains with a little laundry detergent.
- Put the cap in a hat form to protect its shape and clip it to the top rack.
- Set warm (not hot) water and turn off the heated dry cycle — the heat will warp and shrink the hat.
- Air dry on the form.

Frequently asked questions
How do you deep clean a really dirty hat?
For a washable cap caked with dirt, oil, and sweat, pre-treat by hand and soak it using the borax/washing-soda method above, then — if it’s a plastic-brim cap — follow with the hat-form dishwasher wash. Combining a hand soak with a gentle machine method gets the best result. For non-washable hats (straw, felt, cardboard-brim), repeat gentle spot-cleaning instead.
What is hat cleaner spray?
There are a few kinds: odor-neutralizing sprays for sweaty hats, and spot-treatment sprays for stains. A spray bottle of diluted white vinegar makes a simple DIY odor/spot spray for washable hats.
How do I clean the sweatband and brim?
The inner sweatband holds the most oil and odor. Scrub it gently with a soft toothbrush and a little detergent or baking-soda paste, then wipe with a cloth dampened in cold water. This works even on hats you can’t fully wash, like felt fedoras.
Should I clean it myself or take it to a shop?
The methods above handle most hats at home for the cost of pantry items. For valuable felt or straw hats (a quality fedora, a Panama hat), a professional hatter or specialty cleaner is worth the money — those are easy to ruin and expensive to replace.
A few final cautions
If you’re nervous, practice on an inexpensive hat first. Two rules above all: always check for a cardboard brim before any wet method, and never use heat (hot water, dryer, dishwasher heat-dry) — heat is what shrinks, warps, and ruins hats. Always air dry on a form to hold the shape, use cold or warm (never hot) water, and avoid any detergent with bleach, which discolors fabric. Treat the hat gently and it’ll keep its shape for years.