Lubricating grease is commonly used for lubricating sealed and greased for life rolling element bearings. This grease also provides an additional sealing function to protect the bearing against ingress of contaminants. In this work the sealing function of lubricating grease in the vicinity of the seal lip contact has been studied experimentally by measuring the migration of spherical fluorescent contaminant particles in the vicinity of the contact, as a function of shaft speed and lubricant type. The experimental results reveal that in some greases contaminant particles migrate towards the sealing contact where the shear rate reaches its highest value. However, for other greases, Newtonian base oils, and elastic fluids, this is not necessarily the case and contaminant particles consistently migrate away from the sealing contact. Various physical phenomena have been investigated to explain the difference in migration behavior. It is concluded that migration towards the sealing contact is driven by the viscosity gradient and migration away from the sealing contact is related to the Weissenberg number. The sealing function of grease in the vicinity of the sealing contact is due to the migration of contaminant particles. The migration reduces the probability of particles to reach the sealing and bearing contacts.