A torque detector comprising: a permanent magnet; a magnetic yoke (111, 112) that is arranged in a magnetic field created by the permanent magnet, and of which a position relative to the permanent magnet varies; a magnetic flux collecting unit including a magnetic flux collecting holder formed in an annular shape by resin molding and surrounding the magnetic yoke, a magnetic flux collecting ring (51, 54) that is attached to an inner peripheral face of the magnetic flux collecting holder and that collects magnetic fluxes of the magnetic yoke, and a magnetic shield formed by bending a metal plate and attached to an outer peripheral face of the magnetic flux collecting holder; a magnetic sensor that detects a magnetic flux of a magnetic circuit formed by the permanent magnet, the magnetic yoke and the magnetic flux collecting ring; and a sensor housing formed integrally with the magnetic flux collecting unit by resin supplied onto an outer periphery of the magnetic flux collecting unit; wherein the magnetic shield has a shield body held between an inner face of the sensor housing and the outer peripheral face of the magnetic flux collecting holder, a shield end portion constituting an end portion of the metal plate in a circumferential direction, and a bent portion bent from the shield body and connecting the shield body and the shield end portion to each other, and a second angle formed between an outer side face of the shield end portion and a radial direction of the sensor housing is smaller than a first angle formed between an outer peripheral face of the shield body and the radial direction of the sensor housing. a permanent magnet; a magnetic yoke (111, 112) that is arranged in a magnetic field created by the permanent magnet, and of which a position relative to the permanent magnet varies; a magnetic flux collecting unit including a magnetic flux collecting holder formed in an annular shape by resin molding and surrounding the magnetic yoke, a magnetic flux collecting ring (51, 54) that is attached to an inner peripheral face of the magnetic flux collecting holder and that collects magnetic fluxes of the magnetic yoke, and a magnetic shield formed by bending a metal plate and attached to an outer peripheral face of the magnetic flux collecting holder; a magnetic sensor that detects a magnetic flux of a magnetic circuit formed by the permanent magnet, the magnetic yoke and the magnetic flux collecting ring; and a sensor housing formed integrally with the magnetic flux collecting unit by resin supplied onto an outer periphery of the magnetic flux collecting unit; wherein the magnetic shield has a shield body held between an inner face of the sensor housing and the outer peripheral face of the magnetic flux collecting holder, a shield end portion constituting an end portion of the metal plate in a circumferential direction, and a bent portion bent from the shield body and connecting the shield body and the shield end portion to each other, and a second angle formed between an outer side face of the shield end portion and a radial direction of the sensor housing is smaller than a first angle formed between an outer peripheral face of the shield body and the radial direction of the sensor housing.