A thin-film magnetic head comprises at least one of a magnetoresistive device for reading and an electromagnetic transducer device for writing, and a heating element provided in the head body part. The heating element has an up portion meandering between an origin and a halfway point and a down portion meandering along the up portion from the halfway point to an end positioned in the vicinity of the origin, and adapted to generate heat when energized.
This is a Divisional of U.S. patent application Ser. No. 10/778,228 filed on Feb. 17, 2004, now U.S. Pat. No. 7,187,521, which is hereby incorporated by reference in its entirety. This application claims priority to Japanese Patent Application No. 2003-049879 filed Feb. 26, 2003, which is hereby incorporated by reference in its entirety.