An electronic device is provided that easily performs message exchange that exploits the relative position relationship with other vehicles while traveling. The electronic device (2) includes a display unit (11), a wireless communication unit (20) that receives information including positional information of a sender and message information desired by the sender to be transmitted to a correspondence party, a relative position calculation unit (41) that calculates relative position information of the sender relative to an own device based on the positional information, and a display control unit (43) that provides a first display region (111) to the display unit (11) and display message information in the first display region (111), as well as displaying relative position information without displaying a map.