Your upper eyelid may swell due to pink eye (conjunctivitis), orbital cellulitis, a chalazion or stye, allergies, or an injury, among other causes. Other symptoms you experience, such as itching, pain, redness, or vision changes, may help identify the cause.