Ablation of cardiac tissue is carried out by inserting a probe having an ablation electrode and a plurality of microelectrodes into a body of a living subject to establish contact between two of the microelectrodes and target tissue, and energizing the ablation electrode. While the ablation electrode is energized impedances are measured between the microelectrodes, and the power level of the ablation electrode adjusted according to the impedances.