The socio-ecological model (SEM) links ecological factors with characteristics of social systems and allows predictions about the relationships between resource distribution, type of competition and social organisation. It has been mainly applied to group-living species but ought to explain variation in social organisation of solitary species as well. The aim of this study was to test basic predictions of the SEM in two solitary primates, which differ in two characteristics of female association patterns: (1) spatial ranging and (2) sleeping associations. Beginning in August 2002, we regularly (re-)captured and marked individuals of sympatric populations of Madame Berthe's and grey mouse lemurs (Microcebus berthae, Microcebus murinus) in Kirindy Forest (Madagascar). We recorded data on spatial patterns, feeding and social behaviour by means of direct observation of radio-collared females. The major food sources of M. berthae occurred in small dispersed patches leading to strong within-group scramble competition and over-dispersed females with a low potential for female associations. In contrast, M. murinus additionally used patchily distributed, high-quality (large) resources facilitating within-group contest competition. The combined influence of less strong within-group scramble and contest as well as between-group contest over non-food resources allowed females of this species to cluster in space. Additionally, we experimentally manipulated the spatial distribution of food sources and found that females adjusted their spatial patterns to food resource distribution. Thus, our results support basic predictions of the SEM and demonstrated that it can also explain variation in social organisation of solitary foragers.