We describe here a method of intravitreal injection and subsequent bacterial quantitation in mouse model of bacterial endophthalmitis. This protocol can be extended for measuring host immune responses and bacterial and host gene expression.