The dishwasher trick survives because it almost works: caps do come out looking cleaner. They also come out warped, shrunk half a size, or with a brim bent like a taco, because dishwasher cycles hit 60 to 70 degrees and the dry cycle finishes the job. Caps are cotton and structured glue, and both hate heat.
The washable styles in the cap section say so on the label, and the ones that don't get the sink method below.

Can a cap go in the dishwasher?
No, and the reason is mechanical rather than fussy. Dishwasher detergent is formulated to strip baked-on food, which strips dyes and fabric finishes along with it, and the heated dry phase warps the brim's inner board. Hand washing takes fifteen minutes and skips every one of those failure modes. Before any water touches the cap, though, one check decides everything below.
Squeeze the brim. If it flexes like a plastic card, it's modern polyethylene board and can handle careful water. If it bends floppy or crunches faintly, it's cardboard, common in caps made before the mid-2000s and still used in some budget caps, and soaking will delaminate it into a permanently wavy ruin. Cardboard-brim caps get spot cleaning only: damp cloth, mild detergent, dab, don't scrub.
The sink method
- Fill a sink with lukewarm water, under 40 degrees, and work in a small amount of mild detergent, no bleach anywhere near it. A drop of dish soap or wool wash both do the job.
- Submerge the cap and work the sweatband and inner crown with a soft brush or an old toothbrush for a few minutes; that's where salt and oil collect.
- Rinse under cool water until no suds remain, then press, never wring, the water out with a clean towel.

How should a cap dry?
Dryers and radiators warp brims and shrink crowns as effectively as dishwashers. Air drying over an upturned bowl, a coffee can, or an actual ball keeps the crown's form while it dries, which takes about a day. Lay a curved brim over the same form so it keeps its curve, since flat drying flattens the curve out. A cap dried flat on a towel keeps a flat brim forever, which is its own kind of damage.

How often should a cap be washed?
A daily-wear cap needs the sink treatment every two to four weeks in summer, when sweat salt does the real damage, and every couple of months otherwise. Between washes, airing the cap overnight instead of tossing it damp into a gym bag does most of the work. The men's cap rack labels machine-washable styles, and those few can take a garment bag and a cold cycle. Lukewarm, soft brush, air dry over a form. The dishwasher is for dishes.
Frequently Asked Questions
Can I wash a baseball cap in the dishwasher?
No. Cycle heat warps the brim and shrinks the crown, and the dry cycle finishes the damage. Wash caps by hand in lukewarm water instead.
How do I know if my cap brim is cardboard?
Squeeze it. A floppy bend or faint crunch means cardboard, which delaminates if soaked. Those caps get spot cleaning with a damp cloth only.
How do I dry a baseball cap?
Air dry over an upturned bowl or can so the crown keeps its shape, with a curved brim laid over the rim. Heat from dryers warps brims and shrinks crowns.
How often should I wash a cap?
Every two to four weeks for daily summer wear, when sweat salt does the damage, and every couple of months otherwise. Air it overnight between wears.