The only time memory foam should get wet is if it’s being cleaned. Even then, memory foam should be left to air dry before use to prevent mold and mildew growth.