It might do. If you give your mattress a good spray with a disinfectant then it should block any bad smells, though it is not specifically designed to do this.