Underplating is the accumulation of partial melts at the base of the crust where an ocean plate is subducting under continental crust. Underplating is the result of partial melts being produced in the mantle wedge above a subductingplate. The partial melting is induced by a lowering of the melting temperature, the solidus, by the input of water and other volatiles supplied by phase transitions in the subducting slab. When the buoyant partial melt rises upwards through the mantle, it will usually stall at the base of the crust and pond there. This is because the crust is usually less dense than the underplating magma, and this is the point at which the ascending magma reaches a level of neutral buoyancy.
The evolving melt will remain here until it fractionates enough (through MASH processes) that the remaining melt is less dense than the surrounding rock; the melt will then continue up into the crust, leaving behind the heavier mafic minerals which were crystallized during fractional crystallization. The assemblage of minerals remaining behind are typically mafic or ultramafic, and are responsible for the observed seismic anomaly which indicates underplated material.