Insert a toothpick into the center of a cupcake. If it comes out clean or with a few moist crumbs, they're done. Avoid over-baking to keep them moist.