Understanding sorption of pharmaceuticals to sludge is important in risk assessment. Predicting sorption on molecular properties limited by heterogeneous nature of sludge Models based only on the partition coefficient gave poor predictive models. Non-linear artificial neural network models improve predictability. Descriptors that influenced sorbate-sorbent interactions were identified.