Liver disease is often associated with dysfunctional potassium homeostasis but is not a well-established risk factor for hyperkalemia. This retrospective cohort study examined the potential relationship between liver disease and recurrent hyperkalemia. Patients with ≥1 serum potassium measurement between January 2004 and December 2018 who experienced hyperkalemia (serum potassium >5.0 mmol/L) were identified from the United States Veterans Affairs database. A competing risk regression model was used to analyze the relationship between patient characteristics and recurrent hyperkalemia. Of 1,493,539 patients with incident hyperkalemia, 71,790 (4.8%) had liver disease (one inpatient or two outpatient records) within 1 year before the index hyperkalemia event. Recurrent hyperkalemia within 1 year after the index event occurred in 234,807 patients (15.7%) overall, 19,518 (27.2%) with liver disease, and 215,289 (15.1%) without liver disease. The risk of recurrent hyperkalemia was significantly increased in patients with liver disease versus those without (subhazard ratio, 1.34; 95% confidence interval, 1.32–1.37; p < 0.0001). Aside from vasodilator therapy, the risk of recurrent hyperkalemia was not increased with concomitant medication. In this cohort study, liver disease was an independent risk factor strongly associated with recurrent hyperkalemia within 1 year, independent of concomitant renin–angiotensin–aldosterone system inhibitor or potassium-sparing diuretic use.