Hard-boiled eggs in the shell that have been properly cooled before storing will keep for up to one week in the refrigerator. Discard the eggs if the shells discolor, feel dry or slimy, or develop powdery spots of mold. Fresh eggs will keep for about three weeks in the fridge after you buy them.