The recipe says yam, the supermarket sign says yam, and the vegetable in the bag turns out to be an orange sweet potato. The problem is not your eyesight. The same everyday label can point to different foods in different markets.
True yams and sweet potatoes are different plants. True yams belong to the genus Dioscorea; sweet potatoes are Ipomoea batatas. Some shops, especially in the United States, use “yam” for particular sweet potatoes, so the label alone may not identify a true yam.
For cooking, this distinction matters because the variety you buy affects sweetness, texture and the way it holds together.
Why the names cause confusion
A sweet potato does not become a true yam when it is large, orange or labelled that way. The North Carolina Cooperative Extension explanation makes the botanical distinction clear.
That does not mean shoppers everywhere use the same words. An African grocery selling a true yam and an American supermarket using a familiar produce label may both assume customers understand the local convention. Ask for the ingredient your recipe needs rather than trying to settle the question from one sign.
If you are new to specialist shops, our African grocery guide offers practical ways to identify unfamiliar products without buying first and investigating later.

Appearance helps, but it is not a complete test
Many true yams sold in African shops have a rough, bark-like exterior and pale, starchy flesh. Sweet potatoes often have a smoother skin and can have orange, white or purple flesh. Both groups contain substantial variation.
Do not rely on flesh colour alone. A white sweet potato is still a sweet potato, and a purple edible yam does not become one because it resembles a picture from a sweet-potato recipe.
Look for a variety name, a trustworthy product description or an informed answer from the supplier. When comparing unfamiliar produce, a photograph of the whole item and its label can be more useful than trying to remember the colour of one cut piece.
What changes when you cook them?
| Detail | True yam | Sweet potato |
|---|---|---|
| Plant group | Dioscorea | Ipomoea batatas |
| Common cooking impression | Many food varieties are starchy and relatively mild | Sweetness and moisture vary by variety |
| Useful forms | Boiled, fried, pounded or other variety-specific preparations | Roasted, mashed, baked or other preparations |
| What to establish | Edible food variety and suitable preparation | Variety and desired texture |
These are practical tendencies, not guarantees. A moist orange sweet potato and a drier pale variety can produce quite different mash. A recipe designed for a particular yam should not be applied unchanged to every tuber sold under a similar name.
Can you substitute sweet potato for yam?
Sometimes a substitution makes a good meal, but it changes the dish. Sweetness, moisture and the way pieces break down can alter both flavour and texture. Start with a preparation where those differences are acceptable.
For example, a roast vegetable plate can accommodate deliberate variation more easily than a dish whose identity depends on a particular pounding or dough-making method. Avoid assuming that a sweet potato will reproduce pounded yam because both can become soft after cooking.
Our ingredient-swaps guide uses the same principle: decide what the ingredient does, then choose an adaptation with its changes in mind.

Keep the country and the dish in view
Yam is important in several African food traditions, but it is not the main starch in every household or country. A food prominent in one Nigerian meal should not automatically be described as the everyday base of all Congolese cooking.
If your interest is Congo, compare the specific dish with the cassava, maize and other foods introduced in our Congolese food guide. If you want a broader staple comparison, begin with fufu, ugali and pap.
The point is to make food names more precise without flattening regional variety. “Yam” becomes useful when the reader knows which ingredient and which preparation the cook means.
Questions worth asking at the shop
Ask whether the item is a true yam or a sweet potato, what variety it is if known and how the seller’s customers usually prepare it. Buy produce intended for eating, not an ornamental plant or an unidentified tuber.
If the recipe came from a family member, ask for a photograph of their usual ingredient. A familiar local name may not travel neatly between countries, and this small check can save a disappointing cooking session.
For other easily confused ingredients, read cassava versus potato and plantain versus banana.
Make the name serve the meal
You do not have to choose a winner between yam and sweet potato. Learn how the variety you bought behaves and use it in a preparation that suits it. A clearly described adaptation is more useful than an exact-looking photograph with the wrong ingredient underneath.
What would help you most on your next shop: the botanical name, a variety label or a photograph of the ingredient used in the recipe?
Featured photograph: Yam tubers at a market in Nigeria. Photo: Wilhelmmarvel / CC BY-SA 4.0. Resized for display.









