A look at klepon's disputed Majapahit-era origins, its ceremonial Bugis-Makassar roots, and the 2020 social media joke that turned a humble market snack into a national talking point.
Klepon belongs to a much older lineage of Southeast Asian rice sweets, and its exact starting point is impossible to pin down. Culinary historians most often trace it to the Majapahit empire, which ruled much of the Indonesian archipelago from 1293 to roughly 1527. The theory, associated with Universitas Gadjah Mada culinary researcher Murdijati Gardjito, notes that the red-brown of the palm sugar filling and the white of the grated coconut echo the Majapahit court's own colour scheme, though no written record from the period actually names the dish. It's a compelling reading rather than a documented fact.
Firmer ground comes from South Sulawesi, where Bugis-Makassar communities make a close relative called onde-onde or umba-umba. Local tradition holds this version has featured in ceremonial cooking, particularly thanksgiving gatherings marking a new home or a new possession, since at least the thirteenth or fourteenth century. Whatever the precise date of klepon's own arrival on Java, the ingredients it depends on, glutinous rice, tapped palm sugar, and coconut, were already staples of Javanese kitchens well before that, going back to the rice-growing cultures that shaped the island for over a thousand years.
Islam spread through the Malay archipelago from around the thirteenth century onward and reshaped much of the region's ceremonial life, yet klepon carried on largely unchanged as an everyday market sweet. Bali, which kept its Hindu character as Islam took hold elsewhere, developed its own version: a teardrop-shaped dumpling served at temple festivals rather than the round ball found across Java.
For generations, klepon has belonged to the world of jajanan pasar, the market snacks sold each morning from woven baskets and glass cabinets across Java. It sits alongside sweets like getuk and cenil as food bought on the way to work or school rather than made for a special occasion, though it also turns up at more formal gatherings and, in Bali, at temple ceremonies.
The dish's biggest moment in the modern spotlight had nothing to do with cooking. In September 2020, an anonymous social media post claimed klepon was somehow "not Islamic," apparently mocking overly literal religious framing by applying it to a snack. The joke spread fast, and within days it had turned into a genuine national debate about religion, humour and Indonesian identity, with klepon vendors and home cooks weighing in publicly to defend a sweet most of them had grown up eating without a second thought. The episode, absurd as its premise was, says something real about how deeply klepon sits in everyday Indonesian life: it's ordinary enough that turning it into a culture-war punchline actually worked as a joke.
Beyond the viral moment, klepon still carries older symbolic readings. The molten sugar hidden inside the plain-looking ball is often described as a lesson in patience and quiet generosity: nothing about the outside gives away the sweetness waiting within.
Klepon works because of a small number of ingredients doing very specific jobs. Glutinous rice flour, made from a rice variety high in amylopectin rather than the amylose found in ordinary long-grain rice, is what gives the dough its stretch and chew once cooked; ordinary rice flour won't behave the same way in the pot.
Pandan leaf, and in some regions suji leaf alongside it, supplies both the traditional green colour and a grassy, faintly vanilla-like aroma. Palm sugar, tapped from the flower buds of the coconut or arenga palm and known locally as gula jawa or gula aren, is chopped small enough to seal inside each ball. As the balls boil, the sugar melts into a hot liquid before the dough itself is fully set, which is exactly what produces the burst of syrup on the first bite.
Getting there depends on a genuinely mechanical detail: the dough has to be pinched closed without a seam, or the molten sugar leaks straight out into the cooking water instead of staying put. The final roll in fresh grated coconut, lightly salted, adds fat and a savoury edge that stops the whole thing tipping into being simply sweet.
Once klepon-style sweets are traced beyond Java, the picture becomes a genuine web of Southeast Asian food history rather than a single line of descent. Bali's version, distinct enough to be treated as its own dish by many cooks, swaps the round ball for a teardrop shape and turns up specifically at religious festivals. In South Sulawesi, the Bugis-Makassar onde-onde or umba-umba keeps its older ceremonial role at housewarmings and other thanksgiving occasions.
Across the Strait of Malacca, the same idea travelled with centuries of Malay trade and migration and became ondeh-ondeh in Malaysia, Singapore and Brunei, made and eaten in essentially the same way but under a different name. The naming gets genuinely confusing here: in parts of Java, "onde-onde" refers to a completely different, deep-fried sesame-coated snack related to the Chinese jian dui, so the same word means two different things depending which side of the strait you're standing on.
More recently, klepon has followed Indonesian communities further afield, showing up in Indonesian and Indo-Dutch bakeries in the Netherlands, a legacy of Dutch colonial-era migration, as well as in Indonesian grocers and market stalls across Australia and neighbouring Singapore. It remains, wherever it lands, resolutely a market snack rather than a restaurant dessert, closer in spirit to a doughnut from a corner stall than to anything plated.
Klepon is the Javanese name for these palm sugar filled rice balls. In Malaysia, Singapore and Brunei the same snack is called ondeh-ondeh, but confusingly, in parts of Java "onde-onde" refers to an entirely different deep-fried, sesame-coated snack, so the name doesn't travel cleanly between regions.
The colour comes from pandan leaf, sometimes combined with suji leaf, blended into the rice dough. Both are used for their colour and for the grassy, faintly floral aroma they bring to the finished dough, not purely for decoration.
Yes. Klepon is made from glutinous rice flour, palm sugar, coconut and water, with no eggs, dairy or wheat involved. "Glutinous" describes the sticky texture of the rice variety, not the presence of gluten.
In September 2020, an anonymous social media post joked that klepon was "not Islamic," poking fun at overly literal religious framing of everyday things. It went viral and sparked a genuine nationwide debate in Indonesia about religion, humour and food, turning a small, well-loved market snack into an unlikely symbol of the conversation.