Dietary ecology of extant great apes is known to respond to environmental conditions such as climate and food availability, but also to vary depending on social status and life history characteristics. Bonobos (Pan paniscus) live under comparatively steady ecological conditions in the evergreen rainforests of the Congo Basin. Bonobos are an ideal species for investigating influences of sociodemographic and physiological factors, such as female reproductive status, on diet. We investigate the long term dietary pattern in wild but fully habituated bonobos by stable isotope analysis in hair and integrating a variety of long-term sociodemographic information obtained through observations. We analyzed carbon and nitrogen stable isotopes in 432 hair sections obtained from 101 non-invasively collected hair samples. These samples represented the dietary behavior of 23 adult bonobos from 2008 through 2010. By including isotope and crude protein data from plants we could establish an isotope baseline and interpret the results of several general linear mixed models using the predictors climate, sex, social rank, reproductive state of females, adult age and age of infants. We found that low canopy foliage is a useful isotopic tracer for tropical rainforest settings, and consumption of terrestrial herbs best explains the temporal isotope patterns we found in carbon isotope values of bonobo hair. Only the diet of male bonobos was affected by social rank, with lower nitrogen isotope values in low-ranking young males. Female isotope values mainly differed between different stages of reproduction (cycling, pregnancy, lactation). These isotopic differences appear to be related to changes in dietary preference during pregnancy (high protein diet) and lactation (high energy diet), which allow to compensate for different nutritional needs during maternal investment.