Analyses of health care disparities in Medicare using administrative race and ethnicity data have typically been limited to Black and White beneficiaries. This is in part due to the small size of the other categories, inaccuracies in the race and ethnicity codes, and caveats that more extensive analyses would produce biased results. While previous Medicare efforts certainly improved the accuracy of race and ethnicity coding, we have developed an imputation algorithm that dramatically improves the accuracy of coding for Hispanic and Asian or Pacific Islander beneficiaries. When compared with self-reported race and ethnicity, sensitivity increased from 29.5 to 76.6 percent for Hispanic and from 54.7 to 79.2 percent for Asian and Pacific Islander beneficiaries, with no loss of specificity, and Kappa coefficients reaching 0.80. As a result, 2,245,792 beneficiaries were recoded to Hispanic and 336,363 to Asian or Pacific Islander.