Conjunctivitis is diagnosed during a routine eye exam using a slit lamp microscope. In some cases, cultures are taken to determine the type of bacteria causing the infection.