This procedure removes the vitreous humor (the thick, jelly-like fluid in the eye's rear chamber). Vitrectomy is used to treat a variety of eye problems, most commonly when the vitreous humor has grown cloudy or has filled with blood from a hemorrhage. Vitrectomy is performed in an operating room under local or general anesthesia. It usually takes one to two hours to complete.