Key West was known to Spanish sailors as Cayo Hueso ("bone key"), and the island passed to the United States with Florida in 1821. Its deep harbour beside the dangerous Florida Reef made it rich in the 19th century from wrecking — salvaging the cargoes of ships that ran aground — and at one time it was among the wealthiest towns per person in the country. Cigar making, sponging and salt followed, and Cuban exiles made it a centre of the independence movement against Spain.
The Union held Fort Zachary Taylor throughout the Civil War. In 1912 Henry Flagler's Overseas Railroad reached the island; after the 1935 Labor Day hurricane destroyed it, the line was rebuilt as the Overseas Highway (US-1), opened in 1938. Writers came — Ernest Hemingway lived here in the 1930s, Tennessee Williams later — and President Harry S. Truman spent long working holidays at the naval station's "Little White House".
In 1982, after the US Border Patrol set up a roadblock on US-1, the city "seceded" in protest as the tongue-in-cheek Conch Republic, a joke still celebrated every April. Key West's easygoing, "One Human Family" spirit makes it a long-standing LGBTQ+ destination and one of Florida's most visited towns.