How Long to Cook Sweet Potatoes in the Oven at 400°F

Updated November 3, 2026

Total time
1 hr 5 min
prep 10 min · cook 50 min
Serves
4
portions as written

Jump to recipe

How Long to Cook Sweet Potatoes in the Oven at 400°F

Whole medium sweet potatoes usually take 45 to 55 minutes in a 400°F (204°C) oven, depending on their size. Baking them whole with a little oil and salt gives you soft, sweet flesh and tender skins, ready to serve as a simple side or fill with toppings for a meal.

Ingredients

  • 4 medium sweet potatoes, about 8 oz (225 g) each, or 2 lb (900 g) total
  • 1 tablespoon (15 ml) neutral oil or olive oil
  • ½ teaspoon (3 g) kosher salt, or to taste

Instructions

  1. Heat the oven. Set a rack in the center of the oven and preheat to 400°F (204°C). Allow the oven to reach temperature before baking; putting the potatoes into a warming oven makes the timing less predictable. Line a rimmed baking sheet with parchment or foil if you want easier cleanup. The pan also catches any syrup that escapes from a split potato.
  2. Wash and dry the potatoes. Scrub each sweet potato under cool running water to remove soil, then dry it thoroughly with a clean towel. Leave the skin on. Dry skins are easier to coat evenly with oil and are less likely to steam against the pan.
  3. Pierce and season. Prick each potato several times with a fork, making holes around the surface. This gives steam a way to escape as the interior heats. Rub the skins with the oil, then sprinkle them with salt. The oil is optional, but it helps the skins turn pleasantly tender and seasoned; it will not make them crisp like a thin potato chip.
  4. Arrange on the pan. Place the potatoes in a single layer with a little space between them. Keep them whole and do not wrap them in foil: wrapping traps steam and creates a softer, wetter skin. If your potatoes are very large, set them toward the edges of the pan rather than crowding them together.
  5. Bake until tender. Bake medium potatoes for about 45 to 55 minutes. Begin checking at 45 minutes by sliding a thin knife or skewer into the thickest part. It should pass through the center with little resistance, and the potato should feel soft when gently squeezed with an oven mitt. If the center is firm, return it to the oven and check again in 5-minute intervals. A particularly large potato may need 60 to 75 minutes; small ones can finish in 35 to 45 minutes.
  6. Rest and serve. Take the potatoes out when they are tender and let them rest on the pan for 5 minutes so they are easier to handle. Cut a slit lengthwise through the top, press the ends gently to open the center, and fluff the flesh with a fork. Add any extra toppings at the table.

Timing by size: The clock is a guide, not a guarantee, because sweet potatoes vary in thickness and ovens can run hot or cool. Small potatoes around 5 to 6 oz (140 to 170 g) often take 35 to 45 minutes; medium ones around 8 oz (225 g) generally take 45 to 55 minutes; and large potatoes weighing 12 oz (340 g) or more can take 60 to 75 minutes. Similar-sized potatoes tend to finish together, so choose potatoes of roughly equal thickness when timing matters.

Tips

  • Choose the shape as well as the weight. A long, narrow potato usually cooks faster than a short, thick one of similar weight because heat has less distance to travel to its center. If you have mixed sizes, take out the tender ones first and let the larger potatoes continue baking.
  • Use a skewer, not color alone, to judge doneness. Sweet potato skins may wrinkle, darken, or release a little sticky juice before the center is fully soft. Test the thickest part in more than one spot; a knife that meets a hard patch means the potato needs more time.
  • Adjust the oil and salt to suit the meal. Olive oil gives a slightly fruity flavor, while a neutral oil keeps the taste simple. You can skip the oil for a drier skin or use a pinch of flaky salt after baking. If using fine table salt instead of kosher salt, start with less because it packs more tightly in a measuring spoon.
  • Keep the potatoes whole for this timing. Cutting them into halves or cubes changes the cooking time and texture, so do not use the whole-potato estimate for cut pieces. For a batch that needs to cook evenly, choose potatoes close in size and leave space around each one.

Serving Suggestions

Serve each potato whole with butter, a spoonful of plain yogurt or sour cream, and black pepper for an easy side. For a more filling plate, split the potato and add black beans, cooked lentils, shredded chicken, or a fried egg, along with chopped scallions or herbs. Add the toppings after baking so the flesh stays fluffy and the skins do not become soggy while the potatoes cook.

The naturally sweet flavor also pairs well with savory mains such as roasted vegetables, fish, or grilled meat. For a simple dinner, serve one potato per person with a crisp green salad or steamed greens. If serving several toppings, set them out separately so everyone can season their potato to taste.

Variations

Spiced skins: Mix the oil with ½ teaspoon (1 g) smoked paprika or ground cumin before rubbing it on the potatoes. These spices give the skin a warm, savory aroma without changing the basic baking method. A small pinch of chili powder works too if you want gentle heat.

Herb and garlic finish: Stir 1 tablespoon (15 ml) olive oil with 1 small minced garlic clove and 1 tablespoon (about 3 g) chopped parsley. Spoon the mixture over the opened potatoes after baking; adding fresh garlic before a long bake can make it bitter or overly browned.

Make smaller portions: For faster cooking, cut the potatoes in half lengthwise, brush the cut sides lightly with oil, and place them cut-side down on the lined pan. At 400°F (204°C), start checking after 25 minutes and continue until the thickest part is easily pierced. Halves may take roughly 25 to 35 minutes, but their thickness matters more than the clock. This method gives more browned surface and a less moist skin than baking whole potatoes.

Storage and Reheating

Refrigerate cooked sweet potatoes within 2 hours of baking. Let them cool just enough to handle, then place them in a covered container; they keep for 3 to 4 days in the refrigerator. Store toppings separately when possible, especially dairy, fresh herbs, or sauces, so the potato does not become wet in storage.

To reheat one whole potato, microwave it on a microwave-safe plate for 1 to 3 minutes, turning once, until hot throughout. The skin will be soft rather than dry. For several potatoes or a firmer skin, warm them on a baking sheet in a 350°F (177°C) oven for about 15 to 25 minutes, depending on size. Check that the center is hot before serving. You can also split a potato before reheating to shorten the time, but cover the cut surface loosely if it begins to dry out.

For longer storage, freeze cooked, cooled potatoes in an airtight freezer-safe container for up to 3 months. Thaw them in the refrigerator and reheat until hot throughout; the texture may be a little softer after freezing. Do not leave cooked potatoes at room temperature for more than 2 hours.

Frequently Asked Questions

How long do sweet potatoes take at 400°F?
Most medium whole sweet potatoes take 45 to 55 minutes at 400°F (204°C). Small ones may finish in 35 to 45 minutes, while large, thick potatoes can need 60 to 75 minutes. Check the center with a knife or skewer rather than relying only on the timer.

Should I wrap sweet potatoes in foil before baking?
No, not for this method. Foil holds moisture close to the skin, so the potato steams and the outside turns soft and damp. Bake them unwrapped on a sheet pan for a drier, more flavorful skin. If keeping the skin very soft is your preference, foil is an option, but the texture will differ.

Do I need to peel or soak sweet potatoes first?
No. Scrub the skin well and leave it on; it becomes tender as the potato bakes and helps the potato hold its shape. Soaking is unnecessary for whole baked potatoes and can leave the exterior wet. Peel only if you prefer not to eat the skin, and do so after baking if you want the flesh to stay intact.

How can I tell when a sweet potato is done?
Push a thin knife or skewer into the thickest part. It should slide in easily, with no hard or crunchy resistance in the center. You can also gently squeeze the sides with an oven mitt; a done potato yields easily. If it is still firm, bake for another 5 minutes and test again.

Can I bake sweet potatoes at a different temperature?
Yes, but the timing changes. At 425°F (218°C), medium potatoes may finish sooner and their skins brown more; begin checking around 40 minutes. At 375°F (191°C), expect a longer bake, often about 55 to 70 minutes for medium potatoes. Use the tenderness test at any temperature, and avoid changing the oven setting repeatedly because it makes timing harder to predict.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

Spotted an error? Tell us and we will correct it (corrections policy).