In an implantable medical device, such as a bi-ventricular pacemaker and a method for detecting and monitoring mechanical dyssynchronicity of the heart, a dyssynchronicity measure indicating a degree of mechanical dyssynchronicity of a heart of a patient is calculated. A first intracardiac impedance set is measured using electrodes placed such that the first intracardiac impedance set substantially reflects a mechanical activity of the left side of the heart and a second intracardiac impedance set is measure using electrodes placed such that the second intracardiac impedance set substantially reflects a mechanical activity of the right side of the heart. The measure of a dyssynchronicity is calculated based on a resulting parameter set from a comparison between at least a subset of the first and the second impedance sets, respectively, the subsets containing information of the mechanical systole, wherein a reduced dyssynchronicity measure corresponds to an improved synchronicity between the right side and the left side of the heart.