Disclosed is an implantable device for drug delivery operated by a magnetic force. The device is provided with a body member and an external magnetic controller which is able to move some of the parts in the body member so that the drug inside the body member can be delivered to a site of interest of the animal body without the extra power source.