It is better to use unsalted butter for cupcakes to avoid overpowering the taste of other ingredients.