It’s possible to wash a hat in the dishwasher, but not recommended due to high heat and bleach-based dish detergents. To keep your hat in tip-top shape, stick to the gentler methods outlined above.