Break up any clumps in the chilled cooked rice using clean fingers or a fork. Cold, day-old rice is ideal because the grains are firmer and less likely to stick together during frying. If cooking fresh rice, spread it in a thin layer on a clean tray, cool it promptly, and refrigerate it before frying. Do not leave cooked rice at room temperature for extended periods.
Peel the garlic cloves and chop them finely. Try to keep the pieces relatively uniform so they cook evenly. Slice the spring onions and prepare any optional chili or toasted coconut. Having everything ready before heating the pan helps prevent the garlic from burning.
Place a large wok or skillet over medium-low heat. Add the coconut oil and allow it to melt and warm gently. Avoid overheating the oil, as garlic can brown very quickly and develop a bitter flavor.
Add the chopped garlic to the warm oil. Stir continuously for approximately 1–2 minutes, until the garlic becomes fragrant and turns pale golden. If you prefer extra-crispy garlic, remove about half with a slotted spoon and set it aside for garnish. Keep a close eye on the garlic because it continues to darken quickly.
Increase the heat to medium and add the chilled rice. Toss and fold it gently through the garlic-infused oil, breaking apart any remaining clumps with a spatula. Continue frying for approximately 3–5 minutes, allowing the rice to heat evenly and absorb the garlic flavor.
For a subtle coconut taste, the coconut oil may be enough. For a richer variation, drizzle in the optional coconut milk a little at a time while stirring. Keep the amount small so the rice does not become wet or mushy. Continue cooking until the liquid has evaporated and the rice is steaming hot throughout.
Add the salt and black pepper. If desired, stir in a small amount of soy sauce for extra savory flavor. Taste and adjust the seasoning. Traditional-style Filipino garlic rice is often kept simple, so avoid adding too many sauces that might overpower the garlic.
Turn off the heat and fold in most of the sliced spring onions. Transfer the rice to a serving bowl and top with the reserved crispy garlic, remaining spring onions, and optional toasted grated coconut. Serve immediately while hot and fragrant.