A new method for the detection of gait cycle phases using only two miniature accelerometers together with a light, portable digital recorder is proposed. Each subject is asked to walk on a walkway at his/her own preferred speed. Gait analysis was performed using an original method of computing the values of temporal parameters from accelerometer signals. First, to validate the accelerometric method, measurements are taken on a group of healthy subjects. No significant differences are observed between the results thus obtained and those from pressure sensors attached under the foot Then, measurements using only accelerometers are performed on a group of 12 patients with unilateral hip osteo-arthritis. The gait analysis is carried out just before hip arthroplasty and again, three, six and nine months afterwards. A mean decrease of 88% of asymmetry of stance time and especially a mean decrease of 250% of asymmetry of double support time are observed, nine months after the operation. These results confirm the validity of the proposed method for healthy subjects and its efficiency for functional evaluation of gait improvement after arthroplasty.