Kashata (Tanzanian Coconut Sweet with Cardamom and Peanuts)

cuisine
⏱ 95👨‍🍳 Medium💶 0.80☀ Day

↓ Jump to recipe

Kashata are chewy Tanzanian coconut squares cooked in sugar syrup with cardamom, with peanuts as an optional crunch. They are a popular street and tea-time sweet across the country.

Golden coconut and peanut squares stacked on a plate, showing grated coconut texture.
In short

Kashata (Tanzanian Coconut Squares): Chewy grated coconut cooked in sugar syrup with cardamom and optional peanuts.

Total time: 1 h 35 min·Serves: 8 servings (16 squares)·Difficulty: Medium·Cuisine: Tanzanian

Why it works

  • Coconut is the body. Unlike a brittle, kashata is chewy and dense because grated coconut, not nuts, holds the sugar together.
  • Syrup to the soft-ball stage. Cooking until the mixture is sticky and just caramel-colored gives squares that set firm yet stay chewy.
  • Cardamom and lemon. Warm spice and a few drops of acid keep the sweetness from tasting flat or cloying.
  • Cut while warm. Scoring before the sugar fully hardens gives clean squares that do not shatter.

Kashata are small sweets sold across Tanzania by street vendors, at bus stops and in school canteens. The best-known versions are made from grated coconut cooked in sugar, or from peanuts set in caramelized sugar, and they are cut into squares or diamonds in white, brown and sometimes pink.

This recipe makes the coconut kind with cardamom, with peanuts as an option. It works well with a good sugar syrup; see our guide to sugar syrup and candy stages for the temperatures.

Golden coconut and peanut squares stacked on a plate, showing grated coconut texture.
DayNightCook Kitchen

Kashata (Tanzanian Coconut Squares)

Chewy grated coconut cooked in sugar syrup with cardamom and optional peanuts.
Prep Time 10 minutes
Cook Time 25 minutes
Setting 1 hour
Total Time 1 hour 35 minutes
Servings: 8 servings (16 squares)
Course: Dessert
Cuisine: Tanzanian
Calories: 240

Ingredients
  

Sweet
  • 300 g fresh or frozen grated coconut (3 1/2 cups), thawed if frozen
  • 200 g white sugar (1 cup)
  • 100 ml water (1/3 cup plus 1 tbsp)
  • 1/2 tsp ground cardamom
  • 1 pinch salt
  • 1 tsp lemon juice
  • 80 g roasted unsalted peanuts (1/2 cup), roughly chopped, optional (contains peanuts)
  • 1 tbsp neutral oil for the tin

Equipment

  • Heavy saucepan
  • 20 cm (8 in) square tin
  • Wooden spoon

Method
 

Prepare
  1. Oil the tin and line the base with baking paper.
Cook
  1. Put the sugar, water and lemon juice in the saucepan over medium heat and stir until the sugar dissolves.
  2. Boil without stirring for 4 to 5 minutes until the syrup reaches 115 °C (240 °F).
  3. Stir in the coconut, cardamom and salt. Cook over medium heat for 12 to 15 minutes, stirring, until the mixture is thick, sticky and pale golden and pulls away from the pan.
  4. Stir in the peanuts, if using, and remove from the heat.
Set
  1. Scrape the mixture into the tin and press flat with the back of an oiled spoon.
  2. After 10 minutes, score into 16 squares with an oiled knife. Cool completely for 50 minutes, then cut through and lift out.

Notes

Contains coconut and optional peanuts. Hot sugar syrup reaches 115 °C and causes severe burns, so take care and keep children away. Do not leave the pan unattended.

🔥 DayNightCook Chef’s Secrets

  1. Technique. Cook the syrup to about 115 °C (240 °F), the soft-ball stage, before the coconut goes in. At that temperature enough water has evaporated that the sugar sets chewy as it cools, not sticky or soft.
  2. Avoid this. Don’t stir constantly once sugar crystals form on the pan sides. Stray crystals can make the whole batch grainy. Brush the sides with a wet brush, and add a few drops of lemon juice to keep the sugar smooth.
  3. Pro move. Press the hot mixture into an oiled tray with the back of an oiled spoon, then score it after 10 minutes. Waiting until cold makes it crack; cutting too early makes it slump.

☀ Day version and ☾ Night version

☀ Day version (about 60 min): Use unsweetened desiccated coconut with 150 ml (2/3 cup) of water instead of fresh coconut, and chill the tray in the freezer for 20 minutes. The texture is drier and finer, but it is quick and uses a pantry ingredient.

☾ Night version: Use fresh or frozen grated coconut, toast a handful of peanuts, and serve the squares on a plate with hot spiced tea or coffee. For a drink, pair with fresh coconut water or ginger tea, both non-alcoholic.

Common mistakes

  • Grainy squares. Stirring the syrup before it boils, or letting crystals fall back in, makes it sandy. See our guide to grainy caramel for rescue steps.
  • Soft, sticky pieces. The syrup did not reach 115 °C (240 °F) or the coconut was wet. Cook a few minutes longer and drain thawed coconut well.
  • Burnt bottom. Coconut sugars scorch quickly. Use a heavy pan, keep the heat medium and stir the corners.
  • Cutting too late. Cold kashata cracks. Score after 10 minutes while it is still warm and pliable.

Variations

  • Peanut kashata. Replace the coconut with 300 g (2 cups) roasted peanuts and cook the syrup a little darker, to 130 °C (265 °F). The result is closer to brittle, which is a different texture.
  • Pink kashata. Some vendors tint part of the batch pink with food coloring for the two-color pieces. This is optional and for looks only.
  • Ginger. Add 1 tsp finely grated fresh ginger to the syrup for a spicier edge.
  • Brown sugar. Swap half the white sugar for brown sugar or jaggery for a deeper, toffee flavor.

Storage and make-ahead

Store the squares in an airtight container at room temperature for up to 1 week, with baking paper between layers. In humid weather, keep them in the fridge for up to 2 weeks; the coconut absorbs moisture and softens. They freeze for 2 months. For storage conditions, see our fridge chart and the storage containers guide.

What to serve with it

Serve kashata with sweet black tea, spiced coffee or fresh fruit. They also pack well for picnics and trips. Browse more desserts, plan a picnic, and see our nuts and seeds guide for toasting peanuts.

Origin and authenticity

Kashata is a popular sweet in Tanzania and elsewhere in East Africa, made from coconut or peanuts cooked in sugar. In Tanzanian coastal areas coconut is a daily ingredient, and the sweet is sold wrapped or loose by vendors. Its exact origin is not documented. The word is used in Swahili for these candy pieces, and similar sugar-and-nut or sugar-and-coconut sweets exist in many tropical countries, so kashata is best seen as part of that wider family rather than a unique invention. The coconut version here differs from peanut brittle, which sets hard and glassy.

Authenticity: Traditional

FAQ

What is kashata?

Kashata is a Tanzanian sweet made of grated coconut or peanuts cooked in sugar and cut into squares. It is sold by street vendors and eaten with tea.

Is kashata the same as peanut brittle?

No. Coconut kashata is chewy and dense, while peanut brittle is hard and glassy. Peanut kashata is closer to brittle.

Can I use desiccated coconut?

Yes. Use unsweetened desiccated coconut with about 150 ml of water so it can absorb the syrup. The result is finer and drier.

Why did my kashata not set?

The syrup probably stayed under 115 °C (240 °F) or the coconut was wet. Return it to the pan and cook until thick and sticky.

How long does it keep?

About 1 week at room temperature in an airtight container, or 2 weeks in the fridge.

Sources

  • USDA FoodData Central, nutrition estimates for coconut, sugar and peanuts
  • Harold McGee, On Food and Cooking (Scribner, 2004), on sugar crystallization and candy
  • Alan Davidson, The Oxford Companion to Food (Oxford University Press), for background on coconut and sugar confectionery
  • UK Food Standards Agency, peanut and tree nut allergen labeling guidance
II
About the author
Ivan Ivanov
Founder ofSupreme CommerceGiantParts

Ivan Ivanov is the founder of Supreme Commerce OOD and editor-in-chief of DayNightCook. He chooses the dishes and topics and reviews the recipes and guides before they go live. Recipes are researched from published cookbooks, food-history sources and official food-safety guidance (USDA, EFSA, UK FSA), and every recipe lists its sources. Some content is prepared with the help of AI tools and checked under our AI Transparency Policy.

Clear steps, real sources, food that works at home

  • Sources under every recipeCookbooks, food history and official food-safety guidance
  • Metric and clear timingsGrams, millilitres and real cooking times
  • Honest about authenticityEach recipe notes how close it is to the original
Cooked it? Rate itYour stars help other cooks choose what to makeBe the first to rate this recipe