First, be sure to read the instructions on the label. Some materials, such as memory foam, should only be hand-washed. However, many others, including those with microbeads, can be washed in the washing machine. Use cold or lukewarm water and mild detergent on a delicate cycle.