Cooked shrimp lasts 3 to 4 days in the refrigerator, stored in an airtight container at 40°F or below, per USDA guidance. Past that window, the USDA's own advice is direct: throw it out, even if it still looks and smells fine.
That last part trips people up more than the day count itself. Shrimp doesn't always announce that it's gone bad the way some foods do, which is exactly why the 3 to 4 day guideline exists as a hard cutoff rather than a "use your judgment" suggestion.
The actual numbers: raw versus cooked
Raw shrimp and cooked shrimp don't have the same shelf life, and mixing the two up is a common source of confusion. Raw shrimp holds for about 1 to 2 days in the refrigerator before quality and safety both start to decline. Cooking extends that window: properly cooked shrimp, refrigerated promptly and stored correctly, holds for 3 to 4 days.
Freezing changes the picture considerably for both. Raw shrimp can be frozen for several months without a significant safety concern, and cooked shrimp freezes well too, generally for a few months, well beyond either refrigerator window. If you know shrimp won't be eaten within its refrigerator window, freezing it before that window closes is the better move rather than letting it sit and hoping the timeline stretches.
Why the 2-hour rule matters before the fridge clock even starts
The 3 to 4 day count only holds if shrimp gets refrigerated promptly after cooking. Cooked food, shrimp included, shouldn't sit at room temperature for more than 2 hours, or more than 1 hour if the surrounding temperature is above 90°F, which covers most outdoor eating in warm weather. Bacteria multiply fastest in that window, and shrimp left out longer than that should be treated as a food-safety risk regardless of how much time is technically left on its refrigerator countdown.
This is part of why shrimp served at a buffet, a party, or an outdoor event needs closer attention than shrimp eaten straight from the stove. If it's been sitting out for a while before you even get to it, the safest move is treating that time as already spent against the 2-hour limit, not resetting the clock once it finally goes in the fridge.
What actually happens if cooked shrimp goes bad
Spoiled cooked shrimp usually develops a strong, unpleasant smell, often described as ammonia-like or sour, along with a slimy texture and a dull, grayish appearance rather than its normal color. Any of those signs on their own is reason enough to throw it out.
The harder problem is that some of the bacteria responsible for shrimp-related foodborne illness, including Vibrio species, don't reliably produce a detectable smell or visible change before they've reached unsafe levels. This is the specific reason the USDA's guidance is a flat day count rather than "use your senses to check." Shrimp that smells and looks completely normal on day 5 isn't necessarily safe just because nothing seems off.
Storing cooked shrimp the right way
An airtight container is the simplest way to extend cooked shrimp's quality within its safe window, since exposure to air dries it out and speeds up both spoilage and texture loss. Storing it toward the back of the refrigerator, where temperature is more consistent than near the door, also helps keep it reliably at or below 40°F rather than fluctuating with every time the door opens.
Labeling the container with the date it was cooked is a small habit that removes the guesswork later. Three or four days from a specific date is easy to lose track of without it, especially if the shrimp was part of a larger meal and leftovers get pushed to the back of the fridge.
Shrimp cocktail and sauce stored together
Shrimp served with cocktail sauce presents a slightly different storage question than plain shrimp, since the sauce and shrimp age at somewhat different rates. Cocktail sauce, largely ketchup-based, generally holds up longer on its own than the shrimp does, which means the shrimp itself remains the limiting factor for the dish as a whole even when served together.
Storing the shrimp and sauce separately, rather than leaving them combined in one container, is a reasonable approach if you want to track each component's freshness independently, though it doesn't change the underlying 3 to 4 day window that governs the shrimp specifically.
Repurposing leftover shrimp into something new
Within the safe storage window, leftover shrimp works well folded into a pasta dish, tossed into a salad, or added to a quick stir-fry, all of which can help stretch a batch of leftovers into a genuinely different meal rather than reheating the same preparation twice. This is particularly useful for shrimp that came from a preparation like scampi or a fried dish, where a second reheat as a standalone dish can leave the texture noticeably worse than incorporating it into something new.
As with any repurposed leftover, this doesn't extend the shrimp's actual safe window; it's simply a way to get more variety out of it before that 3 to 4 day window closes.
When you're not sure it's still good
If cooked shrimp is at or past the 4-day mark, the USDA's guidance is clear enough to act on without needing a smell test: it should be discarded. If it's within the window but something about it seems off, trusting that instinct is reasonable even if the exact number of days hasn't been reached yet, since storage conditions (a refrigerator running warmer than it should, a container that wasn't fully sealed) can shorten the safe window in practice.
If you're planning to reuse leftover shrimp from something like the Endless Shrimp deal or a Seaside Shrimp Trio order, getting it into the refrigerator quickly and eating it within the 3 to 4 day window is the same guidance that applies to any cooked shrimp, restaurant leftovers included. For the separate question of how to tell shrimp is properly cooked in the first place, our guide to reading shrimp doneness covers the color, shape, and texture cues, and the internal temperature guide covers the confirmed safe number.
Shell-on versus peeled shrimp storage
Whether cooked shrimp is stored with the shell on or already peeled has a modest effect on how well it holds up within the standard 3 to 4 day window, since the shell provides a partial physical barrier against air exposure that peeled shrimp doesn't have. Shell-on cooked shrimp tends to retain moisture and texture a bit better over the storage window than shrimp that's already been fully peeled and deveined, since more of the meat's surface stays protected from direct air contact in the refrigerator.
This isn't a large enough difference to change the underlying 3 to 4 day safety guidance, which applies the same way to both, but it's a reasonable factor to keep in mind if choosing whether to peel shrimp immediately after cooking or wait until closer to when it will actually be eaten, particularly for shrimp that might sit toward the later end of its storage window before being used.
Cooked shrimp in a prepared salad or dip
Shrimp incorporated into a mayonnaise-based shrimp salad or a chilled dip follows a shorter, more cautious storage window than plain cooked shrimp alone, since the mayonnaise or dairy-based component introduces the same perishability considerations covered for other dairy-and-seafood combinations elsewhere on this site. A shrimp salad built on mayonnaise generally holds for closer to 3 days rather than the full 4, leaning conservative given the combination of two individually perishable ingredients rather than treating it identically to plain shrimp's own storage window.
This distinction is worth knowing specifically because a prepared shrimp salad often looks and is treated like a simple extension of the shrimp itself, when in practice the added mayonnaise or dairy shortens the realistic safe window below what plain cooked shrimp alone would allow, similar to the same reasoning that governs a cream-based soup's shorter shelf life compared to a broth-based one.
Restaurant shrimp leftovers and the uncertainty they carry
Cooked shrimp brought home as restaurant leftovers carries the same general uncertainty covered for other restaurant-prepared seafood on this site: while the shrimp itself should have been handled according to proper food-safety practices in a professional kitchen, exactly how long it sat before being served, and how much of the 2-hour room-temperature window it may have already used up during service, isn't something a diner can verify directly. Treating restaurant shrimp leftovers with the same prompt-refrigeration habit covered throughout this guide, and leaning toward the earlier end of the 3 to 4 day window rather than the full 4 days, is a reasonable practical adjustment given that added uncertainty.
This matters most for shrimp from a dish like an all-you-can-eat deal, where multiple rounds of shrimp may have been prepared and held at different points throughout a longer meal, making it harder to know precisely which batch a given leftover piece actually came from.
Distinguishing genuine spoilage from a naturally strong shrimp smell
Shrimp, even when perfectly fresh and safely within its storage window, carries a distinctly briny, oceanic smell that some people find stronger than other seafood, which can occasionally create uncertainty about whether a particular batch smells "off" or simply smells like shrimp normally does. The genuine spoilage smell covered throughout this guide, sharp, ammonia-like, or distinctly sour, is a different, more unpleasant quality than shrimp's normal brininess, though the distinction can be subtle for someone less experienced in judging seafood freshness by smell alone.
When genuinely uncertain whether a smell reflects normal shrimp character or actual spoilage, checking the other signs covered throughout this guide together, texture, color, and how many days have elapsed since cooking, rather than relying on smell in isolation, gives a more complete picture than any single sense alone.
Portioning shrimp for easier future use
Dividing a larger batch of cooked shrimp into smaller, meal-sized portions before refrigerating makes it easier to use exactly what's needed for a given meal without repeatedly exposing the entire remaining batch to room air and temperature fluctuation each time the container is opened. This is a similar principle to the portioning guidance covered for other cooked proteins and meal-prepped dishes on this site, and it applies just as usefully to shrimp specifically, given how quickly it can lose texture once fully exposed to air over multiple openings of the same large container.
For shrimp destined for freezing rather than short-term refrigeration, portioning before freezing serves the same double purpose covered elsewhere: faster, more even freezing, and the ability to thaw only what's needed rather than defrosting an entire large batch for a single meal.
The short version: 3 to 4 days refrigerated, cooked and cooled promptly, in a sealed container at 40°F or below. Past that, USDA guidance says to let it go, regardless of how it looks or smells.