The method of the invention is used for measuring intraocular pressure by means of an apparatus, which includes a probe (4) supported in a case, one coil (50) around the probe for giving the probe (4) a specific velocity in order to bring it in contact with the surface of the eye, and another coil (60) for performing measurement and setting functions, means for processing and displaying the measurement data and means for controlling operations. The probe (4) is formed of a non-magnetic front part (41) and a back part (42). The method is mainly characterized by inducing magnetization into the back part (42) of the probe by means of one or more coils (50, 60) before the probe (4) is put into movement against the eye for the measurement.