A magnetic sensor includes a channel layer, a magnetization free layer placed on a first section of the channel layer, and a magnetization-fixed layer placed on a second section of the channel layer. The areal resistance of the interface between the channel layer and the magnetization free layer is lower than the areal resistance of the interface between the channel layer and the magnetization-fixed layer.