Carbon has been proposed as a potential light element in planetary cores, included in models of planetary core formation, and found in meteoritic samples and minerals. To better understand the effect of C on the partitioning behavior of elements, solid/liquid partition coefficients (D=(solid metal)/(liquid metal)) were determined for 17 elements (As, Au, Co, Cr, Cu, Ga, Ge, Ir, Ni, Os, Pd, Pt, Re, Ru, Sb, Sn, and W) over a range of C contents in the Fe–Ni–C system at 1atm. The partition coefficients for the majority of the elements increased as the C content of the liquid increased, an effect analogous to that of S for many of the elements. In contrast, three of the elements, Cr, Re, and W, were found to have anthracophile (C-loving) preferences, partitioning more strongly into the metallic liquid as the C content increased, resulting in decreases to their partition coefficients. For half of the elements examined, the prediction that partitioning in the Fe–Ni–S and Fe–Ni–C systems could be parameterized using a single set of variables was not supported. The effects of S and C on elemental partitioning behavior can be quite different; consequently, the presence of different non-metals can result in different fractionation patterns, and that uniqueness offers the opportunity to gain insight into the evolution of planetary bodies.