Both egg yolks and egg whites contain proteins that can cause allergies, but allergy to egg whites is most common.