Systems and methods are described for the use of floating magnetic elements in medical implants. The magnetic elements within the medical implant are allowed to rotate freely to align with a strong external magnetic field, such as that of an MRI scanner, and align to attract each other during the normal functioning of the medical implant in the absence of a strong external magnetic field.