Sri Lankan Yellow Rice Paste: A Fragrant Spice Base

Updated November 3, 2026

Total time
27 min
prep 15 min · cook 12 min
Serves
8
portions as written

Jump to recipe

Sri Lankan Yellow Rice Paste: A Fragrant Spice Base

Sri Lankan yellow rice paste is a quick-cooked blend of onion, ginger, garlic, curry leaves and toasted spices, made to season a pot of rice. It is a convenient, concentrated flavor base inspired by Sri Lankan yellow rice, with regional and family recipes varying in their use of pandan, coconut milk and whole spices.

Ingredients

  • 1 teaspoon coriander seeds (2 g)
  • 1/2 teaspoon cumin seeds (1 g)
  • 1/2 teaspoon fennel seeds (1 g)
  • 1 small piece Ceylon cinnamon, about 1 1/2 inches (4 cm; 1 g)
  • 2 green cardamom pods (0.5 g), lightly cracked
  • 1 whole clove (0.2 g)
  • 1/2 small yellow onion, roughly chopped (about 75 g)
  • 2 garlic cloves, peeled (about 6 g)
  • 1 teaspoon finely chopped fresh ginger (5 g)
  • 1 small green chile, stem removed (about 5 g; remove the seeds for less heat)
  • 6 fresh curry leaves (about 1 g), plus 1 extra for the pan if desired
  • 1/4 teaspoon ground turmeric (about 0.5 g)
  • 1/4 teaspoon fine salt (about 1.5 g)
  • 1 tablespoon water (15 ml), plus up to 1 tablespoon (15 ml) more if needed for blending
  • 1 tablespoon coconut oil or neutral cooking oil (15 ml)
  • 1 small piece pandan leaf, about 3 inches (8 cm), tied in a loose knot (optional)

Instructions

  1. Toast the whole spices. Put the coriander, cumin and fennel seeds, cinnamon, cracked cardamom and clove in a small dry skillet over medium-low heat. Toast for about 2 minutes, stirring or shaking the pan often, until the seeds smell fragrant. Do not let them darken significantly or smoke; burnt spices can make the paste bitter. Tip the spices onto a plate and let them cool briefly.
  2. Grind and blend. Grind the toasted spices to a fine powder with a spice grinder or mortar and pestle, removing any tough cinnamon pieces that do not break down. Add the powder to a small food processor or blender with the onion, garlic, ginger, chile, curry leaves, turmeric, salt and 1 tablespoon water. Blend, scraping down the sides as needed, until you have a thick, mostly smooth paste. Add the extra water a teaspoon at a time only if the blades cannot move the mixture; too much water makes the paste take longer to fry.
  3. Cook the paste. Warm the coconut oil in a small saucepan or skillet over medium-low heat. Add the paste and the knotted pandan leaf, if using. Stir continuously for the first minute, then cook for 8 to 10 minutes, stirring frequently and scraping the bottom and corners. Lower the heat if it catches. The paste is ready when it has darkened slightly, smells mellow and aromatic rather than raw, and no longer looks watery. It may release a little oil around the edges, but it does not need to become deeply browned.
  4. Finish and use. Remove the pandan leaf if you used it, then take the pan off the heat. Taste a small amount after it cools; add a pinch of salt only if needed. The batch makes about 1/3 cup, enough to season a pot made with 2 cups (370 g) of uncooked long-grain rice for roughly 6 to 8 servings. Stir the paste into the rice with the cooking fat before adding the rice’s measured liquid. If you are making the rice later, cool and store the paste as directed below.

Tips

  • Keep the heat gentle. The small quantity of onion and ground spices can scorch quickly. Medium-low heat and regular stirring help the onion soften and the raw garlic and ginger flavors mellow without turning the spices bitter. If the mixture sticks, lower the heat and stir in a teaspoon of water rather than adding a large splash.
  • Choose a sensible spice substitute. Ceylon cinnamon has a delicate, sweet aroma; cassia cinnamon works if that is what you have, but its flavor is stronger, so use a small piece. Curry leaves contribute a distinct citrusy, herbal note. If you cannot find fresh ones, omit them or use a small pinch of dried curry leaves; curry powder is not a direct replacement and will make the paste taste more like a generic curry seasoning.
  • Adjust chile and salt for the whole meal. Chile heat varies, so start with one mild chile or use half of a hot one. The paste is concentrated, and rice may also be seasoned with salted stock or other accompaniments. Keep the paste lightly salted if you are unsure how the final dish will be served.
  • Blend only as smooth as your equipment allows. A small food processor may leave tiny onion or leaf flecks, which is fine. For a smoother paste, chop the onion and leaves very finely first and use a mortar and pestle for the toasted spices. Avoid adding lots of water just to get a perfectly smooth texture.

Serving Suggestions

Use the paste as a seasoning base for Sri Lankan-style yellow rice. For 2 cups (370 g) of rinsed long-grain rice, warm 1 tablespoon (14 g) ghee or coconut oil in a pot, stir in the full paste batch for about 30 seconds, then add the rice and stir to coat. Add the cooking liquid required by your rice and pot; a common starting point for plain long-grain rice is 3 cups (710 ml) total liquid, with some or all of it replaced by coconut milk. Bring to a simmer, cover and cook according to the rice package or your usual method. Rest the covered rice for 10 minutes, then fluff gently. Rice varieties and pots absorb liquid differently, so follow the package’s ratio if it differs.

Serve the rice with dhal, vegetable curries, devilled vegetables, fried onions or a fresh sambol for contrast. It also makes a fragrant side for roasted vegetables or grilled fish. For a festive table, scatter the finished rice with toasted cashews, raisins or sliced spring onion. Those garnishes are serving ideas, not ingredients in the paste itself; add them to the cooked rice so their texture and flavor remain distinct.

Variations

More coconut aroma: Use coconut oil to cook the paste and add coconut milk when cooking the rice, rather than blending coconut milk into the paste. This keeps the paste concentrated and easier to store. If you want a richer rice dish, replace part of the water with coconut milk, keeping the total liquid appropriate for your rice.

More herbal character: Pandan is a fragrant leaf used in some Sri Lankan cooking, but it can be difficult to find. It is optional here and is simmered with the paste for aroma, then removed. If unavailable, leave it out; a strip of lemongrass can add a fresh citrus note, but it will taste different and should also be removed before storing or serving.

Gentler or warmer spice: Leave out the green chile for a mild paste, or add a second chile if you prefer more heat. For a warmer, more rounded flavor, add a small pinch of ground black pepper. Keep the turmeric modest: it gives the rice its yellow color, while too much can taste dusty and dominate the more delicate spices.

Fresh-spice shortcut: If you have no whole spices, substitute 1/2 teaspoon ground coriander, 1/4 teaspoon ground cumin and a small pinch each of ground fennel, cinnamon, cardamom and clove. Skip to blending rather than toasting them, since fine powders can burn quickly. The result will be less bright and fragrant than a paste made from freshly toasted whole spices, but it is still useful for a weeknight pot of rice.

Storage and Reheating

Transfer the cooked paste to a clean, shallow container and refrigerate it within 2 hours of cooking. Keep it covered and use it within 3 to 4 days. For longer storage, freeze it in tablespoon-sized portions in a freezer-safe container or tray; use within about 2 months for the best flavor. Once the portions are firm, you can move them to a labeled freezer bag. Thaw only the amount you need in the refrigerator, or add a frozen portion directly to warm cooking oil and cook until it is fully hot.

Reheat only the portion you plan to use, stirring it in a small pan until it is steaming hot; for a precise safety check, leftovers should reach 165°F (74°C). Do not leave the paste at room temperature for extended periods, and discard it if it has been unrefrigerated for more than 2 hours. If you have mixed the paste into cooked rice, refrigerate the rice promptly in a shallow container and use it within 3 to 4 days; reheat rice until it reaches 165°F (74°C), stirring so it heats evenly.

Frequently Asked Questions

Is Sri Lankan yellow rice paste a traditional standalone condiment?
This recipe is a convenient cooked seasoning paste, not a claim that there is one standard Sri Lankan paste used everywhere. Yellow rice recipes vary by household and region. Some season the rice directly with turmeric, aromatics, leaves and whole spices rather than making a blended paste in advance.

Can I make the paste without a blender?
Yes. Chop the onion, garlic, ginger, chile and curry leaves as finely as you can, then crush the toasted spices with a mortar and pestle. Stir everything together with the water and cook as directed. The texture will be more rustic, but small pieces soften as the paste cooks and seasons the rice.

Can I use this paste with brown rice or another rice variety?
Yes, but use the liquid amount and cooking time recommended for that rice. Brown rice usually needs more liquid and a longer simmer than white long-grain rice. Cook the paste with the rice briefly before adding liquid, and avoid extending the paste’s frying time just because the rice itself takes longer.

Why does my paste taste bitter?
The most common cause is overheated spices or paste. Toast whole spices only until fragrant, and cook the blended mixture over medium-low heat, stirring often. If the paste has blackened or smells acrid, it is better to start again; adding extra coconut milk or sugar will not reliably remove a burnt flavor.

Can I leave out the curry leaves or pandan?
Yes. Curry leaves are more central to the herbal aroma of this version, but the paste will still work without them. Pandan is optional and can simply be omitted if you cannot find it. Neither ingredient needs a complicated substitute, and leaving one out is preferable to adding a flavor you do not enjoy.

Can I add coconut milk directly to the paste?
It is better to add coconut milk when you cook the rice. A wet, coconut-rich paste is harder to fry down and has a shorter, less convenient storage life. Keeping this paste concentrated lets you choose the amount of coconut milk and liquid to suit the rice and the meal.

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).