If you store any leftover coconut milk in an airtight container in the fridge, it will stay good for 3-5 days. Discard coconut milk when it starts to spoil. If the color gets darker, smells sour, or starts to curdle, it's time to toss it.