The Clatsop and Nehalem (Tillamook) peoples lived along this coast, fishing, gathering shellfish and travelling by canoe. In January 1806 William Clark of the Lewis and Clark Expedition crossed the headland from Fort Clatsop with a small group — including Sacagawea — to see a beached whale and buy blubber from the Tillamook people at the creek he named Ecola ("whale").
In 1846 a cannon from the US Navy schooner Shark, wrecked at the mouth of the Columbia River, washed ashore nearby; it gave the town its name. Offshore, Tillamook Rock Lighthouse was built on a rock in the sea in 1881, a notoriously hard posting nicknamed "Terrible Tilly".
Cannon Beach grew as a quiet resort and, from the mid-20th century, an artists' colony. Thanks to Oregon's 1967 Beach Bill, the whole state's ocean shore is public land.