Because ricotta cheese is a milk-based product, it does go bad. Unopened ricotta cheese stored in the refrigerator is good for between five and seven days past the sell-by date.
Ricotta cheese, which is a type of cottage cheese, is soft and fresh. Because it is uncured, it is highly perishable. Ricotta cheese's shelf life is determined by factors such as its processing method and exposure to heat. An opened package of ricotta cheese typically remains edible for a similar amount of time as an unopened package in the refrigerator: five to seven days beyond the "best before date." Both opened and unopened packages of ricotta cheese can be stored in the freezer for up to three months.