More than a dozen beaches and shellfish beds are closed in Wareham due to sewage in the water.
The state has closed 9 South Shore beaches to swimmers after testing showed elevated bacteria counts in the water due to recent heavy rains.
Some beaches in Chatham are closed to swimmers due to the threat of sharks.
On beaches from Maryland to New Jersey, rip currents and strong swells in the Atlantic Ocean associated with Hurricane Danielle meant another day of swimming restrictions.
Two sailors have spotted a 14-foot great white shark inside a Cape Cod harbor, leading officials to bar swimming at the popular Lighthouse Beach and launch a sea-and-air operation to search for the predator.