Quantitative data on longitudinal associations between catastrophizing and pain or physical function are patchy. The study aimed to quantify the prognostic value of catastrophizing for pain and function in fibromyalgia and low back pain before and after rehabilitation.