Squeeze a handful of the soil that you want to sterilize. If it forms a ball but can be broken apart, then the soil has just the right amount of moisture. If the ball of soil does not break apart easily, you need to add a bit more dry soil to correct the moisture level. If the soil does not form a ball at all, add water to moisten the soil.
Amend the soil before you sterilize it. While the sterilizing process will remove harmful bacteria and fungi from the soil, you still want the soil to be nutrient rich. Add amendments, such as organic compost or peat moss, that will be suitable for the plants or vegetables you want to grow.
Preheat your oven to 190 degrees Fahrenheit.
Spread the amended, moistened soil onto a metal baking pan. The soil can be four inches deep, but avoid treating more than that amount of soil at one time.
Cover the pan with aluminum foil, and place a meat or candy thermometer through the foil and into the soil.
Place the pan into the oven and bake until the soil reaches a temperature of 180 F for 30 minutes. Be careful that the soil does not go above 200 F, or it can develop plant toxins.
Remove the pan from the oven, and allow the soil to cool before you use it.