In 2020 there is outbreak of the pandemic COVID 19. Due to the pandemic most of the countries enforced full lockdown. During lockdown the mental health of the common people of all ages are affected. The study aims to investigate the factors which influence the mental health. Mental health is influenced by the various factors. In this research the artificial neural network is used to predict the factors influencing the mental health due to COVID 19 pandemic. Experimental result showed that artificial neural network not only has better accuracy up to 81.5% but also faster training process. Based on these results, the determinant factors of mental health among people are: frustration, fear, sudden change in daily life style, anxiety to perceive changes as a challenge.