The territory of the Commonwealth of Massachusetts, one of the fifty United States, was settled in the 17th century by several different English colonies. The territories claimed or administered by these colonies encompassed a much larger area than that of the modern state, and at times included areas that are now within the jurisdiction of other New England states or of the Canadian provinces of New Brunswick and Nova Scotia. Some colonial land claims extended all the way to the Pacific Ocean.

The first permanent settlement was the Plymouth Colony (1620), and the second major settlement was the Massachusetts Bay Colony at Salem in 1629. Settlements that failed or were merged into other colonies included the failed Popham Colony (1607) on the coast of Maine, and the Wessagusset Colony (1622–23) in Weymouth, Massachusetts, whose remnants were folded into the Plymouth Colony. The Plymouth and Massachusetts Bay colonies coexisted until 1686, each electing its own governor annually. Governance of both colonies was dominated by a relatively small group of magistrates, some of whom governed for many years. The Dominion of New England was established in 1686 which covered the territory of those colonies, as well as that of New Hampshire, Connecticut, and Rhode Island. In 1688, it was further extended to include New York and East and West Jersey. The Dominion was extremely unpopular in the colonies, and it was disbanded when its royally appointed governor Sir Edmund Andros was arrested and sent back to England in the wake of the 1688 Glorious Revolution.

List of colonial governors of Massachusetts

After Andros' arrest, each of the colonies reverted to its previous form of governance. King William III, however, reorganized the territory of the Plymouth and Massachusetts Bay colonies into the Province of Massachusetts Bay and appointed Sir William Phips as its royal governor in 1692. The Province of Massachusetts Bay was governed by appointed civilian governors until 1774, when Thomas Hutchinson was replaced by Lieutenant General Thomas Gage amid rising tensions between the Thirteen Colonies and the British Parliament. Gage was the province's last royal governor. He was effectively powerless beyond Boston, and was recalled after the June 1775 Battle of Bunker Hill. By then, the province was already being run de facto by the Massachusetts Provincial Congress; following the adoption of a state constitution in 1779, the newly formed Commonwealth of Massachusetts elected John Hancock as its first governor.

List of colonial governors of Massachusetts

Popham Colony: 1607–1608

The Popham Colony was founded on the coast of Phippsburg, Maine in 1607 as a colonization attempt by the Virginia Company of Plymouth. The colony lasted about one year before being abandoned. One of its principal backers was Sir John Popham; his nephew George Popham was the colony's governor for most of its brief existence. George Popham died in the colony in 1608 and was replaced by Raleigh Gilbert. He and the remaining colonists abandoned it after word arrived that John Popham and Gilbert's older brother Sir John Gilbert had died.

List of colonial governors of Massachusetts

Plymouth Colony: 1620–1686, 1689–1692

The Plymouth Colony originated as a land grant issued by the London Virginia Company to a group of English separatist Puritans who had fled to Holland to avoid religious persecution. Their migration to the New World in 1620 aboard the Mayflower was funded by the Merchant Adventurers, who sent additional settlers to engage in profit-making activities in the colony. The settlers had intended to establish a colony near the mouth of the Hudson River, within the bounds of the London Virginia Company's territory, but weather conditions on their arrival led them to establish it instead on the shores of Cape Cod Bay at Plymouth, Massachusetts. The colonists acquired a land grant from the Plymouth Council for New England in 1621, but its early governance took place under the terms of the Mayflower Compact, a document which the colonists drafted and signed aboard the Mayflower before they landed. In 1630, the colony acquired a formal charter with authority to govern from the Plymouth Council, but it was unsuccessful in attempts to acquire a royal charter that would guarantee its territory against other claimants.