A probe having a temperature sensor on its distal portion is introduced into a fluid-filled body cavity of a subject, and an irrigating fluid passed through the probe. The temperature of the irrigating fluid exiting the probe differs from the temperature of the body cavity. Temperature readings of the irrigating fluid exiting the probe are recorded. A determination is made from the temperature readings that predetermined contact criteria between the probe and the interior wall of the body cavity are satisfied.