An impaired renal function and advanced heart failure represent independent predictors of the incidence of malignant ventricular arrhythmias in patients with an implantable cardioverter/defibrillator for primary prevention.