Nasi goreng served with a fried egg, cucumber, tomato and krupuk
Prep20 min
Cook15 min
Serves2 servings
CuisineIndonesian

Nasi Goreng Recipe: Indonesian Fried Rice with Sweet Soy Sauce and Sambal

How to make nasi goreng: chilled rice stir-fried over high heat, layered with the sweetness of kecap manis and the heat of sambal. Covers Javanese and street-stall regional differences, terasi substitutes, cooling rice safely, cooking without stickiness, and serving with a fried egg and krupuk, so you can decide in a home kitchen.

Total: 35 minLevel: Beginner

Ingredients

Ingredients

1 / 1

Rice and ingredients

Ingredient Amount Cut and substitutes
Cooked white rice 400 g Cooled quickly and refrigerated. Loosen the grains
Chicken thighs 120 g 1 cm dice. You can make it with 150 g firm tofu
Eggs 2 For fried eggs. Cook longer if you want the yolk set
Onion 1/2 5 mm dice. Red onion gives a stronger aroma
Garlic 2 cloves Finely chopped
Red chili 1 Thinly sliced on the diagonal. Omit for less heat
Vegetable oil 2 tbsp Divide between stir-frying and frying the eggs
Cucumber 1/2 Thinly sliced on the diagonal. Served raw, not fried
Tomato 1/2 Cut into wedges
Krupuk to taste Prawn crackers. An optional side for texture
0 / 0

Take the leftover rice from the rice cooker out of the refrigerator and loosen it. The smell of garlic, chili and sweet soy sauce rises, and at the end you break the yolk of a fried egg. Nasi goreng is less a dish of adding more ingredients than a dish of getting the state of the rice and the seasonings in order, one after the other.

But "cold rice" does not mean rice that has been left out at room temperature. Rice that has been cooled safely goes into the pan as dry, separate grains. If you can draw that line, even a home stove can bring sweetness, saltiness, heat and toasty aroma together on one plate.

From Leftover Rice to the Street Stall

Nasi goreng means "fried rice" in Indonesian. Indonesia's tourism board describes it as a dish made from leftover lunch or dinner rice, eaten for breakfast or dinner everywhere from hotels to street stalls. The center of its flavor is a layering of sweetness, saltiness and heat. It also mentions serving it with cucumber and egg.

A street stall cooking nasi goreng in a pan over strong heat
Steam rising from a stall's pan, and the feel of rice being finished in a short time

What is interesting is that starting from "a dish made with leftovers" does not lower the dish's standing. It can be a plate stir-fried to order at a late-night stall, or a breakfast at home. Even if you swap the ingredients for chicken, fish or vegetables, sweet soy sauce and aromatics keep the outline of nasi goreng.

It is hard to fix the origin of its history to a single date. Indonesia's tourism board carries an explanation that the stir-frying technique brought by Chinese immigrants changed to suit the flavors of the islands. Rather than a straight reproduction of Chinese fried rice, it is closer to the real diversity to think of a dish that moved over generations toward local seasonings and tables.

According to a summary of culinary research introduced by Gadjah Mada University in 2021, Indonesia has "at least 104 kinds" of nasi goreng. The same source distinguishes between those whose origins can be traced and those that developed in various places. It is better to read the number 104 not as a fixed official list but as a guide to the breadth of a dish that keeps changing shape across places and homes.

Knowing Regional Differences Sets the Direction of Your Home Plate

For nasi goreng with a place name, the impression changes not only with the ingredients but with heat, aroma and even when it is eaten. Bringing the regional examples introduced by the tourism board down to home cooking gives the following.

Direction How the flavor shows How to approach it at home
Nasi goreng kampung A plain direction built on aromatics and chili Use less kecap manis and fry garlic and onion first
Javanese sweet-spicy flavor The color and gloss of sweet soy sauce come forward The basic of this recipe. Add heat afterward with sambal
Nasi goreng kambing A strongly aromatic street food using lamb or ghee Make it with chicken and add more black pepper for aroma
Surabaya's red fried rice A regional direction that enjoys color and heat Add more chili and keep the red by not overdoing the kecap manis

This table is not a strict classification. The same name changes in formula by shop and household, so for your first plate it is enough to decide to make sweet soy sauce the star and adjust heat afterward.

The order that keeps nasi goreng's flavor intact

First build sweetness and color with kecap manis, then add just a little terasi for the depth of fermented shrimp. Do not fry the sambal in; serve it at the table. In this order, you can make a mild plate for children and a hot plate for adults from the same pan.

If you go on to cook other Southeast Asian rice dishes, compare it with mie goreng, which extends the idea to noodles, and nasi liwet, which cooks rice with coconut and chicken broth, and the "dry grains" and the gloss of seasoning in fried rice become clear.

Ingredients (serves 2)

Nasi goreng ingredients laid out: cold rice, kecap manis, garlic, chili and eggs
The seasonings that set the flavor, and the ingredients cut to size before frying

Seasonings

Seasoning Amount Role
Kecap manis 2 tbsp Sweetness, color, gloss
Dark soy sauce 1 tbsp Saltiness and toasty aroma
Terasi 1/2 tsp Umami of fermented small shrimp. Omit if you dislike it
Sambal oelek from 1 tsp at the table Heat. Do not mix in the full amount at the start
Black pepper a little Outlines the meat and aromatics
Lime 1/4 Sourness for the finish. Optional

Terasi is a seasoning made by fermenting small shrimp with salt, and its aroma is strong. If you have a shrimp or seafood allergy, do not use it, and check the ingredient labels. Fish sauce is not essential. If you use it, keep it to about 1/2 tsp so the aroma of Thai fish sauce does not come too far forward.

Think about the safety of the rice separately from the recipe's "fluffy separate grains." If you store cooked rice, divide it into wide, shallow containers and refrigerate as soon as you can. Food safety authorities advise not leaving rice or leftovers at room temperature for long and keeping cold food at 4°C or below. Even if you have decided to use it, rice left out overnight at room temperature cannot be fixed by frying it.

Buy Kecap Manis or Make Your Own

Kecap manis is an Indonesian seasoning thicker, sweeter and more syrupy than ordinary soy sauce. It sets the color of nasi goreng in one step, so if you do not want to hesitate on flavor from the first time, it is a high priority. If you are only trying this once, though, you can approach it with soy sauce and brown sugar.

If you want a gloss close to the real thing, buy kecap manis. If you are making it only once, or want less sweetness, making it yourself is fine. The points to check when buying: it should be a sweet soy sauce, not tomato ketchup, and note the content, the country of origin and how to store it after opening.

To make your own, put 2 tbsp soy sauce, 1 1/2 tbsp brown sugar or raw cane sugar and 1 tbsp water in a small pot. Reduce over low heat for 2–3 minutes, until the sugar dissolves and the syrup falls in a thin thread from a spoon. It firms up a little when cold, so do not try to reach the same thickness as the bottled product while it is in the pot. Make just one batch, and if some is left over, keep it in a clean container in the refrigerator and use it up soon.

Sambal Is Not a "Heat-Adding Seasoning" but a Way to Split the Flavor at the Table

Sambal oelek is an Indonesian chili sauce centered on red chilies. Put a lot in the pan from the start and you cannot take the heat back. Setting it in a separate dish and adding bite by bite keeps the aroma of the sweet rice.

Buying it makes sense for those who cook spicy dishes several times a month and want to use sambal in stir-fries and grilled meat too. If you dislike heat, or are trying a single portion, you can build the skeleton of the dish with a little fresh red chili, or skip it. When buying, check the content, ingredients, country of origin and how to store it after opening.

Before Buying a New Pan

For two servings an ordinary frying pan works. But if you want room to spread the rice and drive off moisture, and you will stir-fry often over a gas flame, a 33 cm carbon-steel wok is a candidate. For people using induction, those who do not want extra pan maintenance, and those making it just once, I do not recommend an extra purchase. Check that a wok fits your heat source, since some pans do not work on induction.

Method: Raise the Aroma, Then Add the Rice

STEP 1: Prepare the rice and ingredients (10 min)

Move the refrigerated rice to a bowl and loosen only the big clumps with a rice paddle. It is fine cold, but do not leave it out of the refrigerator at room temperature for long. Cut the chicken into 1 cm dice, the onion into 5 mm dice, finely chop the garlic and slice the chili thinly on the diagonal. Measure the seasonings into small dishes.

Preparing ingredients and seasonings before making nasi goreng
Cut the ingredients to size and set the seasonings within reach before frying

If you have no cold rice, spread freshly cooked rice thin to let steam escape and, when it has cooled down, refrigerate it in a shallow container. Putting it suddenly in the freezer to dry only the surface is not a substitute for safely cooling hot rice. Do not confuse cooling rice with leaving it at room temperature.

STEP 2: Stir-fry the aromatics and chicken (4 min)

Preheat a wok or a frying pan of 26 cm or larger over medium to high heat. Heat an iron pan until it shimmers slightly when oil goes in; do not heat a coated pan empty. Add 1 tbsp oil and stir-fry the garlic, onion and chili for 30 seconds. When the corners of the onion turn a little translucent and the garlic smells fragrant, add the chicken.

Stir-fry the chicken for 2–3 minutes, turning, and cook it through to the center, not just the surface. If the meat releases moisture that collects on the bottom, raise the heat one notch, push the ingredients to one side of the pan and drive off the moisture. If you use terasi, add it here and fry for 20–30 seconds to round out its aroma.

Stir-frying nasi goreng aromatics in oil
Fry garlic and onion in oil, and add the meat once the aroma rises

STEP 3: Stir-fry the rice and seasonings (5 min)

Push the chicken and aromatics to one side of the pan and put the rice in the space. Do not press it with the spatula; turn it in a cutting motion to loosen the clumps. When the grains are loosened and the moisture on the bottom of the pan is gone, pour the kecap manis and soy sauce around the edge of the pan.

Stir-fry for 1–2 minutes, until the seasoning is evenly coated on the rice. Once, spread it out for about 30 seconds to brown, and when the grains on the bottom are dry and toasty, turn it. Kecap manis contains sugar and scorches easily, so keep everything moving before it turns black and hard.

Adding kecap manis to the nasi goreng
Add the sweet soy sauce around the edge of the pan and glaze the grains of rice

The cue for done is rice that is dark brown with no liquid pooled on the surface. When pressed with the paddle the grains spring back, and bitten, the outside is toasty and the center is not too firm. If the saltiness is lacking after tasting, add soy sauce 1/2 tsp at a time. Do not mix in a lot of sambal at this point.

STEP 4: Fry the eggs (3–4 min)

Put the remaining oil in another frying pan and crack in 2 eggs over medium heat. When the edges of the white bubble and the white is set to the center, lower the heat. For a runny yolk, do not cover, and turn off the heat once the white has set. If you want it set through to the center, cover and extend by 1–2 minutes.

Frying the egg to serve with nasi goreng
Fry the edges of the white until toasty and adjust how firm the yolk is to your taste

People who want to avoid raw or runny eggs, and anyone who needs to be careful about food poisoning risk such as children and older adults, should cook the yolk through. If you used the pan for eggs on raw-meat preparation, wash it before using it for plating.

STEP 5: Plate (2 min)

Divide the nasi goreng between 2 plates and top with the fried eggs. Put the cucumber and tomato on one side and add the krupuk. Plate within 2 minutes of turning off the heat. It is done if, once on the plate, the surface of the rice grains is dry and the gloss is even. Put the sambal in a separate dish starting at 1 tsp, and squeeze the lime, if using, just before eating.

Nasi goreng plated with tomato and lettuce
A plating example with raw vegetables beside the nasi goreng to vary the texture

Make a Little Sambal Terasi

You can simply add heat with store-bought sambal oelek. When you want the aroma of terasi, fry a small amount and serve it alongside. Sambal is not the name of one fixed sauce but a large category with chili as the base, where ingredients change by region and household. Here it is a strong side that goes well with nasi goreng.

Sambal terasi made in a mortar, the vivid color of red chili and shrimp paste
Sambal terasi made by pounding chili and terasi together

Ingredients (serves 2–3)

Ingredient Amount
Red chili 3
Garlic 1 clove
Onion 1/4
Terasi 1/2 tsp
Sugar 1 tsp
Lime juice 1 tsp
Salt a pinch
Oil 1 tbsp

Method

  1. Coarsely chop the chilies, garlic and onion.
  2. Heat the oil in a frying pan over medium heat and fry the terasi for 20–30 seconds.
  3. Add the chopped ingredients and stir-fry over medium-low heat for 5–7 minutes.
  4. Turn off the heat and mix in the sugar, lime juice and salt. When it has cooled a little, taste and adjust.

Do not make a large batch and leave it at room temperature; once cool, put it in a clean container and refrigerate. Rather than extending the storage period, it is easier to make only the amount needed for 2 servings of nasi goreng and use it up soon. Because it contains terasi, check the labeling for shrimp and seafood allergens.

Fixing Stickiness, Scorching and Weak Flavor

What happened First place to look Next move
Rice is sticky Insufficient cooling, moisture in the pan, too much sauce Spread the rice to drive off moisture and stop adding seasoning. Do not reuse rice that was left at room temperature by frying it
Flavor is sweet and heavy Added too much kecap manis first Add a little unsalted rice or fried ingredients and add lime a drop at a time
Weak aroma Garlic under-cooked, terasi omitted Add sambal at the table, and next time use 1/2 tsp terasi
Too hot Increased the chili and sambal at the same time Serve with a fried egg, cucumber and unsalted rice to divide the heat bite by bite
Bottom of the pan goes black and hard Did not move the sugar of the kecap manis Do not stir the burnt part in; finish the rest in another pan. Do not use fully charred parts

You cannot judge the safety of rice by its smell or look alone. Rice left at room temperature for a long time may not be fixed by reheating. If you are unsure about its storage, discard it rather than adjusting the flavor.

What to Keep in a Home Kitchen and What You May Change

Local element Choice elsewhere What changes
Kecap manis Store-bought, or soy sauce + brown sugar Store-bought gives color and body quickly. Homemade lets you adjust sweetness
Terasi Fermented shrimp paste, a little anchovy, or omit Leaving it out reduces seafood depth, but it still works as sweet-savory fried rice
Bird's eye chili Red chili, sliced chili The onset of heat is gentler
Krupuk Prawn crackers, fried rice crackers, or omit Adds a light texture outside the rice
Short-grain rice Chill well and loosen the grains It does not become as dry-grained as long-grain rice, but with less seasoning it is less likely to get heavy

Substitutes are used not to get "the same taste" but to reduce causes of failure in a home kitchen. Kecap manis alone is worth buying because it makes the direction of flavor easy to set at once. Terasi and krupuk can be omitted at first and added the next time you make it.

Frequently Asked Questions

I only have freshly cooked rice

Spread it thin to let the steam go and, when it has cooled down, refrigerate it in a shallow container. If you cannot wait for the grains to firm up in the refrigerator, reduce the ingredients, use less sauce and fry one serving at a time. Avoid leaving it for a long time at room temperature to cool it.

Can I substitute soy sauce alone for kecap manis?

You can make it, but the sweet thickness and dark color are weaker. A homemade syrup reduced from 2 tbsp soy sauce, 1 1/2 tbsp brown sugar and 1 tbsp water can supply the axis of flavor. It scorches easily, so do not thicken it too much before it cools.

I'm worried about the smell of terasi

Even 1/2 tsp gives aroma. Frying it in oil for 20–30 seconds before combining with the rice rounds off the sharp smell. If you need to avoid seafood, leave it out and adjust with a little soy sauce and sambal at a time.

Do I mix in all the sambal oelek?

At first, put 1 tsp in a separate dish. Add it after you have eaten some of the sweet rice and you can feel the change in heat and aroma. When family members differ in heat tolerance, not mixing it into the pan makes it easier to serve each person differently.

Can I use a wok on induction?

Check that a wok suits your stove; some iron woks are not compatible with induction. With induction, use a flat-bottomed compatible frying pan and avoid tilting the pan to heat locally. Before buying a pan, check the heat-source labeling at home.

Can I store leftover nasi goreng?

Divide what you made while hot, cool it in shallow containers and refrigerate soon. Do not store what has sat at room temperature for a long time. When reheating, heat all the way through and warm only the amount you will eat.

Summary

What sets the flavor of nasi goreng is three things in order, more than fancy ingredients.

  1. Loosen safely cooled rice before frying
  2. Fry garlic, onion, chili and meat first, and add kecap manis and soy sauce after the rice is dry
  3. Do not fix sambal in the pan; add heat at the table

If you will make it repeatedly, the first thing worth buying is kecap manis. If you cook other spicy dishes, sambal follows. A 33 cm iron wok helps with room in the pan for people who stir-fry often over gas, but for induction users or those making it once, the frying pan you have is enough.

With the yolk of a fried egg, the coolness of cucumber and the light sound of krupuk, the same fried rice turns into a table that feels like a street-stall plate. Next, see how it differs when the same sweet soy sauce coats noodles, in mie goreng.

A table of nasi goreng with a fried egg, krupuk and sambal
Nasi goreng with fried egg and krupuk. Sweet-savory rice, heat and light texture divided within one plate

Sources