No longer than 5 minutes. 5 minutes gives the muffins enough time to set up completely, but if you leave them any longer than that, the muffins could steam in the muffin tin, causing them to overcook and get tough or soggy.