BackgroundHuman behavior patterns involve mutual interactions among psychology, physiology, and stress, which are all associated with gait at different grades. Research questionsThe study aims to reveal the interrelationship among personality, mental workload, and gait patterns by capturing gait variations using inertial sensors. It also assesses individual personality traits and simulates stress to construct a gait classification model. MethodsSixty participants were instructed to perform regular, low, and high mental workload walking on the corridor to simulate a natural setting walking. Meanwhile inertial measurement units (IMUs) were placed on eight body parts. Mental workload was induced using the auditory n-back task, and their Big Five personality traits were evaluated. Gait data from IMUs were categorized into nine classifications of average, low, and high Big Five Inventory scores with three levels of mental workload walking. Subsequently, the segmentation gait data were used as input features for classifications in deep learning models, employing a sliding window long short-term memory network for nine classifications for different personality dimensions. ResultsThe results indicated average accuracies of nine classifications were 83.6 % for Openness, 84.4 % for Conscientiousness, 82.0 % for Extraversion, 85.2 % for Agreeableness, and 84.5 % for Neuroticism across all IMU placements. Remarkably, gait data from the lower back IMU achieved the highest model performance, with an average accuracy of 92.7 %, in classifying the different levels of personality and mental workload walking. In contrast, the left wrist and chest showed several misclassifications among regular, low, and high mental workload walking across personality traits. SignificanceSuccessful classification can help monitor an individual's mental state in real time and analyze personality dimensions, providing feedback and suggestions. The present study demonstrated that gait characteristics can contribute to more profound and personalized health information.