Hydration forces underlie the exclusion of salts and of neutral polar solutes from hydroxypropylcellulose.