The population of patients with hepatocellular carcinoma (HCC) overlaps to a high degree with those for chronic kidney disease (CKD) and end-stage renal disease (ESRD). The degrees of renal dysfunction vary, from the various stages of CKD to dialysis-dependent ESRD, which often affects the prognosis and treatment choice of patients with HCC. In addition, renal dysfunction makes treatment more difficult and may negatively affect treatment outcomes. This study summarized the possible causes of the high comorbidity of HCC and renal dysfunction. The possible mechanisms of CKD causing HCC involve uremia itself, long-term dialysis status, immunosuppressive agents for postrenal transplant status, and miscellaneous factors such as hormone alterations and dysbiosis. The possible mechanisms of HCC affecting renal function include direct tumor invasion and hepatorenal syndrome. Finally, we categorized the risk factors that could lead to both HCC and CKD into four categories: Environmental toxins, viral hepatitis, metabolic syndrome, and vasoactive factors. Both CKD and ESRD have been reported to negatively affect HCC prognosis, but more research is warranted to confirm this. Furthermore, ESRD status itself ought not to prevent patients receiving aggressive treatments. This study then adopted the well-known Barcelona Clinic Liver Cancer guidelines as a framework to discuss the indicators for each stage of HCC treatment, treatment-related adverse renal effects, and concerns that are specific to patients with pre-existing renal dysfunction when undergoing aggressive treatments against CKD and ESRD. Such aggressive treatments include liver resection, simultaneous liver kidney transplantation, radiofrequency ablation, and transarterial chemoembolization. Finally, focusing on patients unable to receive active treatment, this study compiled information on the latest systemic pharmacological therapies, including targeted and immunotherapeutic drugs. Based on available clinical studies and Food and Drug Administration labels, this study details the drug indications, side effects, and dose adjustments for patients with renal dysfunction. It also provides a comprehensive review of information on HCC patients with renal dysfunction from disease onset to treatment.