The shooting unfolded around 2 a.m. southeast of the iconic former Parachute Jump Ride tower, a historic landmark. The New York Police Department said no suspects were under arrest.
A large crowd was gathered for a pop-up party on the beachside boardwalk at 21st Street when at least one person pulled a gun and started shooting, police said.
It was not immediately clear what prompted the gunfire.
Two women and three men were shot as revelers ran and dove for cover, police said.