Notice: Users may be experiencing issues with displaying some pages on stanfordhealthcare.org. We are working closely with our technical teams to resolve the issue as quickly as possible. Thank you for your patience.
A doctor can usually diagnose pinkeye with an eye exam and by asking questions about your symptoms. Sometimes the doctor will use a cotton swab to take some fluid from around your eye so it can be tested for bacteria or other infection.