The homeostatic regulation of osmotic pressure in the body in order to maintain a certain water content (concentration of electrolytes, pH, etc).