An endoscope with adjustable viewing angle includes a pivotable prism (to divert light that can pivot around a pivot axis to adjust the viewing angle and a fixed prism to divert light that is diverted by the pivotable prism into a direction parallel to the longitudinal axis of the endoscope, such that at least either a light outlet surface of the pivotable prism is positioned in a recess of the fixed prism or a light inlet surface of the fixed prism is positioned in a recess of the pivotable prism.