When building a raised bed it s best to avoid pressure-treated wood because it has chemicals that might leak into the soil and damage plants. Other treated woods can also be harmful to plants. Instead choose untreated or naturally rot-resistant woods like cedar or redwood for safer gardening.