An overview of the standard model Higgs boson analyses and beyond standard model Higgs boson searches will be given. A data sample of proton-proton collisions at s=13 TeV collected with the CMS detector at the LHC is used. The measurements of properties of the Higgs boson in the 4l and γγ decay channels will be presented. The future prospects will be covered.