The present invention relates to an implantable sensor configured to be implanted within the body of the subject and being configured to measure impedance within a body tissue of the subject resulting from an electrical current flowing through the body tissue, wherein the body tissue is sub-dermal or subcutaneous tissue of the subject. One pair of injection electrodes is configured for injection of electrical current into the body tissue and one pair of sensing electrodes is configured to detect the resulting voltage. A detector is operatively connected to the sensing electrodes and is configured to receive the voltage detected by the sensing electrodes, wherein the detector is configured to measure the impedance of the body tissue based on the voltage detected by the pair of sensing electrodes. A microcontroller is operatively connected to the detector and is configured to receive impedance signals from the detector and to provide control signals to the current signal output circuit and a powering and communication circuit including a coil configured to be powered by an electromagnetic field produced by an external coil.