The engram is created when an event is encoded by neurons in the hippocampus, a key area for memory formation.