The invention provides a solar cell. The solar cell comprises a silicon wafer, a passivated tunnel layer and a doping thin film silicon layer, wherein passivated tunnel layer is arranged between the silicon wafer and the doping thin film silicon layer, the passivated tunnel layer is one of a silicon oxide/silicon oxynitride gradient lamination layer, a silicon oxynitride/silicon nitride gradient lamination layer and a silicon oxide/silicon oxynitride/silicon nitride gradient lamination layer, the silicon oxynitride is nitrogen doping silicon oxide or oxygen doping silicon nitride, and the nitrogen concentration of the silicon oxide/silicon oxynitride gradient lamination layer, the silicon oxynitride/silicon nitride gradient lamination layer and the silicon oxide/silicon oxynitride/silicon nitride gradient lamination layer is gradiently reduced from a part far away from a silicon wafer side to the silicon wafer side. Since the tunnel barriers of silicon nitride and silicon oxynitride are relatively low, the thickness of the passivated tunnel layer can be appropriately widened on the premise of ensuring the tunnel efficiency, thus, the holes of the passivated tunnel layer are favorably reduced, the generation and combination rate of current leakage are reduced, the process window is expanded, and the process stability is improved.