Abstract Peridotite–magma interaction is important in establishing magma pathways through the mantle and in metasomatism of the lithospheric mantle. Reactions that consume orthopyroxene and produce olivine and clinopyroxene are of particular interest because these reactions should lead to a redistribution of trace elements between the solid and melt phases at equilibrium. This study examines interaction of a silica-undersaturated alkaline basalt (basanite) with a range of peridotite compositions from dunite, through harzburgite to wehrlite at 1250°C and 1 GPa. Our experiments used the natural concentration of trace elements in the starting materials which allowed us to measure mineral—olivine partition coefficients for Rb, Ca, Co, Sr, Sc, Ct, Y, Ti, V and Zr. For orthopyroxene—and clinopyroxene—melt we additionally measured partitioning of Cs, Ba, all rare earth elements (REE; except Pm), Hf, Th, U, Nb and Ta. We show that there are subtle variations in the partition coefficients, particularly of the REEs that are related to the bulk composition of the system. We also show that with the exception of cations that can have multiple valence states, e.g. vanadium, the lattice strain model and in particular the double fit routine gives excellent agreement between the calculated and experimentally determined partition coefficients. The double fit model allows us to examine the effect of mineral composition on partitioning such that we can show preference of trace elements for the M1 and M2 sites in the pyroxenes. Although our results are similar to those of previous studies, there are two main differences: first we have a complete set of partition coefficients for every trace element that is measurable by LA-ICPMS in our starting material, where previous studies may be missing one or more elements in particular one or more of the middle REE in the pyroxenes Second, we show that although partition coefficients for trace elements in orthopyroxene are comparable between this and previous studies, the REE in clinopyroxene are typically a factor of 2–3 lower in this study. We also note that are correlations between partition coefficient and the composition of olivine, orthopyroxene, clinopyroxene and glass (melt). The relation of partitioning to melt composition suggests that some further development of the lattice strain model is needed. Finally, we show that there is agreement between our measured partition coefficients and those predicted from parameterized models of clinopyroxene–melt partitioning, however, there are unresolved differences that may result from differences in the substitution mechanisms of trace elements in M1 vs. M2 sites in clinopyroxene that are in part related to the composition of the coexisting melt.