Background: Palliative care addresses a range of needs, from symptom management to providing support to patients with hepatocellular cancer (HCC) and their families throughout the illness. However, research on palliative care in HCC remains limited, particularly during the COVID-19 pandemic. This study investigates the healthcare utilization associated with palliative care referral among patients with HCC. Methods: This is a retrospective cross-sectional analysis conducted using the National Inpatient Sample (NIS) database from 2019 to 2021 among patients with HCC age ≥18 years. Results: Among the 35,220 hospitalizations with HCC as the principal diagnosis, 18.7% received inpatient palliative care referrals. Factors associated with increased palliative care referrals included age ≥65 years, Midwest region, Charlson Comorbidity Index (CCI) score ≥3, and end-of-life care, as reflected by discharge resulting in death. No racial or insurance disparities were observed. Palliative care consultations were associated with lower total hospital costs ($20,573 vs $26,035, <0.0001). A higher prevalence of "do-not-resuscitate" status was also found among patients with palliative care referrals. Conclusion: The study provides an understanding of palliative care utilization across pre-pandemic and pandemic periods. Factors such as advanced age, hospital region, and underlying comorbidities influenced the likelihood of referral, with no discernible racial or insurance disparities identified. Palliative care involvement has also been shown to provide cost-effective supportive care with lower hospital costs. These findings provide invaluable guidance for optimizing the integration of palliative care alongside HCC management.