The money will go to third sector and voluntary organisations running projects to complement those provided by the Welsh NHS and other public sector partners.
Diverse Cymru, Gofal, Hafal, Mind Aberystwyth, Mind Cymru and Sight Cymru are among those to benefit.
The grants will be made available on a three-year basis until March 2018.
The Alzheimer's Society, Bipolar UK, Cruse Bereavement Care, Mental Health Foundation, Samaritans and SPICE Innovations will also get funding.
Mental health projects across Wales are to benefit from £3m of funding from the Welsh government.