To provide a sensor attaching elastic member with enhanced holding force for a sensor device.
This hollow sensor attaching elastic member 1 inserted into a through hole 5 provided in a sensor attaching member 4 together with a sensor projected part 3, under a temporarily assembled condition attached to the sensor projected part 3 of this sensor device 2, to fix the sensor device 2, has a tip part 6 comprising a tip protrusion 9 and a tip flange part 10, an intermediate part 7 comprising a tapered part 13 and an intermediate protrusion 14, and a rear end part 8 comprising a rear end flange part 17, and an elastically deformable protrusion-like bead 18 formed in the sensor device 2 in the flange part 17 or on a contact face with respect to the sensor attaching member 4. A clearance is prevented thereby from being generated between the sensor attaching elastic member 1 and the sensor attaching member 4 by providing the elastically deformable protrusion-like bead 18, and the holding force for the sensor device 2 is enhanced thereby.