Upstream treatment that removes particles, organics, scale-forming minerals, and biological contaminants before a membrane process. Effective pretreatment protects membranes, maintains performance, and extends operating life.