Check them after 20 minutes. A toothpick inserted into the center should come out with only a few crumbs attached. This is how you know the cupcakes are perfectly baked. Remember to adjust your baking time if you use a convection oven.