An electronic device includes a housing having an opening, a connection terminal located in an opening in the housing, and a terminal cover including a first resin member having a first surface facing the connection terminal and a second surface located opposite to the first surface and a second resin member located on the second surface. At least a portion of the second resin member covers a depression located on an outer peripheral portion of the first surface of the first resin member.