Device for navigating an endoscopy capsule in a patient, comprising an endoscopy capsule with a camera, a magnetic coil system for contactlessly exerting force on the endoscopy capsule and a control and evaluation unit, wherein a program for carrying out the following steps is implemented in the control and evaluation unit, in which: - a first image of an object inside the patient is acquired with the aid of the camera, wherein a re-identifiable structure feature of the object is identified in the image, - images (22b,c) of the inside of the patient are automatically acquired continuously, wherein for each image (22b,c): - the endoscopy capsule is controlled automatically, so that the position of the structure feature in the image (22b,c) remains unchanged while the image scale is increased or reduced in size by the distance of the endoscopy capsule relative to the structural feature being increased or reduced in size, characterised in that - distances (d a-c) between the structure feature and an edge of the first image are automatically determined in at least two predefinable directions (26a-c) leading from the structure feature to the edge of the image, and a first relationship (V 11,12) of the distances (d a-c) relative to one another, wherein for each image of the continuous images: - the structure feature is sought, the current distances (d a-c) in the predetermined directions (26a-c) are determined and their current relationship (V 21-32) relative to one another is determined, - if the current relationship (V 21-32) deviates from the first relationship (V 11,12), the position of the endoscopy capsule is automatically corrected in one direction, so that the relationship (V 21-32) to be expected in the next image (22b,c) to be acquired approximates the first relationship (V 11,12). - a first image of an object inside the patient is acquired with the aid of the camera, wherein a re-identifiable structure feature of the object is identified in the image, - images (22b,c) of the inside of the patient are automatically acquired continuously, wherein for each image (22b,c): - the endoscopy capsule is controlled automatically, so that the position of the structure feature in the image (22b,c) remains unchanged while the image scale is increased or reduced in size by the distance of the endoscopy capsule relative to the structural feature being increased or reduced in size, characterised in that - distances (d a-c) between the structure feature and an edge of the first image are automatically determined in at least two predefinable directions (26a-c) leading from the structure feature to the edge of the image, and a first relationship (V 11,12) of the distances (d a-c) relative to one another, - the structure feature is sought, the current distances (d a-c) in the predetermined directions (26a-c) are determined and their current relationship (V 21-32) relative to one another is determined, - if the current relationship (V 21-32) deviates from the first relationship (V 11,12), the position of the endoscopy capsule is automatically corrected in one direction, so that the relationship (V 21-32) to be expected in the next image (22b,c) to be acquired approximates the first relationship (V 11,12).