Long-term performance assessment of nuclear waste repositories is affected by the ability of the outer barrier systems to retain radionuclides after possible corrosive leakage of waste containers. The mobility of the radionuclides released from the spent fuel depends strongly on the processes that take place in the backfill material. The interaction of steel corrosion products and radionuclides is part of such a scenario. In this work, the sorption of Th(IV) onto 2-line-ferrihydrite (FeOOH x H2O) and magnetite (Fe3O4), used as models for steel corrosion products, has been studied using EXAFS spectroscopy. Sorption samples were prepared in 0.1 M NaClO4 solutions at acidic pH (initial pH values in the range 3.0-4.2) either from undersaturation and supersaturation conditions with respect to amorphous ThO2. Two oxygen subshells, one at 2.37 A and another at 2.54 A, were observed in the first hydration sphere of Th in the case of the ferrihydrite samples. Th-Fe distances for the different ferrihydrite samples are approximately 3.60 A. These results indicate a corner sharing surface complex of Th(IV) ion onto the ferrihydrite surface where the Th atom shares one O atom with each of two coordinated octahedra. The longer Th-O distance accounts for coordinated water molecules. No significant changes in the structural environment of Th in terms of coordination numbers and distances were detected as a function of Th(IV) concentration. Magnetite samples sorbing Th(IV) also showed also a strong distortion of the O shell, but in contrast to ferrihydrite, two types of nearest Fe atoms were detected at 3.50 A and 3.70 A. These results indicate that Th(IV) ion sorbs onto the magnetite surface as bidentate-corner sharing arrangements to [FeO6] octahedra and [FeO4] tetrahedra.