With subjects standing on a treadmill moving sinusoidally backward and forward, recordings of electromyographic (EMG) leg and trunk muscle activity, head and joint movements and platform torque were made with the subjects' eyes open or closed. The sinusoidal frequency was changed, stepwise and randomly, between 0.5,0.3 and 0.25 Hz. The amplitude of the deflection was constant at +/- 12 cm. During an adapted sinus cycle, the maximum leg muscle EMG activity was recorded in the tibialis anterior around the posterior turning point and in the gastrocnemius around the anterior turning point in the treadmill cycle. This activity was associated with a forward inclination of the body around the posterior point and a straightening of the body at the anterior point. Both the degree of body inclination and the corresponding EMG activity were dependent upon the sinusoidal frequency. The programmed adjustment of the body inclination was such that the result of inertial and gravitational forces acting on the body coincided with the axis of the body at the posterior turning point. At the anterior point, the adjustment was achieved mainly by strong activation of the leg extensors. The latencies of the compensatory muscle responses to a change in treadmill frequency were significantly shorter at the posterior point for the gastrocnemius than for the tibialis anterior, and at the anterior point for the tibialis anterior than for the gastrocnemius. No correlated changes were seen in the corresponding head and joint movements. The difference in latency can best be attributed to the different body postures during the sinusoid. Early activation of the gastrocnemius is required due to the forward-directed impulse to the inclined body at the posterior point, and of the tibialis anterior muscle due to the backward-directed impulse to the erect body at the anterior point. It is suggested that afferent input from extensor load receptors provides information about the position of the body's centre of gravity relative to the support surface and determines the generation of the EMG responses. Adaptation of both the EMG and biomechanical patterns to a new sinusoidal frequency of the treadmill occurred within four cycles after the change. Biomechanically, this was reflected as a change in the body posture. Vision did not significantly affect these changes. In conclusion, standing on a sinusoidally moving platform, the nervous system acts to control the position of the body's centre of gravity relative to the feet. Body posture is adjusted in such a way that the forces acting on the body during the treadmill movements become minimised. After adaptation, body equilibrium becomes predominantly controlled by positive feedback from programmed leg muscle activation.