Cupcakes are done when a toothpick inserted in the middle comes out mostly clean with just a few moist crumbs. The top of the cupcakes should also be springy to the touch.