A new computational model reveals how ketamine, a widely used anesthetic and antidepressant, affects brain activity. By simulating the drug's interaction with NMDA receptors, the model explains how ketamine alters neuronal firing patterns, leading to altered states of consciousness and potential therapeutic benefits for depression.