A charging port device for an electric vehicle, having: a charging port having an engaged part which is engaged with an engaging part of a charging connector by an operation performed by a user, power from an external power supply being supplied to the charging port in an engaged state; a restricting member that, when the engaging part and the engaged part are in an engaged state, regulates a release operation in which the engaging part separates from the engaged part, thereby restricting the engaged state from being released; and locking state control means for moving the restricting member by powered driving and thereby producing a locked state, in which there is an overlap with the engaging part when viewed from the direction of separation and the release operation on the engaging part is regulated, and an unlocked state, in which there is no overlap with the engaging part and the release operation is allowed, characterized in that the locking state control means has an electrical driving mechanism for electrically applying a torque using a motor to move the restricting member up to an inner-side position short of a predetermined position corresponding to the locked state or the unlocked state, and a mechanical driving mechanism for mechanically applying a torque to move the restricting member from the inner-side position to the predetermined position, when the restricting member is to be moved to the predetermined position, and a part of the restricting member overlaps with the engaging part, when viewed from the direction of separation, at the inner-side position that corresponds to a movement to the locked state. a charging port having an engaged part which is engaged with an engaging part of a charging connector by an operation performed by a user, power from an external power supply being supplied to the charging port in an engaged state; a restricting member that, when the engaging part and the engaged part are in an engaged state, regulates a release operation in which the engaging part separates from the engaged part, thereby restricting the engaged state from being released; and locking state control means for moving the restricting member by powered driving and thereby producing a locked state, in which there is an overlap with the engaging part when viewed from the direction of separation and the release operation on the engaging part is regulated, and an unlocked state, in which there is no overlap with the engaging part and the release operation is allowed, characterized in that the locking state control means has an electrical driving mechanism for electrically applying a torque using a motor to move the restricting member up to an inner-side position short of a predetermined position corresponding to the locked state or the unlocked state, and a mechanical driving mechanism for mechanically applying a torque to move the restricting member from the inner-side position to the predetermined position, when the restricting member is to be moved to the predetermined position, and a part of the restricting member overlaps with the engaging part, when viewed from the direction of separation, at the inner-side position that corresponds to a movement to the locked state.