Walking is the most common form of how animals move on land. The model organismDrosophila melanogasterhas become increasingly popular for studying how the nervous system controls behavior in general and walking in particular. Despite recent advances in tracking and modeling leg movements of walkingDrosophilain 3D, there are still gaps in knowledge about the biomechanics of leg joints due to the tiny size of fruit flies. For instance, the natural alignment of joint rotational axes was largely neglected in previous kinematic analyses. In this study we therefore present a detailed kinematic leg model in which not only the segment lengths but also the main rotational axes of the joints were derived from anatomical landmarks, namely the joint condyles. Our model with natural oblique joint axes is able to adapt to the 3D leg postures of straight and forward walking fruit flies with high accuracy. When we compared our model to an orthogonalized version, we observed that our model showed a smaller error as well as differences in the used range of motion (ROM), highlighting the advantages of modeling natural rotational axes alignment for the study of joint kinematics. We further found that the kinematic profiles of front, middle, and hind legs differed in the number of required degrees of freedom as well as their contributions to stepping, time courses of joint angles, and ROM. Our findings provide deeper insights into the joint kinematics of walking inDrosophila, and, additionally, help to develop dynamical, musculoskeletal, and neuromechanical simulations.