Knowing how to properly store your hard-boiled eggs is just as important as preparing them, because if not stored right, spoiled eggs can cause food poisoning. Per the FDA, cooked eggs can be stored for up to one week in a refrigerator, and left out after cooking for a maximum of two hours.