We examined associations between country, neighbourhood, and individual socioeconomic position (SEP) and attitudes towards intimate partner violence against women (IPVAW). We applied multivariable multilevel logistic regression analysis on Demographic and Health Survey data for 165,983 women and 68,501 men nested within 7465 communities from 17 countries in sub-Saharan Africa collected between 2003 and 2007. Contrary to expectation women were 34% more likely to justify IPVAW than men. We found that sex moderates associations of individual-, neighbourhood-, and country-level SEP with attitudes towards IPVAW. There was a significant positive interaction effect between sex and education attainment; women with no education were more likely to justify IPVAW than men with no education. Negative sex interaction with household wealth status indicates that differences in attitude are less pronounced among women. Unemployed men were more likely to justify IPVAW. Interaction effects indicate that the association of neighbourhood socioeconomic disadvantage with attitudes was more pronounced among women than among men. The association of country-level SEP with attitudes towards IPVWA was inconclusive. There was some evidence that neighbourhood modified the association between individual SEP and attitudes towards IPV. Also, there was cross-level interaction between country and neighbourhood SEP. Neighbourhood and individual SEP were independently associated with attitudes towards IPVAW. The relationship with country-level SEP was inconclusive. The findings underscore the need to implement public health prevention/intervention strategies not only at the level of individual SEP but also at the neighbourhood level.