preheat the oven to 425degf and place a piece of foil on a baking sheet. use a fork to poke holes into the sweet potatoes, set them on the baking sheet, and roast for 40 to 50 minutes, or until puffed up and soft inside when pierced with a fork.