Memory foam is made with polyurethane, a petroleum byproduct that creates a plush mattress. The EPA has declared memory foam to be safe, but some notice an off-gassing smell when they open their new memory foam beds. If you do experience this, open your windows and air out the bed for a day or two. The smell should dissolve within a few days.