BackgroundDiagnosis of a chronic illness, such as cancer may influence health behavior changes, such as smoking cessation. The present analyses examine associations between a cancer diagnosis (i.e., yes or no) and response to an opt‐out smoking cessation bedside intervention provided to hospitalized patients. It was hypothesized that patients with a past or present cancer diagnosis would report higher motivation and engagement with quitting smoking, and higher rates of smoking abstinence after hospital discharge, compared to those without a cancer diagnosis.MethodsChart review was conducted on 5287 inpatients who accepted bedside treatment from a counselor and opted‐in to automated follow‐up calls from July 2014 to December 2019.ResultsAt the time of inpatient assessment, those with a past or present cancer diagnosis (n = 419, 7.9%) endorsed significantly higher levels of importance of quitting than those without a cancer diagnosis (3.92/5 vs. 3.77/5), and were more likely to receive smoking cessation medication upon discharge (17.9% vs. 13.3%). Follow‐up data from 30‐days post‐discharge showed those with a cancer diagnosis endorsed higher rates of self‐reported abstinence (20.5%) than those without a cancer diagnosis (10.3%; p < 0.001).ConclusionBeing hospitalized for any reason provides an opportunity for smokers to consider quitting. Having a previous diagnosis of cancer appears to increase intention to quit and lead to higher rates of smoking cessation in patients who are hospitalized compared to patients without cancer. Future research needs to work toward optimizing motivation for smoking cessation while admitted to a hospital and on improving quit rates for all admitted patients, regardless of diagnosis.