Abstract. We revised the current status of the apsidal-motion test to stellar structure and evolution. The observational sample was increased by about 50% in comparison to previous studies. Classical and relativistic systems were analyzed simultaneously and only systems with accurate absolute dimensions were considered. New interior models incorporating recent opacity tables, stellar rotation, mass loss, and moderate core overshooting were used as theoretical tools to compare the predicted with the observed shifts of the position of the periastron. The stellar models were computed for the precise observed masses and the adopted chemical compositions are consistent with the corresponding tables of opacities to avoid the inherent problems of interpolation in mass and in (X, Z). The derived chemical composition for each individual system was used to infer the primordial helium content as well as a law of enrichment. The values found are in good agreement with those obtained from various independent sources. For the first time, the effects of dynamic tides are taken into account systematically to determine the contribution of the tidal distortion to the predicted apsidal-motion rate. The deviations between the apsidal-motion rates resulting from the classical formula and those determined by taking into account the effects of dynamic tides are presented as a function of the level of synchronism. For systems close to synchronisation, dynamic tides cause deviations with respect to the classical apsidal-motion formula due to the effects of the compressibility of the stellar fluid. For systems with higher rotational angular velocities, additional deviations due to resonances arise when the forcing frequencies of the dynamic tides come into the range of the free oscillation modes of the component stars. The resulting comparison shows a good agreement between the observed and theoretical apsidal-motion rates. No systematic effects in the sense that models are less mass concentrated than real stars and no correlations with the evolutionary status of the systems were detected.