An electronic key 1 includes: a housing 3 in which a cell accommodating part 37 for accommodating a cell 7 is disposed; a cell terminal 6 which is disposed in the cell accommodating part 37 and makes contact with one pole of the accommodated cell 7; and a substrate 50 which is disposed in the cell accommodating part 37 and on which are disposed a first positive terminal 53 and/or a second positive terminal 54 that make(s) contact with the cell terminal 6 and is/are electrically connected to one pole of the cell 7 via the cell terminal 6, and a negative terminal 55 that is electrically connected by making contact with the other pole of the cell 7.