<p>[Problem] To provide an electronic device such that an earphone body can be fitted in the ear of each user. [Solution] An earphone (1) is provided with: an earphone body (2); an ear rest (3) for placing the earphone body (2) on the ear; and a connection member (4) connecting the earphone body (2) and the ear rest (3). The connection member (4) is of a joint ball type by which the earphone body (2) is connected to the ear rest (3) pivotally on the connection member (4) and rotatably about a central axis (Z) of the earphone body (2).</p>