Enalapril can have both protective and adverse effects on the kidneys. By reducing blood pressure, it decreases the workload on the heart and kidneys. However, in patients with pre-existing renal impairment, enalapril may exacerbate kidney dysfunction. This is due to its effect on renal blood flow and filtration pressure, which can lead to acute kidney injury in susceptible individuals.