Kajaani (ca-YAA-nee; Finnish: [ˈkɑjɑːni]), historically known as Cajanaburg (Swedish: Kajana), is a town in Finland and the regional capital of Kainuu. Kajaani is located southeast of Lake Oulu, which drains into the Gulf of Bothnia through the Oulu River. The population of Kajaani is approximately 37,000, while the sub-region has a population of approximately 51,000. It is the 32nd most populous municipality in Finland.
The town was founded in the 17th century, fueled by the growth of the tar industry, but it was preceded by a long history of settlements. During the Great Northern War it succumbed to Russian forces, who ruined Kajaani Castle in 1716. Today, the local economy is mainly driven by the sawmill, lumber, and paper industries, although UPM Kymmene's paper mill, the main employer from 1907 until 2008, has since closed. Kajaani's church was built in 1896 in the Neo-Gothic style by the architect Jac Ahrenberg to replace an earlier church. Kajaani's town theatre was established in 1969.
Kajaani is home to two football clubs, AC Kajaani and Kajaanin Haka, and the ice hockey team Hokki. The Kajaani University of Applied Sciences was established in 1992. Kajaani is also home to LUMI, the "fastest supercomputer in the EU", which is located on the former paper mill site of UPM.