Usually, the memory foam pillows come with a cover that have a zip. You can wash that cover once every month to maintain a proper hygiene but to maintain the quality of foam inside, avoid washing the pillow inside a washing machine. You can clean it with a wet cloth rather to ensure the hygiene and its quality as well.