Preheat your oven to 350°F (175°C). Line a muffin tin with cupcake liners.
In a mixing bowl, sift together the all-purpose flour, baking powder, baking soda, cinnamon, nutmeg, ginger, and salt. Set aside.
In another mixing bowl, whisk together the granulated sugar, vegetable oil, eggs, and vanilla extract until well combined.
Gradually add the dry ingredients to the wet ingredients, mixing until just combined.
Fold in the grated carrots and chopped nuts (if using) until evenly distributed throughout the batter.
Fill each cup cake liner about 2/3 full with the carrot cake batter.
Bake in the preheated oven for 20-25 minutes, or until a toothpick inserted into the center of a cake comes out clean.
Once baked, remove the mini carrot cakes from the oven and let them cool in the muffin tin for 5minutes.
Transfer the mini carrot cakes to a wire rack to cool completely.
Once cooled, frost the mini carrot cakes with cream cheese frosting using a piping bag or offset spatula.
Serve and enjoy these adorable and delicious Mini Carrot Cakes as a delightful treat for any occasion!