Few accounts exist of programmes in low- and middle-income countries seeking to strengthen community knowledge and skills in mental health. This case study uses a realist lens to explore how a mental health project in a context with few mental health services, strengthened community mental health competence by increasing community knowledge, creating safer social spaces and engaging partnerships for action.