The invention discloses an electric bicycle which comprises a frame assembly, a head handle assembly, a front wheel assembly, a rear wheel assembly, a power assembly, a braking assembly, a cushion assembly and a pedal assembly, wherein the frame assembly comprises a front supporting frame, a rear supporting frame and a lower supporting frame; the lower supporting frame comprises a first supporting frame, a second supporting frame and a folding mechanism; the rear end of the first supporting frame and the front end of the second supporting frame are movably connected through a folding mechanism; rotation of the folding mechanism drives all the frame assemblies to rotate, thus realizing folding and unfolding of the whole frame, and automatically locking the position after folding and unfolding are completed. The electric bicycle is convenient to fold and easy to operate; folding or unfolding of the whole bicycle can be completed by once operation; meanwhile, after being folded, the bicycle is more compact, small in size and light in weight, convenient to carry and draggable; the problems in traveling and storage during last several kilometers between a destination of a user and a public transport are solved, and the problem of complexity in folding and unfolding operation of the existing folding bicycle is solved.