A reduced amount of blood reaches your kidneys when you have heart failure, causing you to urinate less frequently.

Conversely, if you take diuretics (eg. water pills), you might urinate more frequently, when the excess fluid in your body is eliminated.