Fluid retention occurs when excess fluids build up inside your body. Fluid retention is also known as water retention or edema. This commonly occurs in the circulatory system or within tissues and cavities and can cause swelling in the hands, feet, ankles and legs.