Working memory (WM) and long-term memory (LTM) are often viewed as separate cognitive systems. Little is known about how these systems interact when forming memories. We recorded single neurons in the human medial temporal lobe while patients maintained novel items in WM and completed a subsequent recognition memory test for the same items. In the hippocampus, but not in the amygdala, the level of WM content-selective persistent activity during WM maintenance was predictive of whether the item was later recognized with high confidence or forgotten. By contrast, visually evoked activity in the same cells was not predictive of LTM formation. During LTM retrieval, memory-selective neurons responded more strongly to familiar stimuli for which persistent activity was high while they were maintained in WM. Our study suggests that hippocampal persistent activity of the same cells supports both WM maintenance and LTM encoding, thereby revealing a common single-neuron component of these two memory systems.