Intake Beck Depression Inventory (BDI) item scores of 400 outpatient major depressives were submitted to a categorization algorithm developed for artificial intelligence applications. The algorithm maximizes a function of ''category utility'' that is preferable in several respects to available clustering methods, and has demonstrated its capacity to locate the most informative, or ''basic'', level of categorization. The analysis yielded four syndromal subtypes: a common, general depressive type; a common and relatively severe melancholic type; an infrequent type characterized by self-critical features, generalized anxiety, and an absence of melancholic features; and an infrequent, mild type distinguished by enervation and anhedonic features. Implications for the classification of depression are discussed.