Rinse rice under cold water and drain well.
Combine onion, butter, and garlic in a medium saucepan. Cook over medium heat to soften, about 3 minutes.
Add rice and cook until it begins to smell toasted and turn slightly golden, about 7-10 minutes.
Remove from the heat and allow to sit covered for 5 minutes.
(Nutrition information provided is an estimate and will vary based on cooking methods and brands of ingredients used.)