Canned mushrooms should last 5 or even 10 years as long as the canned mushrooms remain sealed and not opened.
Once you open the can of mushrooms they will last up to 7 days in the refrigerator.
It's best to store mushrooms in a paper bag and then refrigerate them to help keep them from spoiling.
However you can just put the can of mushrooms in the refrigerator and they will last for at least 7 days.
Raw whole mushrooms will keep for up to 7 days in the refrigerator before they go bad.
You can freeze the mushrooms and they should last a few months but it's best to consume the mushrooms within 7 days for the freshest taste.