If you haven't slept, your ability to learn new things could drop by up to 40%. “You can't pull an all-nighter and still learn effectively,” Walker says. Lack of sleep affects a part of the brain called the hippocampus, which is key for making new memories.