The ideal time is 5 minutes after you have removed them from the oven as it not only lets them cool but also allows them to rest and pull away from the sides of the pan.