An endoscopy device (1) with an endoscope (2) and a camera control unit (12) is provided. The endoscope (2) has an endoscope shaft (3) and an endoscope head (4), and the endoscope shaft (3) is made of a metallic material. Electronics (8) are arranged in the endoscope head (4) and are connected to an attachment cable (10), and the electronics (8) and the attachment cable (10) are shielded by an electronics shield (14). A galvanic barrier (15) is set up between the electronics shield (14) and the endoscope shaft (3) and couples the endoscope shaft (3) capacitively to the electronics shield (14).