A tip electrode of a catheter includes an outer wall and a temperature sensor assembly. The outer wall includes a thermally conductive multilayer printed circuit board (TCM-PCB) that includes a void. The temperature sensor assembly, which is fitted in the void of the TCM-PCB, includes a temperature sensor, one or more thermally insulating layers that surround a volume of the temperature sensor excluding one facet of the volume, and a heat conductive layer covering the excluded facet.