An electronic device in which a battery can be positioned in a diameter direction, the battery can be brought into contact with a positive terminal member stably and sufficiently, and a portion housing the battery and a case body can be molded individually from optimal materials is provided. The electronic device includes a battery frame in which a battery is housed, a holding portion removably holding the battery frame on a bottom wall portion such that a battery insertion opening communicates with the interior of the battery frame, and a battery lid removably fixed to the bottom wall portion to cover the battery insertion opening, wherein the battery frame includes a circumferential wall portion surrounding the battery outside in a diameter direction, and a positive terminal holding portion fixing the positive terminal member such that a battery side contact portion of the positive terminal member is disposed inside the circumferential wall portion, and a portion of an inner circumferential face of the circumferential wall portion serves as a battery guide face positioning the battery in the diameter direction and bringing the battery into contact with the battery side contact portion.