Now, you might be wondering what happens if you leave cooked salmon out at room temperature. The two-hour rule is a good guideline to keep in mind - if you've left cooked salmon out for more than two hours, it's best to err on the side of caution and discard it. This is because bacteria can multiply rapidly between 40°F and 140°F (4°C and 60°C), making it a breeding ground for foodborne illness.
A good way to think about it is to imagine a party in your salmon - if you leave it out too long, the bacteria will be having a blast, and you don't want to be the one serving them a free buffet. Keep in mind that this two-hour window is even shorter if the temperature is above 90°F (32°C) - in that case, it's more like a one-hour rule.
How Long Can Cooked Salmon Sit Out? - Optimistic Mommy
So, what can you do to keep your cooked salmon safe and sound? One option is to pack it in a cooler with some ice packs to keep it at a safe temperature. You can also consider using insulated containers or thermal bags to keep your salmon warm or cool for several hours.