An endoscope with a flexible circuit board comprises: a base mounting frame, a flexible circuit, a photosensitive element, a plurality of light emitting elements and a camera. The flexible circuit board, the photosensitive element, the light emitting elements and the camera can be mounted on the mounting frame, and then the mounting frame can be assembled in a pipe to form the endoscope, which greatly improves the ease of assembly, and consequently reducing the labor cost required for assembly. Furthermore, the flexibility of the circuit board reduces the volume of the endoscope and improves applicability.