How long do coconuts stay good for?
Because each age of coconut is different, it depends. The younger coconuts, poppers - spoonmeat cocos, tend to "go off" the earliest. We try to avoid eating/drinking them after 5-7 days. Older, more mature cocos, like shakers keep much longer, up to a month. While the fully mature brown nuts can stay good for even longer (sailors would fill the bowels of their ships with husked cocos & sail for months).
(http://www.coconutinformation.com/faq)