Marblehead is a town in Essex County, Massachusetts, United States. The population was 20,377 at the 2000 census. It is home to the Marblehead Neck Wildlife Sanctuary. A yachting resort, Marblehead is both the home of the American Navy and a yachting capital of the United States. The U.S. Geological Survey National Mapping Information locates this city at 42° 30' 00" N 070° 51' 30" W.

Marblehead was first settled as a plantation of Salem in 1629 by John Peach Sr., then set off and incorporated in 1639. Originally called Massebequash after the river which ran between it and Salem, the land was inhabited by the Naumkeag Indians under the sachem, Nanepashemet. But epidemics in 1615–1619 and 1633, believed to be smallpox, devastated the tribe. Heirs of Nanepashemet would sell their 3,700 acres (15 km2) on September 16, 1684, the deed preserved today at the town hall.

At times called Marvell Head, Marble Harbour (by Captain John Smith) and Foy (by immigrants from Fowey, Cornwall), the town would be named Marblehead by settlers who mistook its granite ledges for marble. It began as a fishing village with narrow, crooked streets, and grew inland from the harbor. The shoreline smelled of drying fish, typically cod, which were exported abroad and to Salem. The town peaked economically just prior to the Revolution, as locally financed privateering vessels pirated the seas for bounty from large European ships. Much early architecture survives from the era, including the Jeremiah Lee Mansion.

A large percentage of residents became involved early in the fight for American freedom, and the sailors of Marblehead, under General John Glover, are generally recognized by scholars as forerunners of the American Navy. The first vessel commissioned for the navy, the Hannah, was equipped with cannons, rope, provision (including the indigenous "Joe Frogger" molasses/sea water cookie)—and a crew from Marblehead. With their nautical backgrounds, soldiers from Marblehead were instrumental in the escape of the Continental army after the Battle of Long Island, and town tradition holds that Marblehead men ferried George Washington across the Delaware River for his attack on Trenton. Many who set out for war, however, did not return. Indeed, the community lost a substantial portion of its population and economy. After the conflict, fishing would remain important, with 98 vessels (95 of which exceeded 50 tons) putting to sea in 1837. But a gale or hurricane at the Grand Banks of Newfoundland on September 19, 1846 sank 11 vessels and damaged others. With 65 men and boys lost in the storm, the town's fishing industry began a decline.

During the late 1800s, Marblehead experienced a short-term boom from shoe-making factories. At the same time, the exceptional harbor attracted yachting and yacht clubs. It would become home to the Boston Yacht Club, Corinthian Yacht Club, Eastern Yacht Club, Marblehead Yacht Club, Dolphin Yacht Club, and the oldest junior yacht club in America, the Pleon Yacht Club.

After World War II, the town enjoyed a population boom, as a bedroom community for Boston, Lynn and Salem. This boom ended around 1970 when the town became built out.