BackgroundSouth Africa has a history of low breastfeeding rates among women with and without Human Immunodeficiency Virus (HIV). In this study, we assessed infant feeding knowledge, perceptions and practices among pregnant and postpartum women with and without HIV, in the context of changes in infant feeding and Prevention of Mother-to-Child Transmission of HIV (PMTCT) guidelines.MethodsThis was a cross-sectional survey conducted from April 2014 to March 2015 in 10 healthcare facilities in Johannesburg, South Africa. A total of 190 pregnant and 180 postpartum women (74 and 67, respectively, were HIV positive) were interviewed using a semi-structured questionnaire. Multiple regression analyses assessed factors associated with an intention to exclusively breastfeed, and exclusive breastfeeding of infants less than six months of age.ResultsWomen with HIV had better overall knowledge on safe infant feeding practices, both in general and in the context of HIV infection. There were however gaps in knowledge among women with and without HIV. Information from healthcare facilities was the main source of information for all groups of women in the study. A greater percentage of women without HIV 80.9% (93/115), reported an intention to exclusively breastfeed, compared to 64.9% (48/74) of women with HIV, p = 0.014. Not having HIV was positively associated with a reported intention to breastfeed, Adjusted Odds Ratio (AOR) 3.60, 95% CI 1.50, 8.62. Other factors associated with a reported intention to exclusively breastfeed were prior breastfeeding experience and higher knowledge scores on safe infant feeding practices in the context of HIV infection. Among postpartum women, higher scores on general knowledge of safe infant feeding practices were positively associated with reported exclusive breastfeeding, AOR 2.18, 95% CI 1.52, 3.12. Most women perceived that it was difficult to exclusively breastfeed and that cultural factors were a barrier to exclusive breastfeeding.ConclusionsWhile a greater proportion of women are electing to breastfeed, HIV infection and cultural factors remain an important influence on safe infant feeding practices. Healthcare workers are the main source of information, and highlight the need for accurate and consistent messaging for both women with and without HIV.