Freshly grated coconut can last for up to 5-7 days in the fridge if stored in an airtight container. However, it is best to use it as soon as possible for the freshest flavor and texture. On the other hand, dried shredded or grated coconut can last up to six months in the fridge if stored properly in an airtight container.