Element partition coefficients play key roles in understanding various geological processes and are typically measured by performing high-temperature–pressure (HTP) experiments. In HTP experiments, samples are usually enclosed in capsules made of noble metals. Previous studies have shown that Fe, Ni, and Cu readily alloy with noble metals, resulting in significant loss of these elements from the experimental samples. The loss of elements could severely undermine phase equilibrium and compromise the validity and accuracy of the obtained partition coefficients. However, it remains unclear if other elements (in addition to Fe, Ni, and Cu) will also be lost from samples during HTP experiments, and how to minimize such losses. We performed a series of experiments at 1 GPa and 1400 °C to investigate which elements will be lost from samples and explore the influence of capsule materials and oxygen fugacity (fO2) on the loss behavior of elements. The starting material is a synthesized basaltic glass consisting of 8 major elements and 37 trace elements. The sample capsules included platinum (Pt), graphite-lined Pt, and rhenium-lined Pt, and the experimental oxygen fugacity (fO2) was buffered from