Freakonomics » Does Walking Through Doorways Cause Forgetfulness?
passing through doorways actually does cause us to forget things because of the way the brain compartmentalizes information. Doorways, according to Radvansky, serve as “event boundaries in the mind.” The simple act of having to adjust to a new setting takes just enough mental effort to cause a break in short-term memory. “Recalling the decision or activity that was made in a different room is difficult because it has been compartmentalized,” says Radvansky.
via freakonomics.com