Prepare the rice (or use leftovers): If using freshly boiled rice rather than leftovers, wash the rice and soak for 10 minutes before boiling, then drain thoroughly and let it cool completely. For the best texture, cook rice a day ahead and refrigerate overnight — day-old rice fries far better than fresh. If you already have leftover cooked 2 cups cooked rice (preferably day-old, basmati or jasmine), skip ahead to the next step.
Fry the garlic for garnish: Heat 1 tablespoons neutral oil — for frying garlic in a pan over medium heat. Add the sliced garlic (2 garlic cloves, thinly sliced — for frying) and fry gently, stirring occasionally, until light golden brown — this takes about 2–3 minutes. Watch closely in the final moments as garlic can go from golden to burnt within seconds. Remove immediately with a slotted spoon and set aside on a paper towel. This crispy garlic is for garnish only — do not mix it into the rice yet.
Build the garlic butter base: In the same pan, add 3 teaspoons unsalted butter and let it melt over medium heat — not high, as butter burns and turns bitter quickly. Add the grated garlic (1 teaspoons garlic, grated — for the base), chopped onion (2 teaspoons onion, finely chopped), and green chilies (1 teaspoons green chilies, finely chopped — optional) if using. Saúte for about 1 minute 01:00, just until fragrant and the onion starts to soften.
Season the base: Season the pan with 1 teaspoons salt, 0.5 teaspoons garlic powder, and 0.5 teaspoons black pepper, freshly ground. Stir to combine. Add 2 tablespoons water or broth — added while saúteing and mix well over high heat — this lifts any flavor stuck to the base of the pan and creates a light coating for the rice to absorb.
Fry the rice on high heat: Add the cooked rice to the pan. Turn the heat to high and stir-fry, tossing frequently so every grain contacts the garlic butter base. This high-heat stage is what gives the rice its proper fried texture — distinct, slightly toasted grains rather than soft, steamed ones. Fry for 2–3 minutes, tossing constantly.
Steam briefly to finish: Cover the pan and let the rice steam over low-medium heat for 5 minutes. This softens the rice slightly and lets the flavors settle through every grain. Do not steam longer than this — over-steaming turns the rice mushy and undoes the texture built in the previous step.
Re-fry briefly and plate: Uncover the pan and fry the rice again briefly over high heat for about 1 minute to firm the texture back up. Transfer to a serving platter.
Garnish and serve: Top the rice generously with the reserved crispy fried garlic and finish with 2 tablespoons fresh coriander (cilantro), chopped — for garnish. Serve immediately while the fried garlic on top is still crisp — garlic butter rice is best eaten fresh off the pan.