The electronic and optical properties of, Nitrogen (N), Cobalt (Co), and Co-N co-doped monolayers of MoS2 has been studied by using density functional theory (DFT) for visible light photocatalytic activity. From the calculations, it has been observed that the band gap of monolayer MoS2 has been reduced while doping. However, the band gaps of pristine and N doped MoS2 monolayers only falls in the visible region while for Co and Co-N co-doped systems, the band gap shifted to IR region. The optical calculation also confirms the results. The formation energy values of the doped system reaveal that MoS2 monolayer drops its stability while doping. To evaluate the photocatalytic response, band edge potentials of pristine and N-MoS2 are calculated, and the observed results show that compared to N-doped MoS2 monolayer, pure MoS2 is highly suitable for visible light photocatalytic dye degradation.