Lontong Sayur Recipe: Indonesian Rice Cakes in Coconut Soup

Updated November 20, 2026

Total time
2 hr
prep 30 min · cook 1 hr 30 min
Serves
6
portions as written

Jump to recipe

Lontong sayur is a beloved Indonesian breakfast and street food dish consisting of compressed rice cakes (lontong) served in a rich, spicy coconut milk vegetable soup. The rice cakes are dense and tender, while the soup is creamy, savory, and slightly spicy, typically loaded with chayote, long beans, and tofu or tempeh. This recipe delivers a deeply flavorful and comforting bowl that is surprisingly simple to make at home, with a few key techniques to ensure perfect texture and taste.

Ingredients

  • For the lontong (rice cakes):
  • 2 cups (400 g) jasmine or long-grain rice, rinsed
  • 4 cups (950 ml) water
  • 1 teaspoon salt
  • Banana leaves or aluminum foil, for wrapping
  • For the sayur (coconut soup):
  • 2 tablespoons (30 ml) vegetable oil
  • 5 shallots, peeled and roughly chopped
  • 4 cloves garlic, peeled
  • 3 candlenuts (or 5 raw cashews, as substitute)
  • 2 red chilies (adjust to taste), seeded if desired
  • 1 teaspoon dried shrimp paste (terasi), toasted (optional)
  • 1 lemongrass stalk, bruised
  • 2 kaffir lime leaves
  • 1-inch (2.5 cm) galangal or ginger, sliced
  • 2 cups (475 ml) coconut milk (from 1 can)
  • 2 cups (475 ml) water or chicken/vegetable broth
  • 1 chayote (about 300 g), julienned or cut into thin strips
  • 1 cup (100 g) long beans, cut into 2-inch pieces
  • 1 block (250 g) firm tofu, cut into cubes and fried until golden
  • 1 block (250 g) tempeh, cut into cubes and fried until golden (optional)
  • 2 teaspoons salt, plus more to taste
  • 1 teaspoon sugar
  • 1/2 teaspoon ground white pepper
  • For serving:
  • 2 hard-boiled eggs, peeled and halved (optional)
  • Fried shallots, for garnish
  • Fresh red chili slices (optional)

Instructions

  1. Make the lontong (rice cakes): Rinse the rice under cold water until the water runs clear. In a pot, combine the rice, 4 cups (950 ml) water, and salt. Bring to a boil over high heat, then reduce to low, cover, and simmer for 20 minutes, or until the rice is cooked and the water is absorbed. Remove from heat and let rest, covered, for 10 minutes.
  2. While the rice is still warm, spoon it onto a large piece of banana leaf (or a sheet of aluminum foil). Fold the leaf over the rice to form a tight log, tucking in the ends. Secure with kitchen twine or toothpicks. If using foil, roll tightly and twist the ends to seal. Repeat with remaining rice to make 2-3 logs.
  3. Place the wrapped rice logs in a large pot and cover with water (about 6 cups / 1.4 L). Bring to a boil, then reduce to a gentle simmer. Cook for 1 hour, adding more water if needed to keep the logs submerged. Remove the logs and let cool completely. Once cool, unwrap and slice into 1-inch (2.5 cm) thick rounds. Set aside.
  4. Make the spice paste: While the lontong cooks, place the shallots, garlic, candlenuts (or cashews), red chilies, and toasted shrimp paste (if using) in a food processor. Blend into a smooth paste, adding a tablespoon of water if needed.
  5. Cook the sayur: Heat the vegetable oil in a large pot over medium heat. Add the spice paste and cook, stirring frequently, until fragrant and the paste darkens slightly, about 5-7 minutes. Add the lemongrass, kaffir lime leaves, and galangal (or ginger). Cook for 1 minute more.
  6. Pour in the coconut milk and water (or broth). Stir well and bring to a gentle simmer. Cook for 5 minutes, allowing the flavors to meld.
  7. Add the chayote and long beans. Simmer for 8-10 minutes, until the vegetables are tender but still have a slight crunch.
  8. Add the fried tofu and tempeh (if using). Season with salt, sugar, and white pepper. Stir gently and simmer for another 5 minutes. Taste and adjust seasoning as needed. Remove from heat.
  9. To serve: Place 2-3 slices of lontong in a bowl. Ladle the hot sayur over the top. Garnish with a hard-boiled egg half, fried shallots, and fresh chili slices if desired. Serve immediately.

Tips

  • Substitutions: If you can’t find candlenuts, use raw cashews or macadamias; they add a similar richness. For the shrimp paste, you can omit it or use a teaspoon of fish sauce added with the coconut milk. Chayote can be replaced with zucchini or green papaya.
  • Lontong shortcut: To save time, you can use store-bought lontong (often sold vacuum-packed in Asian markets) or even substitute with steamed rice or ketupat. The texture will differ but the soup is just as delicious.
  • Spice level: Adjust the chilies to your heat preference. For a milder soup, remove the seeds and ribs from the chilies. For extra heat, add a sliced bird’s eye chili (cabe rawit) at the end.
  • Common mistake: Don’t overcook the chayote and long beans; they should be tender-crisp. Also, be careful not to let the coconut milk boil too vigorously after adding it, as it can curdle. Keep the heat at a gentle simmer.

Serving Suggestions

Serve lontong sayur warm as a hearty breakfast or brunch, often paired with a cup of hot tea or coffee. It’s also wonderful for lunch or a light dinner. For a more substantial meal, add a side of fried chicken or beef rendang. In Indonesia, it’s often enjoyed with a sprinkle of fresh bird’s eye chili and a squeeze of lime juice for extra brightness.

Variations

  • Lontong sayur with chicken: Add shredded cooked chicken to the soup along with the vegetables for a protein-packed version.
  • Sayur nangka (young jackfruit): Replace the chayote with young jackfruit (available canned or fresh). It adds a meaty texture and absorbs the coconut broth beautifully.
  • Vegan version: Omit the shrimp paste and use vegetable broth. The dish is already quite rich from the coconut milk and tofu/tempeh.
  • Regional twist: Some versions add a handful of spinach or cassava leaves at the end. Others include a spoonful of sambal (chili paste) for extra heat.

Storage and Reheating

Store the sayur (soup) and lontong separately in airtight containers. The sayur will keep in the refrigerator for up to 3 days; the lontong for up to 4 days. To reheat, gently warm the soup in a pot over medium heat, adding a splash of water or coconut milk if it has thickened too much. Reheat the lontong slices by steaming them for 5 minutes or microwaving for 30 seconds. You can also freeze the sayur for up to 2 months; thaw overnight in the refrigerator before reheating. The lontong freezes well too, but its texture may become slightly softer.

Frequently Asked Questions

Can I use regular rice instead of jasmine? Yes, any long-grain rice works. Jasmine adds a fragrant aroma, but plain long-grain rice will also produce good lontong. Avoid short-grain or sticky rice, as they will be too sticky and dense.

What is a substitute for candlenuts? Candlenuts are used for their creamy, rich texture. Raw cashews or macadamias are the best substitutes. If you have neither, you can omit them and add an extra tablespoon of coconut milk for richness.

Can I make lontong without banana leaves? Absolutely. Aluminum foil is a perfect substitute. Just make sure to roll it tightly and seal the ends well to prevent water from seeping in. The banana leaf imparts a subtle aroma, but foil is neutral and works fine.

Why did my coconut milk curdle? Coconut milk can curdle if it’s boiled too hard or if it’s old. Always simmer gently after adding it. Also, make sure your spice paste is cooked well before adding the liquid. If curdling happens, the soup is still safe to eat, but the texture will be grainy.

Can I make this dish ahead of time? Yes, the sayur actually tastes even better the next day as the flavors meld. Cook the soup and lontong as directed, cool, and store separately in the refrigerator. Reheat gently before serving. The soup may thicken; thin it with a little water or broth.

Is lontong sayur gluten-free? Yes, all the ingredients are naturally gluten-free. Just ensure your shrimp paste and any store-bought components (like fried shallots) are certified gluten-free if you have celiac disease.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

Spotted an error? Tell us and we will correct it (corrections policy).