Researchers create thin film polymer membranes capable of separating fluoride from chloride and other ions. Targeted ion selectivity by the filtering membranes could have important implications for water purification, environmental remediation and industrial production.