Dense or dry cupcakes can be caused by overmixing or overbaking. Mix the batter just until combined and keep an eye on baking time to avoid overbaking.