Alofi is the capital of the Pacific Ocean island nation of Niue. With a population of 581 (census of 2006), Alofi has the distinction of being the second smallest national capital city in terms of population (after Ngerulmud, capital of Palau). It consists of the two villages: Alofi North (pop. 147), and Alofi South (pop. 434) where the government headquarters are located.
It is located at the centre of Alofi Bay on the west coast of the island, close to the only break in the coral reef that surrounds Niue. The bay stretches for 30% of the island's length (about seven kilometres) from Halagigie Point in the south to Makapu Point in the north. It is also notable that Alofi contains the world's largest toothbrush fence.
In January 2004, Niue was hit by the fierce tropical storm Cyclone Heta which killed two people and did extensive damage to the entire island. Many of Alofi's buildings were destroyed, including the hospital. Government buildings were shifted to a less exposed site 3 km inland from the west coast, named Fonuakula, after the storm. This site is still within the village boundaries of Alofi South.
Alofi features a tropical rainforest climate under the Köppen climate classification, with no discernible dry season. The city has a noticeably drier stretch from June through September. However, all of these months average more than 60 mm of rain, the limit for a dry season month. Like other cities with this climate, average temperatures remain relatively constant throughout the year, at 25 degrees Celsius.