We all rub our eyes from time to time. Ideally, rubbing your eyes should be avoided, but the reasons you may feel the need to rub your eyes may stem from several health conditions, such as an eye infection (Conjunctivitis, or pink eye, which is typically a result of a bacteria or virus), or allergies. One study found that rubbing your eyes in response to an allergen causes you to feel the need to rub them more. This article from Healthline provides information about some common allergies, as well as tips to help you stop rubbing your eyes.