Wort can sit for a few hours to a day before pitching yeast, but it's best to keep it below 140°F to prevent bacterial growth.