This retrospective study found that, in hospitalized cancer patients, length of stay and number of medications were risk factors for potential drug interactions.