Annabel Taylor and Lisa Larson were lucky enough to capture the encounter off the coast of Ladies Beach on Sunday, July 31. You can practically hear the "Jaws" theme.
Larson told The Boston Globe that there were several swimmers around that scrambled to get out of the water as the shark fin poked out of the water nearby.
“This shark was literally 10 feet from us,” she said.
Hammerhead sharks rarely get this close to the shore, the newspaper said.
There have been several shark sightings along the Massachusetts coast recently. A great white was spotted off the coast of Plum Island on July 25.
Click here to follow Daily Voice Dorchester and receive free news updates.