The 60-year-old unnamed patient went to hospital in Karnataka, India with the revolting creature slithering around the white of his eye.
He was seen by Dr Srikanth Shetty who decided the best course of action would be to remove the worm immediately because it was putting the patient's eyesight at risk.
The intricate procedure was filmed and the footage posted online.
It shows Dr Shetty carefully removing the parasite and placing it in a plastic container, where the true size of the creature is revealed.
It was 15cm long.
The worm is believed to be Wuchereria Bancrofti, a type of roundworm that is spread via mosquito bites.