An electrical detection device carried by a rail vehicle traveling on a railway track to detect faults in at least one rail, including a contact support suitable for being mechanically linked to the rail vehicle, at least one reference contact and corresponding measuring contact applied to a rail, and carried by the support, a processing circuit to which each reference contact and measuring contact are connected, suitable for measuring the impedance between the corresponding reference and measuring contacts, means for positioning the contact support facing the surface of the rail in a measurement direction corresponding to the axis of the rail, such that each first reference contact and each corresponding measuring contact relate to the same rail, and at least two measuring contacts transversely offset relative to the measurement direction, wherein the processing circuit includes means for measuring the impedance between at least one reference contact and each measuring contact.