According to one embodiment, an electronic device includes a main body and a band. The main body includes a vital-signs sensor and a short-range communicator. The band is configured to attach the main body to a human body. At least one first electrode of two or more electrodes for the vital-signs sensor is provided on a surface of the band on a side in contact with the human body, and is used as a coupling portion for the short-range communicator.