Infection inside the eye
Endophthalmitis is an infection of the inside of the eye. It is rare, but it is an emergency: it can damage vision within a few hours. It occurs mainly after an eye operation or an injection into the eye.
What is it?
The eye is filled with a clear gel (the vitreous), in front of the retina, the film that receives images. Normally, no germs get in. If germs do get in, they multiply quickly. The resulting inflammation can damage the retina.
These germs most often come from the surface of the eye or from the eyelids. They get in through the opening made by an operation, an injection or an injury. More rarely, they arrive through the blood, from an infection elsewhere in the body.
Who is affected?
- People who have had eye surgery, especially cataract surgery, in the following weeks. The risk is very low.
- People who have injections into the eye (intravitreal injections), for example for AMD or diabetes. The risk per injection is also very low, but injections are repeated: you need to stay alert after each one.
- People who have had glaucoma surgery, even years ago.
- People with an eye injury, especially from an object that has pierced the eye.
- More rarely, very ill people or people with weakened defences, with an infection in the blood.
Symptoms
They often appear in the first few days, sometimes up to six weeks after the operation:
- Vision gets worse, when it had been improving.
- The eye becomes redder.
- Pain increases, instead of easing.
- Swollen eyelids, sensitivity to light, sometimes a white deposit at the bottom of the coloured part of the eye.
Having no pain is no reason to feel reassured: worsening vision on its own is reason enough to go.
When to see a doctor?
Go now if…
- An eye that was operated on or injected less than 6 weeks ago becomes redder, more painful or its vision gets worse. Pain or loss of vision after an operation or an injection
- You have had glaucoma surgery, even years ago, and the eye becomes red or painful, or its vision gets worse. Pain or loss of vision after an operation or an injection
- An object or a splinter has injured the eye. Eye wound or object stuck in the eye
- Your vision suddenly drops, especially during a serious infection. Sudden loss of vision
In all these cases: go straight to a hospital emergency department. If you cannot get there on your own, call the emergency services.
See a doctor today if…
- If you were operated on or injected more than 6 weeks ago and the eye stays red or painful, it also needs to be examined. Painful eye
How is it diagnosed?
The ophthalmologist examines the eye under the microscope and looks at the back of the eye. If the back of the eye cannot be seen, they do an ultrasound scan, with a probe placed on the eyelid. If they suspect an infection, they take a drop of fluid from inside the eye, under local anaesthetic, to look for the germ.
Treatment
- Antibiotics injected directly into the eye, without waiting for the result of the sample.
- Sometimes, an operation to clean the inside of the eye (vitrectomy).
- Drops and, depending on the case, medicines by mouth or into a vein.
- Close check-ups.
The result depends on the germ and on how quickly treatment starts. Even with prompt care, vision may stay reduced. The treatment is decided with your ophthalmologist.
Day to day
After an operation or an injection:
- Use the prescribed eye drops, at the set times, until the end of the course.
- Wash your hands before each drop. Do not touch the eye with the tip of the bottle.
- Follow the instructions: eye shield, water, make-up, dust.
- Go to all follow-up appointments.
Do not
- Do not think "this is normal after the operation" if the eye is getting worse and worse.
- Do not wait until the next day, or until the follow-up appointment.
- Do not settle for a phone call or a photo: the eye must be examined.
- Do not stop your prescribed eye drops, and do not add any without medical advice.
In children
A child who has had an operation rarely says that they see less well. A redder eye, swollen eyelids, crying or a hand constantly going to the eye: go to a hospital emergency department.
Frequently asked questions
Is a red eye the day after an eye operation a sign of infection?
Not necessarily: slight redness is common. But if the eye becomes redder, more painful or its vision gets worse, go straight to a hospital emergency department. If you cannot get there on your own, call the emergency services. Pain or loss of vision after an operation or an injection
Is endophthalmitis common after cataract surgery?
No, it is very rare: around one operation in a thousand, or fewer. But it can damage vision within a few hours: you need to stay alert after any eye operation.
How long after an eye operation can an infection appear?
Often in the first few days, sometimes up to six weeks; after glaucoma surgery, even years later. If an eye operated on less than 6 weeks ago becomes redder, more painful or its vision gets worse, or if an eye that had glaucoma surgery, even years ago, becomes red, painful or its vision gets worse, go straight to a hospital emergency department. If you cannot get there on your own, call the emergency services. Pain or loss of vision after an operation or an injection After another operation more than 6 weeks ago, if the eye stays red or painful, see a doctor today. Painful eye
Can an injection into the eye cause an infection?
Yes, but very rarely: around one injection in two to three thousand. As injections are repeated, you need to stay alert after each one. If an eye injected less than 6 weeks ago becomes redder, more painful or its vision gets worse, go straight to a hospital emergency department. If you cannot get there on your own, call the emergency services. Pain or loss of vision after an operation or an injection
Can endophthalmitis cause loss of vision?
Yes, it can damage vision within a few hours. The result depends on the germ and on how quickly treatment starts: even with prompt care, vision may stay reduced. So do not wait until the next day or until the follow-up appointment.
How can the risk of infection be reduced after an eye operation or injection?
Use the prescribed eye drops, at the set times, until the end of the course. Wash your hands before each drop and do not touch the eye with the tip of the bottle. Follow the instructions on water, make-up and dust, and go to all check-ups.
This page does not replace a medical examination. If in doubt, go to the emergency department.
Further reading
- Endophthalmitis Following Cataract Surgery: Prophylaxis and Treatment: American Academy of Ophthalmology (EyeWiki), online review article, reviewed September 2026 (for professionals).
- Post Injection Endophthalmitis (PIE): American Academy of Ophthalmology (EyeWiki), online review article, reviewed August 2026 (for professionals).
