A clip for attaching a battery temperature sensor, which holds a temperature sensor including a sensor main body and an overhanging portion overhanging from a circumference of a base end portion of the sensor main body; is attachable to an attachment hole penetrating in and out through a case housing a battery; and allows an end portion of the sensor main body to protrude into the case, comprising: an abutting portion having a diameter larger than that of the attachment hole, and abutting against an outer surface of the case; characterized by an insertion hole passing through the abutting portion, and having a diameter smaller than that of the overhanging portion so as to insert the sensor main body; a holding tube communicated with the insertion hole, extending in a tube shape toward an outside of the case from the abutting portion, and opening at an end surface so as to insert the sensor main body to pass through the insertion hole from an open end surface, and to internally hold the overhanging portion; a leg tube communicating with the insertion hole, extending in a tube shape toward an inside of the case from the abutting portion, and opening at an end so as to insert the sensor main body to pass through an end opening from the insertion hole, and to be able to insert into the attachment hole; and at least a pair of elastic claws elastically protruding from an outside surface of the leg tube, bending toward a tube inner portion of the leg tube when the elastic claws pass through the attachment hole, and restoring to its original state after passing through the attachment hole so as to sandwich the case between the abutting portion and the elastic claws, wherein the abutting portion includes at least a pair of ribs respectively positioned in two end portions in a diametrical direction of the abutting portion, protruding toward an outer surface of the case, and applying a force to the holding tube in a direction bending the abutting portion and narrowing the open end surface when the case is sandwiched between the pair of elastic claws and the ribs. an abutting portion having a diameter larger than that of the attachment hole, and abutting against an outer surface of the case; characterized by an insertion hole passing through the abutting portion, and having a diameter smaller than that of the overhanging portion so as to insert the sensor main body; a holding tube communicated with the insertion hole, extending in a tube shape toward an outside of the case from the abutting portion, and opening at an end surface so as to insert the sensor main body to pass through the insertion hole from an open end surface, and to internally hold the overhanging portion; a leg tube communicating with the insertion hole, extending in a tube shape toward an inside of the case from the abutting portion, and opening at an end so as to insert the sensor main body to pass through an end opening from the insertion hole, and to be able to insert into the attachment hole; and at least a pair of elastic claws elastically protruding from an outside surface of the leg tube, bending toward a tube inner portion of the leg tube when the elastic claws pass through the attachment hole, and restoring to its original state after passing through the attachment hole so as to sandwich the case between the abutting portion and the elastic claws, wherein the abutting portion includes at least a pair of ribs respectively positioned in two end portions in a diametrical direction of the abutting portion, protruding toward an outer surface of the case, and applying a force to the holding tube in a direction bending the abutting portion and narrowing the open end surface when the case is sandwiched between the pair of elastic claws and the ribs.