Muffins left in the pan to cool for too long will trap the steam, resulting in a soggy muffin. Only leave the muffins in the pan for a maximum of 5 minutes to cool.