The Swat valley ophiolite predominantly consists of ultramafic rocks, which occur as lensoidal masses along the Main Mantle Thrust (MMT) between the Kohistan island arc and Indian plate. On the basis of their petrographic characteristics and modal mineralogy (abundant serpentine + subordinate amounts of bastitised orthopyroxene + variable proportions of olivine + accessory amounts of clinopyroxene + trace to accessory amounts of partly altered chrome spinel), most of the ultramafic rocks can be classified as spinel-, clinopyroxene-bearing harzburgite. Consistent with these mineralogical features, the mentioned rocks contain low to very low amounts of basaltic (Al2O3 and TiO2), low concentration of the moderately incompatible (V, Sc, Zn and Ga) and high levels of moderately compatible to highly compatible components (Fe, Mn, Cr, Co, Ni and Mg). These major, minor and trace element geochemical characteristics suggest that the studied ultramafic rocks largely represent a residue of the upper mantle left after partial melting. A detailed comparison with residual rocks from elsewhere in the world shows that, prior to emplacement during the Cretaceous-Tertiary collision between the Indian plate and the Kohistan arc along the MMT, the source region of the studied rocks had suffered an intermediate degree (15 to 30%) of partial melting.