A vehicle control device controls a vehicle including an occupant door and an opening and closing member for a shareable space. The vehicle control device is configured to control switching between a locked state and an unlocked state of an inlet, and to execute first control. In the first control, the inlet is switched to the unlocked state when the opening and closing member for the shareable space is unlocked by a user while the inlet is in the locked state. The inlet is not switched to the unlocked state when the opening and closing member for the shareable space is unlocked by a third person while the inlet is in the locked state.