An apparatus (40) comprises means (402) for applying electrical stimulation to a human or animal body via a pair of electrodes (50). The apparatus further comprises means (406, 410) for measuring impedance of the body between the pair of electrodes (50).