Distributions of major, minor, and trace elements in surface sediment of the continental shelf and upper slope of the northeastern Spanish continental margin reflect the influences of discharge from the Ebro River and changes in eustatic sea levels. Multivariate factor analysis of sediment geochemistry was used to identify five groupings of samples (factors) on the shelf and slope. The first factor is an aluminosilicate factor that represents detrital clastic material. The second factor is a highly variable amount of excess SiO2 and probably represents a quartz residuum originating from winnowing of relict detrital sediments. A carbonate factor (Factor 3) has no positive correlation with other geochemical parameters but is associated with the sand-size fraction. The carbonate in these sediments consists of a mixture of biogenic calcite and angular to subangular detrital grains. Organic carbon is associated with the aluminosilicate factor (Factor 1) but also factors out by itself (Factor 4); this suggests that there may be two sources of organic matter, terrestrial and marine. The fifth factor comprises upper slope sediments that contain high concentrations of manganese. The most likely explanation for these high manganese concentrations is precipitation of Mn oxyhydroxides at the interface between Mn-rich, oxygen-deficient, intermediate waters and oxygenated surface waters.