Homer is a city in Kenai Peninsula Borough in the U.S. state of Alaska. It is 218 mi (351 km) southwest of Anchorage. According to the 2020 Census, the population is 5,522, up from 5,003 in 2010. Long known as the "Halibut Fishing Capital of the World", Homer is also nicknamed "the end of the road", and more recently, "the cosmic hamlet by the sea". The town has a total area of 25.5 square miles (66 km2), of which 15 square miles (39 km2) are land and 10.5 square miles (27 km2) are covered by water.
Homer is on the shore of Kachemak Bay on the southwest side of the Kenai Peninsula. Its distinguishing feature is the Homer Spit, a narrow 4.5 mi (7.2 km) long gravel bar that extends into the bay, on which is located the Homer Harbor. Much of the coastline, as well as the Homer Spit, sank dramatically during the Good Friday earthquake in March 1964. After the earthquake, very little vegetation was able to survive on the Homer Spit.