It depends. Policies differ but most will cover suicide with the caveat that the policy has been in force for a minimum of two years prior to the self-inflicted death. This discourages people from purchasing a policy with the express intent of self harm.