Klepon (Javanese Pandan Rice Balls with Palm Sugar Centers and Coconut): Chewy green glutinous rice flour balls scented with pandan, filled with a chunk of palm sugar that melts to syrup, then rolled in salted steamed coconut.
Total time: 45 min·Serves: 6 servings (4 balls each)·Difficulty: Medium·Cuisine: Indonesian
Why it works
- Glutinous rice flour. It is almost all amylopectin starch, which turns elastic and chewy when cooked in water, so the dough stretches around the filling without tearing.
- Pandan juice instead of water. Blended pandan leaves give color and a grassy, vanilla-like scent, and the water is gradually added so you control the dough.
- Palm sugar that melts inside. A small chunk of gula jawa liquefies in the boiling water and becomes a warm, caramel-flavored syrup that bursts in the mouth.
- Salted steamed coconut. Briefly steaming the grated coconut with salt keeps it fresher for longer and balances the sweetness.
Klepon are small green rice-flour balls with a molten palm sugar center, rolled in soft grated coconut. They are a traditional Javanese market snack (jajan pasar) and a treasured sweet in Indonesian cuisine, eaten at room temperature with tea.
The dough is only three ingredients, and the skill is in the feel. Once you have it right, klepon are a lovely dessert or snack for a party. Our rice varieties guide explains why glutinous rice behaves differently.
Klepon (Javanese Pandan Rice Balls with Palm Sugar Centers and Coconut)
Ingredients
Equipment
Method
- Blend the 8 pandan leaves with 200 ml water for 1 min. Strain through a fine sieve, pressing hard, to get about 170 ml (2/3 cup) green juice.
- Mix the flour and salt in a bowl. Add the pandan juice a few spoonfuls at a time, kneading 3–4 min until a smooth, soft, non-sticky dough forms. Rest it, covered, 10 min.
- Toss the grated coconut with the salt and knotted pandan leaf. Steam over boiling water 10 min, then cool.
- Pinch off 17 g (about 2 tsp) of dough and roll it into a ball. Flatten it in your palm, put a piece of palm sugar in the center, and fold up the sides.
- Pinch the seam closed and roll into a smooth ball, with no cracks. Repeat to make about 24, keeping them covered.
- Bring 2 l (2 qt) water to a gentle boil. Drop in 8 balls at a time. They sink first.
- Cook 3–4 min until they float, then 1 min more. Lift out with a slotted spoon and drain well.
- Roll each warm ball in the steamed coconut to coat evenly.
- Serve at room temperature on a plate lined with a banana leaf.
Notes
🔥 DayNightCook Chef’s Secrets
- Technique: add the pandan water a few spoonfuls at a time and knead until the dough feels like a soft earlobe: smooth, pliable, not sticky. Flours differ in how much liquid they absorb, so a fixed amount can leave the dough crumbly or sticky.
- Avoid this: big sugar chunks and loose seals. A fat piece of palm sugar melts into a pocket that bursts the dough, and a gap in the seam leaks syrup into the water. Chop the sugar into 1 cm pieces, pinch the seam shut and roll the ball smooth.
- Pro move: roll the klepon in the coconut while still warm, after draining well. The surface is slightly sticky then, so the coconut clings; once cool and dry, it will not.
☀ Day version and ☾ Night version
☀ Day version (about 35 min): Use 1/2 tsp pandan paste or extract in 170 ml water, buy frozen grated coconut, and steam it right away. You lose the fresh leaf aroma, but the dough takes 5 minutes to mix. Make half the amount if you only need a small batch.
☾ Night version: Blend fresh pandan leaves with water and strain twice, use a freshly cracked coconut, and chop real gula jawa by hand. Serve on banana leaf with hot jasmine tea or black coffee. For a non-alcoholic cold option, serve with es kelapa muda, young coconut water over ice. Warn guests: the center is very hot.
Substitutions
- Pandan: frozen leaves work as well as fresh. Pandan extract or paste is a fair shortcut, but it has a more perfumed taste.
- Palm sugar: dark brown sugar lumps or crushed muscovado work, but they melt into a thinner, less smoky syrup. Our sugars guide lists the options.
- Fresh coconut: frozen grated coconut is the best stand-in. Unsweetened desiccated coconut can be soaked in warm water for 10 minutes, squeezed dry and steamed, but it is less moist.
- Glutinous rice flour: sold as ketan flour or sweet rice flour. Regular rice flour will not work; the balls fall apart and are not chewy.
Common mistakes
- Dough cracks while shaping. Too dry. Knead in a teaspoon of pandan water at a time until it is smooth.
- Sticky, sagging dough. Too wet. Add a spoonful of flour and rest it for 5 minutes.
- Klepon burst in the pot. Large sugar pieces, thin walls or an open seam. Seal tightly and boil gently.
- Hard balls the next day. Rice starch firms up as it cools and stales. Eat on the day, or steam for 3 minutes to soften.
Variations
Indonesian onde-onde is a different sweet: a fried ball of glutinous rice dough with mung bean paste filling, coated in sesame seeds. Klepon is also sold in modern forms, such as pink dragon fruit klepon or klepon-flavored cakes and ice cream, which are recent adaptations. Some cooks add a little mashed sweet potato to the dough for a softer bite. The classic is the one in this recipe.
Storage and make-ahead
Klepon are best the same day. Keep them covered at room temperature for up to 6 hours, and refrigerate for up to 2 days, though the dough firms up and the fresh coconut ages. Steam cold klepon 3 minutes to soften them. Uncooked, filled balls can be frozen on a tray, then bagged for up to a month, and boiled from frozen for 1 minute longer; see our freezer guide.
What to serve with it
Hot black tea, jasmine tea or Indonesian coffee, and other sweet snacks such as fried banana or steamed cakes. Klepon sits happily on a snack table for a party or gathering. It is naturally gluten-free, dairy-free and vegan; see our allergen guide if guests have tree nut or coconut allergies.
Origin and authenticity
Klepon is usually described as a Javanese traditional snack (jajan pasar), sold at morning markets with other small sweets. Similar rice-flour balls with palm sugar centers appear across Southeast Asia, for example buah melaka in Malaysia, so the exact origin is shared and difficult to document. In Indonesia it is a familiar sweet at weddings, markets and home tables. This recipe is the common green version.
Authenticity: Traditional
FAQ
What is klepon made of?
Glutinous rice flour, pandan juice, palm sugar and grated coconut. It has no wheat, dairy or eggs.
Why do klepon burst when boiled?
Usually the seam was open or the sugar pieces were too big. Pinch the dough shut and roll it smooth before boiling.
How do I know the klepon are cooked?
They float to the surface. Give them one more minute after that so the center sugar melts fully.
Can I make klepon without pandan?
Yes. Use plain water and a little vanilla, or a few drops of green coloring, though the pandan flavor will be missing.
Are klepon vegan and gluten-free?
Yes, as written. Check your palm sugar and any pandan paste for additives.
Sources
- USDA FoodData Central, nutrition estimate: fdc.nal.usda.gov
- Sri Owen, Indonesian Food and Cookery (Prospect Books)
- James Oseland, Cradle of Flavor (W. W. Norton, 2006)
- Alan Davidson, The Oxford Companion to Food (Oxford University Press)
- Harold McGee, On Food and Cooking (Scribner, 2004): starch gelatinization and rice
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
