
In short:
- Never put a memory foam pillow in the washing machine or the dryer without a pillow protector.
- Water and heat destroy the foam, so use a pillow protector, wash the cover separately and spot-clean the core with cool water and mild detergent.
- Air-dry it in the shade with good airflow, never in direct sun.
- For stains, blot gently; for musty smells, wipe with diluted white vinegar and dry again.
- If the smell lingers after that, the foam has absorbed mildew and it’s time to replace it.
\n
\n\n
Memory foam is fussy. Unlike a cotton or down pillow you can toss in the machine without a second thought, the foam that cradles your neck is a dense, porous block that holds water like a sponge and hates heat. Soak it carelessly and you get a heavy, mildewy slab that never quite dries. Bake it in a hot dryer and the cell structure collapses, leaving you with a flat, crumbly pancake.
\n\n
That doesn’t mean you’re stuck with a grimy pillow forever. It just means the method matters — and a good pillow protector is the simplest way to keep the foam clean in the first place. Get the process right and your pillow comes back fresh, supportive, and odor-free. Get it wrong and you’ll be shopping for a replacement sooner than you planned.
\n\n
This guide walks through the safe way to clean memory foam, how a pillow protector fits into the routine, how to handle stains and smells, how to dry it properly, and how often to bother. If you want the broader picture on pillow care and rotation, there’s a more complete article on the general topic elsewhere on the site — but here, the focus is narrow: getting your memory foam pillow clean without destroying it, and using a pillow protector to reduce how often you need to.
\n\n
Can You Machine Wash Memory Foam? (Short Answer: No)
\n\n
The single most common mistake is treating a memory foam pillow like any other pillow. It isn’t. The foam is engineered to respond to pressure and body heat, and both a washing machine and a dryer work against that design. A pillow protector, by contrast, is designed to be washed and to shield the foam from exactly this kind of exposure.
\n\n
Here’s what actually happens inside a front-loader. The drum spins and agitates, and the foam absorbs a huge volume of water — often several times its own weight. That weight stretches and tears the internal cell walls. Even on a gentle cycle, the mechanical stress is enough to break down the structure. A tumble dryer is worse: heat above roughly 60°C softens the foam, and once it cools, it won’t spring back the way it did before.
\n\n
Concrete example: Someone washes a memory foam pillow on a delicate cycle, dries it on low, and finds it feels fine for a week. Two months later, the pillow has a permanent dent where their head rests — the foam has lost its recovery. That dent isn’t a stain issue; it’s structural damage from the wash. A pillow protector would have absorbed the sweat and oils instead, keeping the core out of the machine entirely.
\n\n
What you can machine wash is the removable cover and the pillow protector, if your pillow has one. Check the care label first. Most covers and protectors are a cotton or polyester blend and handle a gentle, cool cycle fine. The foam core itself never goes in the machine.
\n\n
What to do instead
\n\n
- \n
- Fit a pillow protector over the foam core to catch sweat, oils, and dust before they reach the foam.
- Spot-clean the foam surface with a cloth and a small amount of mild detergent diluted in cool water.
- Never submerge the core in a bathtub or basin — it will take days to dry and may grow mold inside.
- Wash the cover and the pillow protector separately, following their own labels.
\n
\n
\n
\n
\n\n
How to Spot-Clean and Refresh the Foam Core
\n\n
Spot-cleaning is the workhorse method, and it takes about fifteen minutes. The goal is to lift surface grime, sweat residue, and light odors without soaking the interior — and with a pillow protector in place, you’ll need to do it far less often.
\n\n
Start by stripping the pillow protector and the cover. Then mix a few drops of mild liquid detergent into a bowl of cool water — cool, not warm, because heat is the enemy here. Dip a clean cloth or sponge, wring it out until it’s barely damp, and blot the surface. Don’t scrub hard; you’re lifting dirt, not exfoliating the foam.
\n\n
For a deeper refresh, you can use a diluted solution of water and a small amount of white vinegar to neutralize odors. Wipe it over the surface, then go back with a clean, damp cloth to remove residue. Vinegar smell fades as it dries.
\n\n
Concrete example: A pillow that smells faintly of sweat after a hot summer — a common complaint for light sleepers who wake up warm. A pillow protector washed every two weeks, plus a vinegar wipe-down of the core, followed by a full day of air-drying in a shaded, ventilated spot, usually removes the smell entirely. No soaking required.
\n\n
Handling stains
\n\n
For a specific stain — say a coffee dribble or a bit of skincare product — treat it immediately. Blot, don’t rub. Rubbing pushes the stain deeper into the porous surface. A dab of mild detergent on a damp cloth, applied with light pressure, then a clean damp cloth to rinse, handles most fresh marks. A pillow protector with a waterproof backing prevents most of these stains from reaching the foam at all.
\n\n
Older, set-in stains are harder. You can try a paste of baking soda and a little water, applied gently and left for a few minutes before wiping away. It won’t lift everything, but it often improves the appearance and helps with odor.
\n\n
Drying a Memory Foam Pillow the Right Way
\n\n
Drying is where most people undo their careful cleaning. Memory foam holds moisture stubbornly, and trapped moisture leads to mildew — which smells far worse than whatever you were trying to clean off. A pillow protector helps here too: it keeps the core dry during everyday use, so drying after a spot-clean is the only moisture you have to deal with.
\n\n
The rule is simple: air-dry, out of direct sun, with good airflow. Lay the pillow flat on a clean towel or a drying rack in a well-ventilated room. Flip it every few hours so both sides get air. Depending on humidity, full drying can take 24 to 48 hours. Don’t rush it.
\n\n
Never put memory foam in a tumble dryer, even on air-fluff. The heat and tumbling motion both cause damage. If you’re tempted because the pillow feels damp after a day, give it another day rather than risk the shortcut. The pillow protector, however, can usually go in the dryer on low if its label allows.
\n\n
Concrete example: A pillow left to dry on a balcony in direct summer sun can feel dry on the surface within hours while the core stays damp. Bring it inside after a couple of hours and finish drying in a shaded, airy spot. The surface dries fast; the inside is what matters.
\n\n
Quick reference: what’s safe and what isn’t
\n\n
| Action | Safe for Memory Foam? | Notes |
|---|---|---|
| Machine washing the core | No | Breaks down cell structure |
| Machine washing the cover | Usually yes | Check the label; gentle, cool cycle |
| Machine washing the pillow protector | Usually yes | Check the label; gentle, cool cycle |
| Spot-cleaning with damp cloth | Yes | Use cool water and mild detergent |
| Tumble drying | No | Heat damages the foam |
| Air-drying in shade | Yes | Flip regularly; allow 24–48 hours |
| Direct sunlight for long periods | No | UV and heat degrade the foam |
\n\n
How Often Should You Clean It?
\n\n
Less often than you’d think — but more often than most people actually do. A memory foam pillow doesn’t need weekly washing, and over-cleaning causes more harm than good. A pillow protector changes the maths: it takes the frequent washing so the foam doesn’t have to.
\n\n
A practical rhythm: wash the pillow protector every two to four weeks, since it absorbs most of the sweat and oils. Spot-clean the foam surface every few months, or sooner if you notice odors or visible marks. Wash the removable cover every two to four weeks as well. If you sleep hot, have allergies, or wake up with a stuffy nose, lean toward the shorter end of those intervals.
\n\n
One more thing worth checking: age. Memory foam has a lifespan. Once a pillow stops springing back, develops a permanent dip, or crumbles at the edges, cleaning won’t fix it. At that point, replacement is the honest answer.
\n\n
Concrete example: A pillow that’s three years old, protected by a regularly washed pillow protector, and still holds its shape is worth keeping. A pillow that’s eighteen months old and already sags in the middle won’t improve with another wash — the foam has simply given up.
\n\n
FAQ
\n\n
Can I put my memory foam pillow in the washing machine if I use a gentle cycle?
\n\n
No. Even a gentle cycle submerges the foam and spins it, which stretches and tears the internal structure. The damage often isn’t obvious right away, which is why people assume it’s fine — until the pillow loses its shape weeks later. Wash the cover and the pillow protector, spot-clean the core.
\n\n
How do I get rid of a musty smell from a memory foam pillow?
\n\n
Musty smells usually mean moisture got trapped inside. First, make sure the pillow is fully dry — air it out for a full day or two in a ventilated, shaded spot. Then wipe the surface with a diluted white vinegar solution and let it dry again. If the smell persists after that, the foam has likely absorbed mildew and it’s time to replace it. Going forward, a pillow protector helps keep moisture away from the core.
\n\n
Can I dry a memory foam pillow in the sun to speed things up?
\n\n
Only briefly, and never for long. A short spell in indirect light is fine, but prolonged direct sun heats the foam and degrades it, just like a tumble dryer would. Shade with good airflow is the safer choice, even if it takes longer.
\n\n
The Bottom Line
\n\n
Washing a memory foam pillow comes down to one principle: keep water out of the core and keep heat away from the foam. A pillow protector does the first job every night. Spot-clean the surface with cool water and mild detergent, wash the cover and the pillow protector separately, and air-dry in the shade with plenty of airflow. Skip the washing machine and the dryer entirely — they’re the fastest way to turn a supportive pillow into a flat one.
\n\n
Follow that routine and your pillow stays fresh for years. Ignore it and you’ll be replacing foam that never needed to fail. For a wider look at pillow care, rotation, and choosing the right support for your sleep position, the full guide on the site covers the rest.
\n\n





