Skip to main content
Read about

“AI Can Now Predict If Your Antidepressant Will Work—Here’s How”

AI antidepressant prediction
On this page
Tooltip Icon.
Written by Andrew Le, MD.
Medically reviewed by
Last updated August 12, 2025

Try our free symptom checker

Get a thorough self-assessment before your visit to the doctor.

Many people with depression struggle to find the right treatment. Some try several medications, therapy sessions, or brain stimulation methods, but still feel stuck in sadness. This is called treatment-resistant depression, and it affects nearly half of those with major depressive disorder. For these individuals, the path to recovery is often long and uncertain.

Now, new research offers hope. Scientists are using artificial intelligence (AI) to study brain scans and predict which treatment will work best for each person. This means you might soon avoid the painful trial-and-error process that so many patients go through.

According to an expert, applying AI to brain imaging could help doctors choose treatments that fit a person’s brain pattern. Could this be the key to finally matching the right antidepressant—or brain therapy—to the right person? Researchers believe so.

In this article, you'll learn how AI and brain scans are working together to change how we treat depression, making care faster, smarter, and more personal.

The Problem With Treating Depression

Depression affects millions of people worldwide. It is one of the most common mental health conditions, and it can show up in many different ways. Some people feel deep sadness. Others lose interest in things they once enjoyed. Some have trouble sleeping, eating, or focusing. Because symptoms vary so much, finding the right treatment can be hard.

Doctors usually begin treatment with antidepressant medication or therapy. But these options don’t work for everyone. Nearly half of patients with major depressive disorder do not respond to standard treatments. These individuals often try many different approaches, hoping one will finally help.

This trial-and-error process can take months or even years. It can be frustrating and painful, especially for people who are already feeling hopeless. Without knowing how someone will respond, doctors must guess which treatment to try first. That’s why researchers are now looking for a better way to match treatments with the people who need th

Role of Neuroimaging in Understanding Depression

Doctors have been using brain scans to learn more about depression. These tools, known as neuroimaging, help show what’s happening inside the brain. They give clues about why someone might feel depressed and how the brain is affected.

Here are some key things neuroimaging has shown:

  • The frontal cortex and hippocampus may shrink in people with depression.
  • The amygdala, which controls emotions, may become more active.
  • There can be weaker connections between brain regions that manage mood and decision-making.
  • Blood flow and brain activity often look different in people with depression.
  • Certain patterns in brain scans may hint at how severe the symptoms are.

According to studies, these findings are helpful, but not yet strong enough to guide treatment for every person. Each brain is different, and depression looks different from one person to another. That’s why researchers are now turning to new tools—like artificial intelligence—to help make sense of all this brain data.

AI Meets Neuroimaging: A New Hope

Artificial intelligence (AI) is now giving scientists a better way to understand depression. By combining brain scans with AI tools, researchers can find patterns that are too complex for humans to see. These patterns may help predict which treatment will work best for each person.

One major effort is led by the ENIGMA Consortium, a global group studying brain scans from thousands of people. They are using AI to find brain features linked to treatment success, especially with a therapy called repetitive transcranial magnetic stimulation (rTMS).

Here’s what makes this approach powerful:

  • AI can study data from tens of thousands of brain scans.
  • It looks for signs that show whether someone may benefit from rTMS or other treatments.
  • It may help doctors decide which treatment to try first, saving time and reducing suffering.

Experts believe AI can even predict how depressed someone is based on brain imaging. With support from the National Institute of Mental Health, this project hopes to bring more accuracy and confidence to treatment planning. The goal is simple: use brain data and AI to help people get better, faster.

Deep Brain Stimulation (DBS) and AI Integration

For people with severe, treatment-resistant depression, doctors sometimes use a method called deep brain stimulation (DBS). This involves placing small electrodes into the brain to change activity in areas linked to mood. It works like a “pacemaker for the brain,” sending gentle pulses to help reset brain signals.

DBS has shown promise, especially when other treatments have failed. But it doesn’t help everyone, and doctors have struggled to know who will benefit. That’s where artificial intelligence comes in.

With help from AI, doctors can now:

  • Analyze brain signals in real time
  • Spot early signs of relapse before symptoms return
  • Adjust stimulation settings more precisely based on brain activity
  • Use data to guide where electrodes should be placed in the brain

According to studies, AI tools have already detected warning signs of relapse weeks before patients noticed mood changes. This gives doctors a chance to act early and prevent setbacks.

DBS used to rely mostly on trial and error. Now, with AI and brain data working together, it’s becoming smarter, more personalized, and more effective for those in the deepest stages of depression.

Closed-Loop Systems and Real-Time Adjustments

Newer brain devices are now doing more than just sending electrical signals—they can also listen to the brain. These are called closed-loop systems. They sense brain activity and respond right away, adjusting the stimulation based on what the brain needs in the moment.

Here’s how they work:

  • The device records brain signals all day.
  • When it detects patterns linked to depression, it sends a small burst of electricity.
  • This response can happen hundreds of times a day, often before the person even notices a mood change.
  • It uses intermittent stimulation, instead of constantly buzzing the brain.

One patient named Sarah used a closed-loop system and saw big improvements in just one week. She said it helped her enjoy life again and make everyday choices without feeling stuck.

These real-time adjustments make a big difference. Some patients even felt the stimulation during stressful moments—like at a grocery store—and said it helped keep them calm. These systems may become a powerful tool for handling the ups and downs of daily life with depression.

Comparing Neuroimaging Approaches

Scientists have tried many ways to use brain scans to better understand and treat depression. Some focused on classifying depression into subtypes based on symptoms, like sadness, anxiety, or loss of pleasure. Others looked at brain structures or how different areas connect.

Here are the main approaches researchers have used:

  • Symptom-based subtypes: These group people by signs like sleep problems or appetite changes. But brain scans haven’t shown strong patterns that match these groups.
  • Task-based studies: These look at how the brain reacts to emotional images or rewards. Some link low brain activity to a higher risk of depression, but results vary.
  • Machine learning methods: These let computers find hidden patterns in brain scans without labeling people first. Some studies have found “biotypes,” or brain-based subgroups, that may predict how someone responds to treatments like rTMS.
  • Outcome-based imaging: This uses brain data to see who improved after a certain treatment. According to Dr. Helen Mayberg, this method may be most useful for picking the right therapy before starting.

While no approach is perfect yet, combining brain scans with AI is showing the most promise for personalizing care. Instead of guessing, doctors may soon be able to choose treatments based on clear brain data.

Predicting Treatment Success Using Brain Data

One of the biggest goals in depression care is knowing which treatment will work before it’s even tried. New studies are now using brain data to help make that decision.

Researchers have found that certain brain patterns can tell who will respond to specific treatments. For example:

  • People with high activity in the right anterior insula may do better with medication than with therapy.
  • Connections between the subcallosal cingulate and other brain areas can predict success with either antidepressants or cognitive behavioral therapy (CBT).
  • These patterns appear on brain scans before treatment even starts.

According to Dr. Boadie Dunlop, matching these brain signals with treatment outcomes could help patients avoid weeks—or months—long failed therapies. Instead of trying one drug after another, doctors could choose a plan based on what the brain shows is most likely to work.

This means patients might get better faster, with fewer side effects and less frustration. It’s a step toward a more thoughtful, brain-based way to treat depression.

The Future of AI-Driven Personalized Psychiatry

Doctors have treated depression the same way for many years—by trying different options until something works. But with the help of AI and brain scans, that may soon change. Personalized psychiatry is the future, and it’s already starting to take shape.

Here’s what this future could look like:

  • AI tools will read brain scans and suggest the most likely treatment to help.
  • Doctors can skip trial-and-error and go straight to the best options.
  • Treatments like rTMS or DBS may be used earlier for patients who need them.
  • Brain data might even help guide care for other conditions, like dementia or anxiety.

According to studies, using AI to guide treatment based on real brain data is a powerful step forward. Instead of guessing, doctors can act with more confidence. Patients may feel more hopeful knowing their care is guided by science, tailored to their brains.

This is only the beginning. As technology grows, personalized treatment could become the standard, not just for depression, but for mental health care as a whole.

Conclusion

Depression is different for everyone, and finding the right treatment has never been easy. But with the help of AI and brain scans, doctors may soon know which treatment will work before you even start it. This could save time, lower stress, and give you a better chance at feeling like yourself again. Wouldn’t it be helpful to know that the first treatment you try has a strong chance of success? Thanks to science, that future is getting closer, offering new hope for people who have waited too long for relief.

Share your story
Once your story receives approval from our editors, it will exist on Buoy as a helpful resource for others who may experience something similar.
The stories shared below are not written by Buoy employees. Buoy does not endorse any of the information in these stories. Whenever you have questions or concerns about a medical condition, you should always contact your doctor or a healthcare provider.
Jeff brings to Buoy over 20 years of clinical experience as a physician assistant in urgent care and internal medicine. He also has extensive experience in healthcare administration, most recently as developer and director of an urgent care center. While completing his doctorate in Health Sciences at A.T. Still University, Jeff studied population health, healthcare systems, and evidence-based medi...
Read full bio

Was this article helpful?

Tooltip Icon.

References

  • Dolgin, E. (2025, June 30). Next-gen brain implants offer new hope for depression: AI and real-time neural feedback could transform treatments. IEEE Spectrum. https://spectrum.ieee.org/deep-brain-stimulation-depression
  • Dunlop, B. W., & Mayberg, H. S. (2018). Neuroimaging advances for depression. Current Opinion in Neurobiology, 50, 17–23. https://doi.org/10.1016/j.conb.2017.10.009
  • Goya-Maldonado, R., Erwin-Grabner, T., Zeng, L.-L., Ching, C. R. K., Aleman, A., Amod, A. R., Basgoze, Z., Benedetti, F., Besteher, B., Brosch, K., Bülow, R., Colle, R., Connolly, C. G., Corruble, E., Couvy-Duchesne, B., Cullen, K., Dannlowski, U., Davey, C. G., Dols, A., ... Thompson, P. M. (2024). Classification of major depressive disorder using vertex-wise brain sulcal depth, curvature, and thickness with a deep and a shallow learning model. Frontiers in Psychiatry, 15, 11838705. https://doi.org/10.3389/fpsyt.2024.11838705
  • Sheehan, S. T. (2024, February 14). New AI-driven initiative could optimize brain stimulation for treatment resistant depression. Keck School of Medicine of USC. https://keck.usc.edu/news/new-ai-driven-initiative-could-optimize-brain-stimulation-for-treatment-resistant-depression/
  • Onciul, R., Tataru, C.-I., Dumitru, A. V., Crivoi, C., Serban, M., Covache-Busuioc, R.-A., Radoi, M. P., & Toader, C. (2025). Artificial intelligence and neuroscience: Transformative synergies in brain research and clinical applications. Journal of Clinical Medicine, 14(2), 550. https://doi.org/10.3390/jcm14020550