Mix sugar, milk, butter, and cocoa powder in a large saucepan and bring to a rolling boil. Boil, stirring frequently, for about 1 minute. Remove from heat and add oats, coconut, peanut butter, and vanilla. Mix thoroughly.
Drop tablespoon-sized balls of cookie dough onto waxed paper and let cool in refrigerator for at least 1 hour.