Conjunctivitis is an inflammation of the conjunctiva (the outermost layer of the eye and the inner surface of the eyelids), most commonly due to an allergic reaction or an infection (usually viral, but sometimes bacterial. Treatment of conjunctivitis depe