An electronic device comprising: a wearing portion to be worn by a subject; and a sensor unit including a sensor configured to detect a pulse wave of the subj ect, wherein the wearing portion is a strip-like band and includes a recess formed in a rear face , an elastic body , and an attaching portion attached to the sensor unit in a detachable manner, the elastic body and the attaching portion being arranged in the recess ; wherein, in a state where the elastic body is not compressed, the sensor unit is partially inserted into the recess , has one end protruding to the rear face from the recess and is supported by the attaching portion , and the one end of the sensor unit is provided with a pulse contact portion that is a protrusion; wherein the sensor unit includes a displacement portion configured to contact a measured part of the subject and to be displaced in accordance with the pulse wave of the subject when the wearing portion is worn by the subject and a supported portion which is supported by the wearing portion to allow displacement of the displacement portion in accordance with the pulse wave, wherein a rear surface of the protruding end of the sensor unit opposite to the pulse contact portion is in contact with the elastic body , and the elastic body is configured to extend and contract in accordance with the pulse wave while maintaining the sensor unit in contact with the measured part; and wherein the attaching portion is moveably connected to the sensor unit such that the displacement portion can be displaced along a direction perpendicular to the rear side of the wearing portion . a wearing portion to be worn by a subject; and a sensor unit including a sensor configured to detect a pulse wave of the subj ect, wherein the wearing portion is a strip-like band and includes a recess formed in a rear face , an elastic body , and an attaching portion attached to the sensor unit in a detachable manner, the elastic body and the attaching portion being arranged in the recess ; wherein, in a state where the elastic body is not compressed, the sensor unit is partially inserted into the recess , has one end protruding to the rear face from the recess and is supported by the attaching portion , and the one end of the sensor unit is provided with a pulse contact portion that is a protrusion; wherein the sensor unit includes a displacement portion configured to contact a measured part of the subject and to be displaced in accordance with the pulse wave of the subject when the wearing portion is worn by the subject and a supported portion which is supported by the wearing portion to allow displacement of the displacement portion in accordance with the pulse wave, wherein a rear surface of the protruding end of the sensor unit opposite to the pulse contact portion is in contact with the elastic body , and the elastic body is configured to extend and contract in accordance with the pulse wave while maintaining the sensor unit in contact with the measured part; and wherein the attaching portion is moveably connected to the sensor unit such that the displacement portion can be displaced along a direction perpendicular to the rear side of the wearing portion . <EOS>