Melting experiments with and without added H2O on a model metagreywacke and a natural metapelite demonstrate how pressure and H2O content control the compositions of melts and residual assemblages. Several effects are observed under isothermal conditions. Firstly, the stability field of biotite shrinks with decreasing pressure and with increasing H2O content, whereas that of plagioclase shrinks with increasing pressure and H2O content. Secondly, the ferromagnesian content of melts at the source (i.e. coexisting with their residual assemblages) decreases with decreasing H2O activity. Thirdly, with increasing pressure the Ca/Mg and Ca/Fe ratios of melts decrease relative to those of coexisting garnet. As a consequence, a wide spectrum of melts and crystalline residues can be generated from the same source material. For example, H2O-starved dehydration melting of metagreywacke at low pressure (≤10 kbar) generates K-rich (granitic) melts that coexist with pyroxene- and plagioclase-rich residues, whereas melting of the same material at high pressure (≍15 kbar) and with minor H2O infiltration can generate leucocratic Na-rich and Ca-poor (trondhjemitic) melts that coexist with biotite- and garnet-rich residues. An increased H2O content stabilises orthopyroxene at the expense of garnet + biotite + plagioclase, causing melts to shift towards granodioritic or perhaps tonalitic compositions.