BackgroundNoncommunicable diseases (NCDs) are one of the major global health challenges in developed countries and are rapidly increasing globally. Perception of self-efficacy is important for complex activities and long-term changes in health behavior. This study aimed to determine whether self-efficacy mediates the effect of individual beliefs (perceived severity, susceptibility, benefits and barriers) among informal settlement residents’ health behavior in relation to the prevention and management of NCDs.MethodsA cross-sectional survey was conducted using a closed-ended questionnaire among informal settlement residents in Diepsloot, Johannesburg. The proposed model was tested using structural equation modeling (AMOS software).ResultsA total of 2,277 participants were interviewed during this survey, consisting of 1,236 (54.3%) females, with the majority of them aged between 20 and 29 years. All constructs in the questionnaire had a good reliability with a Cronbach’s alpha of >0.7. Perceived benefits and perceived barriers were the strongest predictors of self-efficacy, with the highest beta values of 0.14 and 0.15, respectively. Once associated with perceived self-efficacy, the direct effect of perceived susceptibility and perceived benefits on health behavior was statistically nonsignificant (P=0.0894 and P=0.2839, respectively). Perceived benefits and perceived susceptibility were totally mediated by self-efficacy. The indirect effects of perceived severity and perceived barriers (through self-efficacy) on health behavior were significant. Thus, perceived severity and perceived barriers were partially mediated by self-efficacy.ConclusionPerceived susceptibility and perceived benefits did not affect health behavior unless associated with self-efficacy. In contrast, individual perception of the seriousness of NCDs and perceived barriers might still have a direct influence on health behavior even if the person does not feel able to prevent NCDs. However, this influence would be more significant when perceived severity and perceived barriers of NCDs are associated with self-efficacy.