Pressure measurement at the foot-ground contact zone provides necessary information for detecting the phases of the human gait. The human gait is a complicated process and, therefore, it is not possible to distinguish its stages simply by comparing the foot-ground surface pressure to threshold values. In this paper we propose a new method for human gait phases recognition using an adaptive network-based fuzzy inference system which processes data measured by pressure sensors located underneath footbed inserts. This method is intended to bring some additional information to the lower limb exoskeleton control system as well as for gait diagnostic purposes. The device uses only three pressure sensors for each foot. In order to verify the results of the study, measurements with sensors placed under the footbed inserts has been performed and the pressure at the foot-ground contact points during the walk has been investigated. Twelve models of gait phase classifiers were created. The performance of each classifier has been tested for a previously unknown pressure pattern that corresponds to the natural gait. Based on the quality of gait matching the test run, the best model of the classifier was selected.