A novel method was reported to measure the remnant magnetic field in Lorentz mode in a FEI Tecnai F20 transmission electron microscope equipped with a Lorentz lens. The movement of the circle Bloch line of the cross-tie wall in Permalloy is used to measure the remnant magnetic field by tilting the specimen and adjusting the objective lens current. The remnant magnetic field is estimated to be about 17 Oe, in a direction opposite to that of the objective lens magnetic field. The remnant magnetic field can be compensated by adjusting the value of the objective lens current.