Kajaani was severely affected by famine in 1867-1868 which devastated much of Finland, but the town gradually recovered and by the end of the century had grown to more than 1200 inhabitants.
Kajaani viuse gravemente afectada pola fame de 1867-1868 que devastou gran parte de Finlandia, mais a cidade recuperouse progresivamente e en torno a finais do scull medrara en máis de 1 200 habitantes.