A magnet is completely encased within a body of a biocompatible implant. The body of the biocompatible implant is formed so as to allow for removal of the magnet after implantation in a recipient. The body includes a portion that is at least partially separable from the remainder of the body, either by application of a removing agent or a tool. The magnet can be removed and replaced. Thereafter, the body can be sealed or the magnet can be left exposed.