Altruism-putting the patient first-is a fundamental component of physician professionalism. Evidence is lacking about the relationship between physician altruism, care quality, and spending. To determine whether there is a relationship between physician altruism, measures of quality, and spending, hypothesizing that altruistic physicians have better results. This cross-sectional study that used a validated economic experiment to measure altruism was carried out between October 2018 and November 2019 using a nationwide sample of US primary care physicians and cardiologists. Altruism data were linked to 2019 Medicare claims and multivariable regressions were used to examine the relationship between altruism and quality and spending measures. Overall, 250 physicians in 43 medical practices that varied in size, location, and ownership, and 7626 Medicare fee-for-service beneficiaries attributed to the physicians were included. The analysis was conducted from April 2022 to August 2024. Physicians completed a widely used modified dictator-game style web-based experiment; based on their responses, they were categorized as more or less altruistic. Potentially preventable hospital admissions, potentially preventable emergency department visits, and Medicare spending. In all, 1599 beneficiaries (21%) were attributed to the 45 physicians (18%) categorized as altruistic and 6027 patients were attributed to the 205 physicians not categorized as altruistic. Adjusting for patient, physician, and practice characteristics, patients of altruistic physicians had a lower likelihood of any potentially preventable admission (odds ratio [OR], 0.60; 95% CI, 0.38-0.97; P = .03) and any potentially preventable emergency department visit (OR, 0.64; CI, 0.43-0.94; P = .02). Adjusted spending was 9.26% lower (95% CI, -16.24% to -2.27%; P = .01). This cross-sectional study found that Medicare patients treated by altruistic physicians had fewer potentially preventable hospitalizations and emergency department visits and lower spending. Policymakers and leaders of hospitals, medical practices, and medical schools may want to consider creating incentives, organizational structures, and cultures that may increase, or at least do not decrease, physician altruism. Further research should seek to identify these and other modifiable factors, such as physician selection and training, that may shape physician altruism. Research could also analyze the relationship between altruism and quality and spending in additional medical practices, specialties, and countries, and use additional measures of quality and of patient experience.