The purpose of this study is to create a model that can classify schizophrenia patients and healthy controls based on whole brain gray matter densities (voxel-based morphometry, VBM) from structural magnetic resonance imaging (MRI) scans. In addition, we investigated the stability of the accuracy of the models, when built with different sample sizes. Using a support vector machine, we built a model from 239 subjects (128 patients and 111 healthy controls) and classified 71.4% correct (leave-one-out). We replicated and validated this result by testing the unaltered model on a completely independent sample of 277 subjects (155 patients and 122 healthy controls), scanned with a different scanner. The classification rate of the validation sample was 70.4%. The model's discriminative pattern showed, amongst other differences, gray matter density decreases in frontal and superior temporal lobes and hippocampus in schizophrenia patients with respect to healthy controls and increases in gray matter density in basal ganglia and left occipital lobe and. Larger training samples gave more reliable models: Models based on sample sizes smaller than N. =. 130 should be considered unstable and can even score below chance.