A temperature detection device (1 to 5) to be assembled to a coil, the temperature detection device (1 to 5) comprising: a temperature sensor that includes a thermosensitive element detecting temperature of the coil; a holder that holds the temperature sensor and positions the coil with respect to the temperature sensor; and an elastic body (30, 80, 90) configured to sandwich the temperature sensor and the coil that are positioned by the holder through a positioning portion of the holder, wherein the holder includes a concave portion configured to accommodate the coil and the temperature sensor, wherein an extending part of the coil and the temperature sensor are inserted in the concave portion of the holder, the holder further includes a sensor holding portion and a holder body portion, the sensor holding portion being configured to hold the temperature sensor, and the holder body portion being externally provided with the elastic body (30, 80, 90) and having a function of positioning the extending part of the coil and the temperature sensor in the inside, the concave portion being provided inside the holder body portion, the elastic body (30, 80, 90) is movable to an attachment position where the elastic body (30, 80, 90) is attached to the holder to sandwich the temperature sensor and the coil, and a separated position where the elastic body (30, 80, 90) is separated from the temperature sensor when the coil is positioned with respect to the temperature sensor by the holder, the elastic body (30, 80, 90) is U-shaped, the elastic body (30, 80, 90) includes a first sandwiching portion, a second sandwiching portion and a coupling portion which couples the first sandwiching portion and the second sandwiching portion, and the elastic body (30, 80, 90) is movable along a direction orthogonal to both of a sandwiching direction in which the temperature sensor and the coil are sandwiched, and a longitudinal direction of a part of the coil to which the temperature detection device (1 to 5) is assembled. a temperature sensor that includes a thermosensitive element detecting temperature of the coil; a holder that holds the temperature sensor and positions the coil with respect to the temperature sensor; and an elastic body (30, 80, 90) configured to sandwich the temperature sensor and the coil that are positioned by the holder through a positioning portion of the holder, wherein the holder includes a concave portion configured to accommodate the coil and the temperature sensor, wherein an extending part of the coil and the temperature sensor are inserted in the concave portion of the holder, the holder further includes a sensor holding portion and a holder body portion, the sensor holding portion being configured to hold the temperature sensor, and the holder body portion being externally provided with the elastic body (30, 80, 90) and having a function of positioning the extending part of the coil and the temperature sensor in the inside, the concave portion being provided inside the holder body portion, the elastic body (30, 80, 90) is movable to an attachment position where the elastic body (30, 80, 90) is attached to the holder to sandwich the temperature sensor and the coil, and a separated position where the elastic body (30, 80, 90) is separated from the temperature sensor when the coil is positioned with respect to the temperature sensor by the holder, the elastic body (30, 80, 90) is U-shaped, the elastic body (30, 80, 90) includes a first sandwiching portion, a second sandwiching portion and a coupling portion which couples the first sandwiching portion and the second sandwiching portion, and the elastic body (30, 80, 90) is movable along a direction orthogonal to both of a sandwiching direction in which the temperature sensor and the coil are sandwiched, and a longitudinal direction of a part of the coil to which the temperature detection device (1 to 5) is assembled.