During the Middle Ages, mental illness was viewed as religious punishment or demonic possession, leading to stigmatization and poor treatment of the mentally ill. In the 1800s, psychiatric institutions developed but became overcrowded and under-resourced, providing inhumane care. In the mid-20th century, developments in drugs and therapeutic models facilitated deinstitutionalization and the development of community-based mental healthcare with services like community health centers and residential homes. While community mental healthcare has existed traditionally in Africa, there is still a need to better establish these services and address challenges like lack of resources and supervision in places like Malawi to provide more accessible psychiatric support.