Patients with heart failure (HF) are at increased risk of unmet palliative care needs. The International Classification of Diseases, Ninth Revision ( ICD-9) code, V66.7, can identify palliative care services. However, code validity for specialist palliative care in the Veterans Health Administration (VHA) has not been determined.To validate the ICD-9 code for specialist palliative care and determine common reasons for specialist palliative care consultation among VHA patients hospitalized with HF.Electronic health record review of data from the Veterans Aging Cohort Study.The sample included 100 patients hospitalized with HF from 2003 to 2012.Data from 50 patients with V66.7 were matched by age, race, site of care, hospital length of stay, intensive care unit admission, and fiscal year of study discharge to 50 patients with HF without V66.7 who had died within a year of hospitalization. We calculated positive and negative predictive values (PPV, NPV), sensitivity, and specificity.All patients included in the sample were male, 66% black ethnicity, and mean age = 65 years (standard deviations [SD] ± 10.5 for cases; SD ± 9.8 for matches). Specialist palliative care was documented for 49 of 50 patients with V66.7 (PPV = 98%, 95% confidence interval [CI]: 88-99) and 9 of 50 patients without the code (NPV = 82%, 95% CI: 68-91). Sensitivity was 84% (95% CI: 72-92), and specificity was 98% (95% CI: 86-99). Establishing goals of care was the most frequent reason for palliative care consultation (43% of the sample).The ICD-9 code V66.7 identifies specialist palliative care for hospitalized patients with HF in the VHA. Replication of findings in other data sources and populations is needed.