Summarizing results of three-dimensional (3D) gait analysis into a comprehensive measure of overall gait function is valuable to discern to what extent gait function is affected, and later recovered after surgery and rehabilitation. This study aimed to investigate whether preoperative gait function, quantified and summarized using the Cardiff Classifier, can predict improvements in postoperative patient-reported activities of daily living, and overall gait function 1 year after total hip arthroplasty (THA). Secondly, to explore relationships between pre-to-post surgical change in gait function versus changes in patient-reported and performance-based function. Thirty-two patients scheduled for THA and 25 nonpathological individuals were included in this prospective cohort study. Patients were evaluated before THA and 1 year postoperatively using 3D gait analysis, patient-reported outcomes, and performance-based tests. Kinematic and kinetic gait parameters, derived from 3D gait analysis, were quantified using the Cardiff Classifier. Linear regressions investigated the predictive value of preoperative gait function on postoperative outcomes of function, and univariate correlations explored relationships between pre-to-post surgical changes in outcome measures. Preoperative gait function, by means of Cardiff Classifier, explained 35% and 30% of the total variance in change in patient-reported activities of daily living, and in gait function, respectively. Moderate-to-strong correlations were found between change in gait function and change in patient-reported function and pain, while no correlations were found between change in gait function and performance-based function. Clinical significance: Preoperative gait function predicts postsurgical function to a moderate degree, while improvements in gait function after surgery are more closely related to how patients perceive function than their maximal performance of functional tests.