Preheat the oven to 350°F and line cupcake pans with 24 liners.
In a stand mixer, beat the butter, granulated sugar, and vanilla on medium-high until light and fluffy, about 4-5 minutes. Scrape down the sides and add the eggs one at a time, mixing on low.
Add the flour, baking powder, baking soda, and salt. With the mixer on low, pour in the buttermilk and mix until combined.
Scoop the batter into the prepared liners, filling about 3/4 full. Bake for 23-26 minutes, or until a toothpick comes out clean. Let cool completely.