Memory foam is naturally hypoallergenic, resistant to bacterial growth and dust mites. But no matter what, regular cleaning is a must. It should still be cleaned once or twice a year after using it.
Starting the Cleaning Procedure
If possible, clean your memory foam pillows on a breezy, warm day to hasten drying.
1. Remove the covers of your pillow for cleaning
Begin by removing the protective cover and tossing it in the wash.
2. Sprinkle the pillow with baking soda, covering it well
Allow the baking soda to sit for at least an hour and then vacuum it away using the upholstery brush attachment on your vacuum or a hand-held vac. This will leave your pillow smelling fresh and remove any dust that might be on the pillow. Flip the pillow over and repeat.
3. Mix a small amount of a gentle detergent like one used for hand washing silk or wool in a bowl of lukewarm water to remove stains
Dip a clean white cloth into the detergent solution and gently rub from the outside of the stain toward the center. Keep moving to a clean area of the cloth as the stain is transferred. Once the stain is gone, dip a clean white cloth in plain water and blot to remove any remaining soap.
4. Allow the pillow to air dry completely
If you must speed the drying process, use a hair dryer set on cool to dry the area.
Extracted from: https://www.comfybaby.com.my/how-to-clean