A viscous liquid containing a high density of magnetic particles. It can be used to provide a high-vacuum sealant for rotary joints in vacuum systems: the fluid is held in place by permanent magnets, providing a low-friction nonabrading bearing, which enables a rotary motion of a shaft through the walls of the container without causing particulate or oil contamination of the vacuum. This is useful for high-vacuum analysis or microfabrication equipment.