According to an embodiment, an electronic device includes, for example, an indicator, a sensor, and circuitry. The indicator is configured to notifying a user by using at least one of a sound and vibration. The sensor is configured to detect first information regarding a body of a user, the first information possibly subject to disturbance during notifying by the indicator. The circuitry is configured to replace the first information during notifying by the indicator with second information different from the first information.