These savory muffins are a delightful addition to any meal, offering a burst of garlic and onion flavor in every bite.
Preheat your oven to 400°F (200°C) and prepare a muffin tin with paper liners.
Using paper liners makes cleanup easier and prevents sticking.
In a large mixing bowl, combine the flour, baking powder, salt, and sugar.
Whisk the dry ingredients to ensure they are evenly distributed.
In another bowl, whisk together the egg, milk, melted butter, minced garlic, and chopped onion.
Ensure the butter is slightly cooled before mixing to prevent cooking the egg.
Create a well in the center of the dry ingredients and pour in the wet mixture. Gently fold together until just combined.
Do not overmix; the batter should be slightly lumpy for tender muffins.
Spoon the batter into the prepared muffin tin, filling each cup about two-thirds full.
Use an ice cream scoop for even portioning.
Bake in the preheated oven for 20 minutes or until the tops are golden and a toothpick inserted into the center comes out clean.
Rotate the muffin tin halfway through baking for even cooking.
Remove the muffins from the oven and let them cool in the tin for 5 minutes before transferring to a wire rack.
Cooling slightly in the tin helps the muffins set and makes them easier to remove.
Serve the muffins warm or at room temperature as a side dish or snack.
Pair with a dollop of butter or cream cheese for added flavor.