There are several types of pink eye, including viral and bacterial: Viral pink eye is caused by viruses like adenovirus and herpes virus. It usually clears up without treatment in 7 to 14 days. Bacterial pink eye is caused by an infection with bacteria like Staphylococcus aureus or Streptococcus pneumonia.