Officials believe recent heavy rainfall caused runoff, sending pollutants into the water.
Most of the 42 beaches are along rivers and bays in Ocean County.
The Environmental Protection Department on Tuesday closed the Avon Road beach in Pine Beach and the Beachwood Beach West in Beachwood because of bacteria levels.