Add plenty of water to a bowl of raw rice. Gently stir to wash away the starches. Drain and repeat 2–3 times, until the water runs clear.
Warm up a large pot over medium heat. Once hot, add the onions and oil; cook for 2–3 minutes, or until the onions turn translucent. Add the garlic and cook for about 30 seconds—don’t let it burn. Meanwhile, bring plenty of water to a boil.
Add the rice, hot water, salt, and bay leaves. Give it a quick stir, then cover with a lid.
Cook for 10 minutes, or until the water has evaporated and the rice has absorbed the liquid. Do not uncover the lid during cooking.
Gently stir the rice, taste it, and season according to your liking.
Add no more than ¼ cup of water, then cover again with the lid. Cook for 10 more minutes, or until the rice is fully cooked.