Question: how long can you keep cooked food?
Answer: Leftovers can be kept for three to four days in the refrigerator. Be sure to eat them within that time. After that, the risk of food poisoning increases. If you don't think you'll be able to eat leftovers within four days, freeze them immediately.