2. Generally, the time for baking sweet potatoes in the oven depends on the size of sweet potatoes, but if you choose some slender sweet potatoes, the time for baking sweet potatoes can be shorter. Generally, it takes only 30 minutes to adjust the electric oven to 220℃, and only 25 minutes to 240℃.