Highlights•Volume change after ECT can be either diagnosis-specific or transdiagnostic.•Comparing two diagnostic groups may provide clues to distinguish them.•Common increase in regions including the limbic system may be trandiagnostic.•Pregenual anterior cingulate cortex shows schizophrenia-specific volume increase.•Volume increase in this region correlates with clinical improvement.