The shelf life of a coconut cake, when stored properly, is typically 3 to 4 days at room temperature. If refrigerated, it can last up to 1 week. To extend its freshness, keep it in an airtight container to prevent it from drying out or absorbing odors from the fridge.