Place the jasmine rice in a large bowl and cover it with cool water. Gently swirl the grains with your fingers, then drain the cloudy water. Repeat two or three times until the water becomes clearer. This removes excess surface starch and helps produce lighter, fluffier rice. Drain thoroughly before cooking.
Lightly bruise the lemongrass stalk with the flat side of a knife to release its fragrance. Cut it into large pieces that can be removed easily after cooking. Prepare the garlic, ginger, kaffir lime leaves, and any optional pandan leaf. Keeping the aromatics in larger pieces allows their flavors to infuse the rice without leaving it overly textured.
Place a medium-sized saucepan with a tight-fitting lid over medium-low heat. Add the vegetable oil or coconut oil. Once warm, add the minced garlic and ginger. Stir for approximately 30–45 seconds until fragrant. Avoid browning the garlic, as it can develop a bitter taste.
Add the drained jasmine rice to the saucepan. Stir gently for about one minute, allowing the grains to become lightly coated in the aromatic oil. This brief step helps distribute the flavors throughout the rice. Be careful not to crush or break the grains while stirring.
Pour in the measured water and add the lemongrass, kaffir lime leaves, pandan leaf if using, and salt. Stir once to distribute the ingredients evenly. Bring the water to a gentle boil, then reduce the heat to its lowest setting.
Cover the saucepan with its lid and cook for approximately 12–15 minutes, or according to the rice package instructions. Avoid lifting the lid repeatedly because the escaping steam can interfere with even cooking. The rice is ready when the liquid has been absorbed and the grains are tender.
Turn off the heat and leave the saucepan covered for another 5–10 minutes. This resting period allows the moisture to distribute evenly throughout the rice, creating a softer and fluffier texture. Remove the lemongrass, lime leaves, and pandan leaf before serving.
Use a fork or rice paddle to gently separate the grains. Add the chopped cilantro, sliced spring onions, and a small squeeze of lime juice if desired. Garnish with Thai basil leaves for an extra layer of fragrance. Serve immediately while warm.