A raised garden bed needs to be at least 6 inches deep for most vegetables. Some root vegetables, such as carrots and potatoes, need a deeper bed of at least 12 inches. If you are growing taller plants, such as tomatoes or corn, you will need a taller bed that is at least 18 inches deep.