How to cook yams: 6 easy ways, with times and temperatures
Boiled, roasted, baked, mashed, air-fried or microwaved — exact times for each, how to tell a true yam from a sweet potato, and how to know they are done.

Yams are one of the easiest things you can cook: no special skill, one pot or one tray, and they are hard to ruin as long as you cook them all the way through. This guide gives you every common method with exact times and temperatures, and the one check that tells you they are done.
First, one thing that trips up almost everyone.
Watch all 4 ways, and the yam vs sweet potato difference, in 80 seconds — subscribe on YouTube for a new recipe every few days.
Is it a yam or a sweet potato?
In the United States and Canada, the orange-fleshed roots sold as “yams” are almost always sweet potatoes. The label stuck decades ago as a marketing name for the softer, sweeter orange varieties. A true yam (Dioscorea) is a different plant altogether, a staple in West Africa, the Caribbean and parts of Asia, and you will mostly find it in African, Caribbean and Asian grocers.
- Sweet potato (“US yam”): smooth, thin red-brown or orange skin, tapered ends, orange or purple flesh, sweet and moist when cooked.
- True yam: rough, bark-like brown skin, blunt ends, often very large, white or pale-yellow flesh, starchy and dry, mild rather than sweet.
Both are cooked the same basic ways. True yams need a few minutes longer and stay firmer, so each method below gives both times.
The only doneness test you need
Push a fork or the tip of a knife into the thickest piece. It is done when it slides in with no resistance at all. If you feel any firm core, give it five more minutes. Undercooked yam is hard and chalky, and true yam must always be eaten fully cooked — never raw.
Quick reference
| Method | Cut | Heat | Sweet potato | True yam |
|---|---|---|---|---|
| Boil | 1-inch (2.5 cm) chunks | Simmering salted water | 12–15 min | 15–20 min |
| Roast | 1-inch cubes | 425°F / 220°C | 25–30 min | 30–40 min |
| Bake whole | Whole, pricked | 400°F / 200°C | 45–60 min | Cut into pieces first |
| Air fryer | 1-inch cubes or wedges | 400°F / 200°C | 15–20 min | 20–25 min |
| Microwave | Whole, pricked | High | 5–8 min | Not recommended |
| Pan-fry | ½-inch slices | Medium-high | 8–10 min | Boil 10 min first, then 6–8 min |
Times are for medium pieces. Bigger pieces and older, drier roots take longer; always finish with the fork test.
1. How to boil yams
The most reliable method, and the starting point for mash and for most West African yam dishes.
- Peel and cut into even 1-inch (2.5 cm) chunks. Even pieces cook at the same speed. For true yam, peel thickly with a knife, not a peeler, and wear gloves: the raw skin can make hands itch.
- Cover with cold water by about an inch, add a good pinch of salt, and bring to the boil. Starting cold cooks the outside and centre evenly.
- Simmer 12–15 minutes for sweet potatoes, 15–20 for true yam, until a fork slides straight in.
- Drain well and let them steam-dry in the pot for a minute so they are not watery.
Boiled true yam is eaten as it is with a stew or pepper sauce, or with eggs for breakfast. Boiled sweet potato goes straight into mash (below).
2. How to roast yams
Roasting gives caramelised edges and the most flavour.
- Heat the oven to 425°F (220°C).
- Cut into 1-inch cubes (peeling is optional for sweet potatoes). Toss with 1–2 tablespoons of oil per pound (450 g), salt and pepper. Smoked paprika, garlic powder or a little Cajun seasoning are all good.
- Spread in one layer with space between the pieces. Crowded cubes steam and go soft instead of browning — the same reason chicken goes grey in a crowded pan.
- Roast 25–30 minutes, turning once halfway, until browned at the edges and soft in the middle.
3. How to bake a whole yam
- Heat the oven to 400°F (200°C). Scrub the sweet potato and prick it 5–6 times with a fork so steam can escape.
- Bake on a lined tray (they drip sticky sugar) for 45–60 minutes, until it gives easily when squeezed and a knife meets no resistance.
- Split, fluff the inside with a fork, and top with butter and salt, or Greek yogurt and cinnamon.
True yams are usually too large to bake whole — cut them into chunks and roast instead.
4. How to make mashed yams
- Boil as in method 1 and drain well.
- Mash with butter (about 1 tablespoon per medium potato), a splash of warm milk, salt, and a pinch of cinnamon or nutmeg if you like it sweet.
- For a savoury version, use garlic and black pepper instead of cinnamon.
True yam makes a firmer, stretchier mash. Pounded until smooth and elastic, it becomes pounded yam, served with soups such as egusi.
5. How to cook yams in the air fryer
- Cut into 1-inch cubes or thin wedges and toss with just 1–2 teaspoons of oil and salt.
- Cook at 400°F (200°C) for 15–20 minutes, shaking the basket halfway. True yam takes 20–25 minutes.
- Don’t fill the basket more than one layer deep; cook in two batches if needed.
This is the lowest-oil way to get crispy edges. Not sure the air fryer is better than your oven? Here is how the two compare.
6. How to microwave a yam
- Scrub a medium sweet potato and prick it all over with a fork.
- Microwave on high for 5–8 minutes, turning it over halfway, until soft when squeezed.
- Rest 2 minutes before cutting — it keeps cooking.
Fastest of all, but no browning. Not recommended for true yam, which cooks unevenly in the microwave.
Cooking for Thanksgiving? Our candied yams recipe covers the oven, stovetop and canned versions, with or without marshmallows.
Yam nutrition at a glance
Per 100 g, cooked, from USDA data:
- Sweet potato, baked in skin: about 90 kcal, 2 g protein, 21 g carbs, 3.3 g fibre, and very high in vitamin A.
- True yam, boiled: about 116 kcal, 1.5 g protein, 27 g carbs, 3.9 g fibre.
Both are filling, high-fibre carbs that fit easily into a weight-loss week. If you are counting, our free calorie counter works out any meal by the gram.
Want the whole week planned for you?
Our printable 7-Day Meal Plan Pack has three complete weeks (1,500, 2,000 and 2,200 kcal) with grocery lists and 12 recipe cards. Or get a custom meal plan built around your own goal — with a free Day 1 sample first.
About Yams Cooking
If you searched for “Yams Cooking” and found this page, you are in the right place. Yams Cooking is a recipe website and YouTube channel with baking, desserts and easy dinners, every recipe filmed start to finish and written out with exact grams. Browse all the recipes or read the Kitchen Notebook.
Free download3-Day Meal Plan + grocery listAbout 1,500 kcal a day, every day counted, with recipe cards and videos.Send me the free plan →
Common questions
How long does it take to boil yams?
Cut into 1-inch (2.5 cm) chunks, sweet potatoes take 12 to 15 minutes at a simmer and true yams 15 to 20 minutes. They are done when a fork slides into the thickest piece with no resistance.
Should I peel yams before cooking?
Sweet potatoes can be cooked with the skin on for roasting, baking and the microwave; peel them for boiling and mash. True yams should always be peeled, thickly, with a knife, and it is worth wearing gloves because the raw skin can irritate your hands.
What temperature do you bake yams at?
Bake whole sweet potatoes at 400°F (200°C) for 45 to 60 minutes. Roast cubes hotter, at 425°F (220°C), for 25 to 30 minutes, turning once.
Are yams and sweet potatoes the same thing?
No. Most "yams" sold in US supermarkets are orange sweet potatoes. True yams are a different plant (Dioscorea) with rough brown skin and starchy white flesh, found mostly in African, Caribbean and Asian shops. You can cook both the same ways; true yams take a little longer.
Can you eat yams raw?
True yams should never be eaten raw — always cook them through. Sweet potatoes are also best cooked: raw they are hard to digest and taste starchy.
Are yams good for weight loss?
They can be. Both are high in fibre and filling for their calories, about 90 to 116 kcal per 100 g cooked. Weight loss comes from your total calories across the day, so measure the oil and butter you cook them with.
