How Long to Cook Sweet Potatoes
Whole or cubed sweet potatoes, baked, roasted, or air-fried.
The Short Answer
In the oven at 400°F, sweet potatoes takes 45–60 minutes. The USDA-recommended safe internal temperature is 205°F, verified with an instant-read thermometer in the thickest part. Scroll down for all cooking methods, detailed instructions, and tips from the Professor.
Always verify with an instant-read thermometer inserted into the thickest part.
Cooking Methods
🔥 Oven
Temperature: 400°F
Time: 45–60 minutes
Rest: 5 minutes
Whole: pierce with a fork, place on foil-lined sheet. Done when very soft and caramelized sugars start to ooze. Cubed: toss with oil, 25-30 minutes, flip halfway.
💨 Air Fryer
Temperature: 400°F
Time: 30–40 minutes
Rest: 5 minutes
Whole: pierce and cook 30-40 minutes. Cubed: 15-20 minutes, shake basket halfway.
Sweet potatoes get sweeter as they cook longer because heat converts their starches to sugars. Do not rush them. A fully caramelized sweet potato at 60 minutes tastes completely different from one pulled at 40.
Frequently Asked Questions
In the US, what stores label as yams are almost always sweet potatoes. True yams are a different species, starchier and drier, and rarely found in American grocery stores.
The Bottom Line
Sweet Potatoes is straightforward to cook when you know the time and temperature. The most important number to remember is 205°F internal. An instant-read thermometer is the only reliable way to confirm doneness; color and firmness are not accurate indicators. Use the method that fits your equipment and schedule, and always let the food rest before cutting or serving. Resting allows juices to redistribute and carryover cooking to finish the job.
Source: Culinary reference | Last verified: March 19, 2026 | Our methodology