Preheat oven to 350° Fahrenheit. Line a muffin pan with cupcake liners.
Combine flour, baking powder, salt, cinnamon, and nutmeg. Set the flour mixture aside.
Cream sugar and butter together in a large bowl until smooth. Add eggs, milk, and vanilla extract and beat until the ingredients are homogenous and the eggs are fully incorporated.
Add the flour mixture to the butter mixture and whisk until no dry clumps of flour remain.
Fold shredded carrots into the cupcake batter. Try to make sure that they are evenly distributed throughout the batter.
Fill prepared muffin tins ⅔ full with cupcake batter.
Bake for 20-24 minutes or until a toothpick inserted in the center comes out clean.
Allow cupcakes to cool completely before icing, about 15 minutes.
Video
Notes
Nutrition information is for 1 cupcake without icing/frosting.