An endoscopic device includes an optical guide head configured to be at least partially inserted into a body or a cavity in order to view or image an object or a site that is poorly accessible to the naked eye. The optical guide head of such an endoscopic device is formed from an optical rod with a refractive index gradient.