Reddish brown flocs form along the edge of the Coeur d'Alene River when porewater drains into river water during the annual lowering of water level in the basin. The precipitates are efficient scavengers of dissolved elements and have characteristics that may make metals associated with them bioavailable. This work characterizes the geochemistry of the porewater and models the formation and composition of the flocs. Porewater is slightly acidic, has suboxic to anoxic characteristics, tends to have higher alkalinity, and contains elevated concentrations of many constituents relative to river water. Laboratory mixing experiments involving porewater and river water were done to produce the precipitates. Thermodynamic predictions using PHREEQC indicate that predicted amounts of ferrihydrite and gibbsite agree with removal of Fe and Al. Predictions of element removal by adsorption onto ferrihydrite are consistent with observed removal using a combination of surface complexation constants for the generalized two-layer model (As and Se), alternative surface constants derived from experiments at high sorbate-to-sorbent ratios (Cd, Co, Cu, Ni, Pb, and Zn), and adjusted surface constants to fit experimental data (Cr, Mo, and Sb). This new set of surface complexation constants needs further testing in other contaminated systems.