Generally, unopened containers of commercial (storebought) coconut yogurt can last anywhere from 1 to 2 weeks in the refrigerator past the "sell-by" or "best-by" date on the packaging. Once opened, coconut yogurt typically remains fresh for 7–10 days when stored in the refrigerator at or below 40°F (4°C). Likewise, homemade coconut yogurt should be consumed within a week. If you notice any signs of spoilage, such as an off smell, mold, or an unusual appearance, it's best to discard the yogurt.