Nasi goreng is Indonesia’s best-loved comfort food. Sold from street carts at night, served at breakfast with a fried egg and cooked in almost every home, it turns leftover rice into a smoky, sweet and savoury meal in minutes. This nasi goreng recipe shows you how to make an authentic version at home, explains the key ingredients and shares tips for getting that true warung flavour.
What Is Nasi Goreng?
The name simply means “fried rice” in Indonesian. What makes it different from other fried rice dishes is its spice paste, or bumbu, of shallots, garlic and chillies, plus a deep caramel sweetness from kecap manis, Indonesia’s thick sweet soy sauce. Many cooks also add a little terasi (fermented shrimp paste) for an extra layer of savoury depth.
Nasi goreng changes from region to region and from family to family. Some versions are fiery red with chillies, some are dark and sweet, and others are pale and garlicky. To learn more about the ingredients behind dishes like this, read our guide to essential Indonesian spices and ingredients.
A Short History of Nasi Goreng
Fried rice came to the Indonesian archipelago through centuries of trade with Chinese communities, who brought wok cooking and the habit of frying leftover rice. Indonesians made it their own by adding local ingredients: shallot and chilli paste, shrimp paste and, above all, sweet soy sauce. Because it uses yesterday’s rice and whatever else is in the kitchen, nasi goreng became the perfect thrifty breakfast for busy households.
Today it is eaten at every time of day and in every setting, from humble carts with a single wok to elegant hotel buffets. It is so closely linked with Indonesia that many people abroad consider it the country’s national dish, and every Indonesian you meet will have an opinion about how it should be made.
Ingredients (Serves 2)
For the spice paste
- 4 shallots, peeled
- 3 cloves garlic, peeled
- 2–3 red chillies (or 1 bird’s eye chilli for more heat)
- 1/2 teaspoon terasi (shrimp paste), toasted – optional
For the fried rice
- 3 cups cooked jasmine rice, preferably a day old and chilled
- 2 tablespoons vegetable oil
- 150 g chicken thigh or prawns, cut into small pieces
- 2 tablespoons kecap manis (sweet soy sauce)
- 1 teaspoon light soy sauce or fish sauce
- Salt and white pepper to taste
- 2 spring onions, sliced
To serve
- 2 fried eggs (telur ceplok)
- Fried shallots (bawang goreng)
- Cucumber and tomato slices
- Prawn crackers (krupuk)
- Acar (quick pickled cucumber and carrot) – optional
How to Make Nasi Goreng
- Make the paste. Pound or blend the shallots, garlic, chillies and shrimp paste into a rough paste. A traditional stone mortar (cobek) gives the best texture, but a small blender works well.
- Fry the paste. Heat the oil in a wok over medium heat. Add the paste and stir-fry for 2–3 minutes until fragrant and slightly darker. Do not let it burn.
- Cook the protein. Add the chicken or prawns and stir-fry until just cooked through.
- Add the rice. Turn the heat to high. Add the cold rice, breaking up any clumps, and toss until every grain is coated with the paste.
- Season. Drizzle in the kecap manis and soy or fish sauce. Toss continuously for 2–3 minutes so the rice caramelises slightly and picks up a smoky flavour. Taste and adjust with salt and white pepper.
- Finish. Stir through the spring onions and remove from the heat.
- Serve. Pile onto plates, top each with a fried egg and scatter with fried shallots. Add cucumber, tomato, krupuk and acar on the side.
Tips for the Best Nasi Goreng
- Use cold, day-old rice. Freshly cooked rice is too moist and turns mushy. Chilled rice stays separate and fries better.
- Cook on high heat. A very hot wok creates the slightly charred, smoky taste known as wok hei.
- Don’t overload the pan. Cook in batches if you are making a large amount.
- Balance sweet and salty. Kecap manis brings sweetness; add a little salty soy or fish sauce for balance.
- Toast the shrimp paste. Briefly dry-fry terasi before using it to mellow its strong smell and deepen the flavour.
Common Mistakes to Avoid
The most frequent problem is soggy rice, usually caused by using freshly cooked rice or adding too much sauce at once. Another is burnt paste: if the heat is too high when the shallots and garlic go in, they turn bitter before the rice is added. Finally, avoid adding too many vegetables, which release water and stop the rice from frying properly. Keep it simple, keep the wok hot and season gradually.
Popular Nasi Goreng Variations
- Nasi goreng ayam – with chicken, the most common home-style version.
- Nasi goreng seafood – with prawns, squid and fish balls.
- Nasi goreng kampung – a village style that is spicier, often with anchovies and less sweet soy.
- Nasi goreng pete – with stink beans for a strong, distinctive flavour.
- Vegetarian nasi goreng – with tofu, tempeh and vegetables; skip the shrimp paste and use light soy instead of fish sauce.
Nasi goreng is also one of the classics you will find at night markets across Indonesia. Discover more of them in our guide to Indonesian street food you must try. If you enjoy cooking Indonesian dishes at home, try our beef rendang recipe next for a slow-cooked weekend project.
Frequently Asked Questions
Can I make nasi goreng without kecap manis?
Kecap manis gives nasi goreng its signature taste, so it is worth finding. In a pinch, mix equal parts dark soy sauce and brown sugar or palm sugar, then simmer briefly until syrupy.
What rice is best for nasi goreng?
Long-grain jasmine rice that has been cooked and chilled overnight works best. It stays fluffy and separate when fried.
Is nasi goreng spicy?
It can be as mild or hot as you like. Use fewer chillies or remove the seeds for a mild version, or add bird’s eye chillies and serve with sambal for more heat.
Can I make nasi goreng ahead of time?
It is best eaten fresh, but leftovers keep in the fridge for up to two days. Reheat thoroughly in a hot pan until steaming.
Final Thoughts
This nasi goreng recipe proves that authentic Indonesian food can be quick, affordable and full of flavour. Once you master the basic paste and seasoning, you can make it your own with different proteins and vegetables. Find more easy dishes in our Recipes section, and tell us how yours turned out via our Contact Us page.





