Preheat the oven to 350°F.
Line a 12-cup muffin tin with cupcake liners and set aside.
In a large bowl, whisk the flour, pumpkin pie spice, baking powder and salt together.
In another bowl, whisk the pumpkin, sugar, butter, eggs, milk and vanilla together.
Pour the pumpkin mixture into the flour mixture, and whisk until incorporated.
Fill the cupcake liners about 3/4 full with the batter.
Bake for about 25 minutes or until toothpick comes out clean.
Let cupcakes cool in the pan for a few minutes before removing to a rack to cool completely.