The invention provides a secondary battery, which comprises an electrode assembly, a packaging bag, an electrode lead and an insulating piece, wherein the electrode assembly is accommodated in the packaging bag, the edge of the packaging bag is provided with a sealing part, and the electrode lead is connected to the electrode assembly and passes through the sealing part. The sealing part includesa main body area, a first step area and a first transition area, wherein the first step area is located on both sides of the electrode lead along the thickness direction, the main body area and the first transition area are located at the same side of the first step area along the width direction, and the first transition area is connected between the first step area and the main body area. The insulating piece separates the sealing part and the electrode lead. The insulating piece includes a first portion, and the first portion is located between the electrode lead and the first step area. The sum of the thickness of the first step area, the first portion and the electrode lead is H1, and the thickness of the main body area is H2, wherein H1>H2. The minimum distance between the electrodelead and the outer surface of the first transition area is D1, and the minimum distance between the electrode lead and the outer surface of the first step area is D2, wherein D1>=D2.