Background as Predictors of Food Safety Behavior in Peruvian University Students: The Mediating Role of Food Safety Attitudes
Jairo I. González-Linares, Hypatia Ynfante-Acuña, Saúl Vara-Allhuirca, David Quispe-Sanca, Wilter C. Morales-García

TL;DR
This study explores how background factors like experience and education influence food safety behavior among Peruvian university students, with attitudes playing a partial mediating role.
Contribution
The novelty lies in demonstrating the modest mediating role of attitudes in translating background factors into food safety behavior among university students.
Findings
Background factors and attitudes together explain 31.8% of food safety behavior.
Attitudes partially mediate the relationship between background factors and behavior.
Women scored higher in specific food safety practices, but no gender differences were found in structural paths.
Abstract
Background: Foodborne diseases (FBDs) pose a significant threat to public health and are particularly relevant among university students, who often face limitations in time, resources, and experience in food handling. This study examined the influence of background factors (experience and education) on food safety behavior and the mediating role of attitudes among Peruvian students. Methods: A cross-sectional study was conducted with 814 university students (53.8% female; 82.1% aged 17–22 years; 77.4% from private universities). Three validated scales were applied: background factors, attitudes, and behavior, all demonstrating acceptable reliability (α ≥ 0.71). Analyses were performed using PLS-SEM with 5000 bootstraps, confirming the convergent and discriminant validity of the constructs. Results: Results showed that background factors accounted for a small proportion (5.7%) of the…
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsFood Safety and Hygiene · Risk Perception and Management · Food Security and Health in Diverse Populations
1. Introduction
Foodborne diseases (FBDs) remain a preventable yet persistent threat to public health and human capital, with approximately 600 million cases and 420,000 deaths in 2010, representing 33 million DALYs, largely attributable to norovirus and Campylobacter spp. [1]. While public attention often focuses on food services and supply chains, a substantial proportion of the risk originates within households, where daily decisions about food selection, storage, preparation, and serving determine actual exposure to pathogens [2,3]. This household perspective is especially critical for university students, who transition from family or institutional meals to shared kitchens with limited time, budgets, and equipment, in environments strongly influenced by peers and social norms [4,5]. The literature consistently reveals gaps in knowledge, suboptimal attitudes, and risky practices among university students, particularly in areas such as temperature control, prevention of cross-contamination, and hand hygiene, with variations by region and academic discipline [6,7,8,9]. Young adults are less likely to verify cooking with a thermometer, tend to underestimate the risks associated with undercooked ground meat and eggs, and frequently fail to avoid cross-contamination, widening the gap between “knowing” and “doing” [3,10,11,12]. These gaps are not merely cognitive; they reflect systems of beliefs, perceived control, and social norms that shape the execution of safe behaviors under time pressure and limited resources [4,5].
The Theory of Planned Behavior (TPB) provides a solid framework to explain how attitudes, subjective norms, and perceived behavioral control shape intentions and actual behavior in the kitchen [13,14]. A systematic review and meta-analysis on food safety demonstrated that TPB constructs significantly predict intentions, with subjective norms playing a particularly strong role in behaviors such as using thermometers, separating raw from ready-to-eat foods, or adhering to the “5 °C rule” for refrigeration [15]. Extensions of TPB that incorporate explicit knowledge and affective risk appraisal reveal that beliefs about outcomes and emotions such as disgust or concern influence the persistence of inadequate household practices [16]. Among university students who are highly exposed to the influence of peers and digital networks, these social and perceived-control pathways become particularly powerful, either enhancing or inhibiting the translation of attitudes into behavior [15]. From this standpoint, variables such as formal education, previous experiences of foodborne disease (FBD), and cooking frequency are considered “distal antecedents” that do not directly determine behavior but rather shape the beliefs and perceptions that feed into attitudes and perceived control [13,14].
Background factors, such as formal education and practical experience, operate as distal determinants shaping the beliefs and self-efficacy that sustain attitudes [13,14]. Classical studies show that students in food-related disciplines (e.g., nutrition, food science, hospitality) outperform their peers from other fields in knowledge and, sometimes, in practice, likely due to curricular exposure and vocational self-selection [9,17]. Recent evidence replicates this pattern and highlights the effect of cumulative experiential learning: higher frequency of cooking and previous training are associated with greater knowledge and, in some cases, safer practices, although the translation into consistent behavior is never automatic [5,18]. The persistent “knowledge practice gap” reflects how contextual constraints, competing motivations, and weak norms prevent knowledge from materializing into action [12,18]. In this context, the different components that make up the antecedents—formal courses, sources of knowledge, cooking frequency, and previous experiences with FBD—can be understood theoretically as manifestations of a single “experiential capital” or prior background in food safety that predisposes individuals to certain beliefs, attitudes, and levels of self-efficacy [4,5,10,11]. In line with the TPB and its extensions, in which several related indicators are grouped into common distal factors, these antecedents are modeled in the present study as a single reflective latent construct of food safety background that summarizes students’ prior preparation in this domain [7,9,19].
The informational dimension alone has shown diminishing returns. Meta-analyses of educational interventions, particularly online ones, report modest improvements in knowledge and small or inconsistent effects on attitudes and practices. This suggests that information transfer needs to be complemented by motivational and environmental levers [20,21]. Among university students, mobile interventions improved KAP (Knowledge, Attitudes, and Practices) components but revealed the fragility of behavior change when contextual barriers and social reinforcers are not addressed [22]. These findings support multicomponent strategies: skill training (e.g., thermometer use, effective disinfection), environmental restructuring (e.g., access to supplies and equipment in residences), and normative messaging leveraging peer influence all aligned with the TPB framework [15]. Internal heterogeneity within the student population adds complexity. International students and first-year students face unfamiliar foods, rules, and equipment. Those experiencing financial insecurity or heavy workloads tend to prioritize cost and convenience, while certain cultural practices, such as consuming raw or undercooked foods, increase risk if not paired with appropriate controls, reshaping attitudes and perceived control [3,12]. Differences by gender and maternal education have been linked to better practices and greater receptivity to training, suggesting opportunities to tailor content and support [23,24,25]. The COVID-19 pandemic, by increasing home cooking and attention to hygiene, demonstrated the malleability of attitudes under heightened perceived risk and, at the same time, the resilience of habits and structural constraints, as well as the ambivalent role of digital ecosystems in shaping norms and perceived control [8].
Historically, the KAP (Knowledge, Attitudes, Practices) model has been used to diagnose gaps and guide interventions. However, its linear assumptions underestimate the motivational and environmental complexity of everyday behavior, leading to the increasing adoption of TPB and the Theory of Reasoned Action, which integrate self-efficacy, norms, and perceived control [20,26,27,28]. university students, differences in discipline, exposure to courses, and cooking experience serve as “ground setters” that shape beliefs and intentions, explaining why students with similar knowledge levels may diverge in practical execution [5,9]. The contemporary emphasis has shifted from merely “increasing information” to “activating motivations, capacities, and favorable norms” to close the intention–action gap in real-world contexts [15,21]. In this study, attitudes toward food safety are conceptualized as cognitive (perceived importance, outcome beliefs) and affective (concern, disgust) components linked to safe food handling [16]. Background factors are defined as formal food safety education (courses, workshops), field of study (food-related vs. non-food-related), cooking frequency, and self-reported history of FBDs, functioning as distal determinants that influence beliefs and self-efficacy [9]. Behavior is operationalized through practices with proven links to risk reduction: hand hygiene, prevention of cross-contamination, temperature control, and safe cooling/reheating practices where most failures are observed among university students [4,7,10]. In sum, the challenge is not only to transmit “what to do,” but to foster conditions under which “doing the right thing” is feasible and socially approved in student kitchens, aligning motivations, capabilities, and norms with what the evidence identifies as behaviors with the greatest preventive impact [15,20]. From this perspective, attitudes constitute one of the proximal mechanisms through which education and experience can be translated—only partially—into safe practices, while other unmeasured determinants, such as social norms, habits, and environmental constraints, also contribute substantially to behavior [20,21]. Consequently, our study assumes from the outset that the mediating effect of attitudes will likely be moderate in magnitude and will coexist with direct pathways between antecedents and behavior that do not operate through attitudes.
This orientation places attitudes as a proximal lever for change, nourished by education and experience, and suggests that closing the knowledge–practice gap requires intervening on beliefs and contexts, not only on content [20,21]. This orientation places attitudes as a proximal lever for change, nourished by education and experience, and suggests that closing the knowledge–practice gap requires intervening on beliefs and contexts, not only on content [15,16].
Based on this literature review, we examined the following research hypotheses (Figure 1):
H1. Food safety background factors are positively associated with food safety behavior among Peruvian university students.
H2. Food safety attitudes are positively associated with food safety behavior among Peruvian university students.
H3. Food safety background factors are positively associated with food safety attitudes among Peruvian university students.
H4. Attitudes mediate the relationship between background factors and food safety behavior.
H5. Gender moderates the relationship between attitudes, background factors, and food safety behavior.
2. Methods
2.1. Participants
An explanatory and cross-sectional study was conducted with the objective of analyzing the relationships between background factors, attitudes, and food safety behavior among Peruvian university students. This design also allows for the evaluation of possible mediation effects through a structural equation modeling (SEM) approach [29]. Participants were selected using a non-probabilistic sampling method. The minimum sample size was calculated using Soper’s electronic tool [30], taking into account the number of observed and latent variables in the SEM model, the expected effect size (λ = 0.30), the statistical significance level (α = 0.05), and the statistical power (1 − β = 0.80). The result indicated a minimum of 119 participants. The majority of participants were female (53.8%). Regarding age, the predominant group was between 17 and 22 years old (M = 20.60; SD = 3.044). In terms of geographic origin, most participants came from the Sierra region (43.2%). Finally, most students were enrolled in private universities (77.4%) (Table 1).
2.2. Procedure
Data collection was carried out between August and November 2024 using a Google Forms questionnaire. The invitation to participate was distributed through Facebook, institutional emails, and university announcements. Before initiating the application process, permissions were requested and obtained from the administrations of the participating universities, ensuring formal authorization and access to conduct fieldwork. A total of 15 questionnaires were excluded due to being incomplete or containing inconsistent responses, thus ensuring the quality of the data analyzed. The study was approved by the Ethics Committee of Universidad Peruana Unión under Resolution No. 748-2024/UPeU-EPG-CEPG-D. All students signed a digital informed consent form before participating, and confidentiality and anonymity of their information were guaranteed. The study was conducted following the ethical principles of the Declaration of Helsinki.
2.3. Measures
The adaptation of the instruments was carried out following international methodological guidelines for the translation and cultural adaptation of scales [31].
Two bilingual translators, native Spanish speakers, independently translated the original instruments into Spanish. Both versions were then compared, and a consensus version was developed to ensure semantic and conceptual accuracy.The consensus Spanish version was back-translated into English by two native English speakers proficient in Spanish who had no prior knowledge of the instruments. This step aimed to verify that the original meaning of the items remained unchanged.A committee composed of two specialists and the study authors evaluated both the Spanish version and the back-translations. The committee reviewed content, clarity, and cultural appropriateness, producing a preliminary version ready for piloting.The preliminary version was administered to a pilot group of 5 university students with characteristics similar to those of the final sample. No ambiguous terms or comprehension difficulties were identified during this process, indicating that the items were appropriate for the Peruvian university population. Therefore, no further modifications were made. As a result, final versions of the three instruments were obtained, suitable for use in the Peruvian context. These are described below, and the complete model is provided in Appendix A.
Background in Food Safety (BFS): The Food Safety Background Factors Scale adapted from Marklinder et al. [32] was used. It consisted of eight items distributed across three dimensions: cooking and handling experience, courses taken on food safety, and sources of food safety knowledge. The items were rated on a 5-point Likert scale: the first four items from 1 = Never to 5 = Every day, and the remaining four from 1 = Strongly disagree to 5 = Strongly agree. In the original studies, these indicators are integrated into a single latent “Background” factor that combines practical experience, educational exposure, and main sources of information, showing that these prior exposures form a common underlying domain that predicts food safety knowledge, attitudes, and behavior [32]. In line with this conceptualization, in the present study, these items were modeled as reflective indicators of a single latent construct of background or “experiential capital” in food safety, summarizing students’ overall level of prior exposure to food safety content and practices. This decision is consistent with recommendations for specifying higher-order constructs in PLS-SEM when several related facets represent the same conceptual domain [32,33,34]. The internal consistency and validity of this construct were evaluated using internal reliability indices and convergent and discriminant validity, with results presented in the Results section.
Food Safety Attitudes (AFS): The Food Safety Attitudes Scale adapted from Sanlier and Baser [35] was used. It comprises 11 items rated on a 5-point Likert scale (1 = Strongly disagree to 5 = Strongly agree). This reflective scale was designed to assess participants’ perceptions and attitudes regarding food safety. In this study, the internal reliability of the scale was evaluated using Cronbach’s alpha and composite reliability (ρc), and convergent validity was assessed through the Average Variance Extracted (AVE). Values of ρc ≥ 0.70 and AVE ≥ 0.50 were considered acceptable, in accordance with recommendations for PLS-SEM models [33]. The specific values of these indices are reported in the Results section.
Food Safety Behavior (FSB): Behavior was assessed using the Food Safety Behavior Scale, which measured participants’ practices related to food safety. This reflective instrument consisted of 21 items distributed across 5 dimensions: personal hygiene, equipment hygiene, food hygiene, cross-contamination, and storage conditions. Items were rated on a 5-point Likert scale (1 = Strongly disagree to 5 = Strongly agree). As with the attitudes scale, internal reliability was evaluated using Cronbach’s alpha and composite reliability (ρc), and convergent validity was assessed via AVE. Since in PLS-SEM ρc is considered a more appropriate indicator than Cronbach’s alpha for scales with few items per dimension, greater weight was given to the combination of ρc (≥0.70) and AVE (≥0.50) when assessing the internal consistency of the subscales [35]. In cases where α values slightly below the conventional threshold were observed in any subdimension, the decision to retain items was based on the adequacy of ρc and AVE, as well as the importance of preserving content coverage; the results of these analyses are detailed in the Results section.
2.4. Statistical Analysis
The reflective nature of the constructs was confirmed through a confirmatory tetrad analysis (CTA-PLS), in which less than 80% of the tetrads were significant (p < 0.05), a criterion that supported retaining the reflective specification of the background, attitudes, and behavior constructs [36]. Mardia’s test showed a lack of multivariate normality; therefore, descriptive-comparative analyses were conducted using the median as the measure of central tendency. The homogeneity of responses between men and women was assessed using Mood’s median test (α = 0.05).
Subsequently, the measurement model and the structural model were evaluated using structural equation modeling with the partial least squares technique (PLS-SEM), employing the SEMinR package in the R programming language (version 4.5.2; R Foundation for Statistical Computing, Vienna, Austria) and the open-source RStudio environment (version 2025.09.2) [37]. A two-step approach was followed: first, the measurement model was evaluated and, once its adequacy was established, the structural model was estimated [36].
In the measurement model, factor loadings were calculated for individual items, using a recommended reference value of 0.70. Convergent validity was assessed through the Average Variance Extracted (AVE), and discriminant validity through the Heterotrait–Monotrait Ratio (HTMT). AVE values ≥ 0.50 and HTMT values below 0.85–0.90 were considered acceptable, in accordance with PLS-SEM guidelines [36]. With respect to reliability, Cronbach’s alpha and composite reliability (ρc) were used in a complementary manner, adopting ρc (≥0.70) together with AVE (≥0.50) as the main criteria for interpretation, since in PLS-SEM ρc more accurately captures the reliability of reflective constructs with a reduced number of items.
In the structural model, path coefficients were estimated among background, attitudes, and behavior, as well as coefficients of determination (R^2^) to assess the proportion of explained variance in the endogenous variables. Effect sizes (f^2^) of each predictor on the endogenous constructs were also calculated, using conventional cut-off points for small, medium, and large effects. Mediation hypotheses were analyzed using a systematic bootstrapping procedure with 5000 resamples, obtaining direct, indirect, and total effects along with their 95% confidence intervals. This procedure made it possible to estimate the partial mediation of attitudes in the relationship between background and behavior, as well as to quantify the magnitude of the mediated effect.
Finally, multigroup analyses were conducted in PLS-SEM to explore potential gender moderation, estimating the model separately for men and women and comparing path coefficients between groups via bootstrapping. Differences in structural paths were evaluated based on confidence intervals and p-values associated with the coefficient differences, which allowed determining whether gender did or did not modify the strength of the associations among background, attitudes, and behavior.
The study was conducted following the workflow shown in Figure 2.
3. Results
3.1. Descriptive-Comparative Analysis of the Study Variables
Table 2 presents the distribution of scores for the study variables and their respective dimensions. Overall, participants show an intermediate level of food safety background (Median = 3.38). Only the cooking experience (CE) dimension showed significant sex differences (p < 0.05), indicating that women reported performing food handling tasks more frequently. In the food safety attitudes scale, a median of 4 was observed in both sexes, with an IQR ≤ 1, which reflects favorable attitudes and low variability, with no significant differences between men and women. Regarding food safety behavior, scores fell between “almost always” and “always,” with particularly high values in the dimensions of personal hygiene (PH) (Median = 4.25) and food hygiene (FH) (Median = 4.33). Women also scored significantly higher (p < 0.05) in PH, FH, and cross-contamination (CC), indicating a higher self-reported frequency of these practices compared with men, without implying qualitative superiority in food safety skills.
3.2. Evaluation of the Measurement Model
Table 3 presents the standardized factor loadings (λ), internal reliability coefficients (Cronbach’s alpha and composite reliability, CR), and the average variance extracted (AVE) for each construct and its subdimensions, reported by sex and for the overall sample. Interpretation of these results was based on commonly accepted cut-off values in the literature: λ ≥ 0.70, α ≥ 0.70, CR ≥ 0.70, and AVE ≥ 0.50 [33]. The items adapted and used in Spanish showed significant overall Aiken’s content validity coefficients for Background (V ≥ 0.85, p < 0.05), Attitudes (V ≥ 0.94, p < 0.05), and Behavior (V ≥ 0.96, p < 0.05), confirming that the experts considered the items to be pertinent and representative of the constructs assessed. Most items displayed high and significant factor loadings (λ ≥ 0.70, p < 0.01). The lowest values (λ ≈ 0.63–0.69) were observed for AFS6, AFS7, AFS9, AFS10, FSB5, FSB8, FSB13, and FSB15; however, since they exceeded the 0.60 threshold and contributed to the conceptual coherence of the dimensions, they were retained in the model.
With respect to construct reliability, some subdimensions (e.g., CE, CC and specific attitude items) showed Cronbach’s alpha values slightly below the 0.70 threshold reported in the literature [33]. This pattern is consistent with the well-known sensitivity of α to the number of items, which tends to underestimate reliability in short subscales [38]. Importantly, in all cases the composite reliability (CR) exceeded the recommended minimum value and the AVE was above 0.50, supporting adequate internal consistency and convergent validity for these subdimensions [33,38]. In line with current recommendations for PLS-SEM, where CR is considered a more appropriate indicator of reliability than α for reflectively measured constructs with few items, we adopted CR and AVE as the primary criteria to judge the quality of the measurement model [39]. As an additional check, sensitivity analyses excluding items with lower loadings did not materially change the structural relationships or improve reliability indices enough to justify item removal; therefore, all items were retained to preserve content coverage.
Table 4 and Table 5 complement this evaluation through an analysis of discriminant validity. Cross-loadings show that each item loads more strongly on its theoretical construct than on the others, while the Fornell–Larcker criteria (square roots of the AVE greater than the correlations between constructs) and the HTMT values remain within the recommended ranges. Taken together, these results support the convergent and discriminant validity of the measurement model for both sexes and for the total sample.
3.3. Evaluation of the Structural Model
Figure 3 shows the path diagram of the structural equation model estimated using partial least squares (PLS-SEM). The model represents the structural relationships among the constructs Background, Attitudes, and Behavior in food safety, including their respective dimensions. The results indicate that Background explains 5.7% of the variance in Attitudes (R^2^ = 0.057). This value indicates that food safety background (capital experiencial) has a statistically significant but modest capacity to predict attitudes, leaving a substantial proportion of their variance to other unmeasured factors. In turn, the combination of Background and Attitudes increases the explained variance of Food Safety Behavior to 31.8%, which reflects a moderate level of explained variance for behavior in everyday food handling.
Table 6 summarizes the estimated direct effects (H1–H3). In both sexes, Background exerts a positive, moderate, and statistically significant effect on Behavior (β > 0.260, T > 6.5, p < 0.001), while Attitudes show an even stronger effect. Although the standardized coefficient for Attitudes is larger than that of Background, both predictors contribute meaningfully to explaining Food Safety Behavior and should be interpreted as complementary rather than as a single dominant mechanism. The coefficients were slightly higher in women (e.g., AFS → FSB: β = 0.472, T = 11.420, p < 0.001), but these differences were not statistically significant in the multigroup comparisons (see Table 8), indicating thatthe pattern of associations among Background, Attitudes, and Behavior is structurally similar across sexes.
3.4. Mediation Analysis
Table 7 shows that the BFS → AFS → FSB pathway is significant in men (β = 0.141, T = 5.293, p < 0.001), in women (β = 0.100, T = 3.181, p < 0.001), and in the overall sample (β = 0.114, T = 5.692, p < 0.001).
Since the direct effect of BFS on FSB (H1) was also significant, these results indicate the presence of partial mediation: background influences behavior both directly and indirectly through attitudes. The indirect pathway BFS → AFS → FSB accounts for approximately 30% of the total effect of background on behavior (0.114 ÷ 0.38 ≈ 0.30) in the overall sample, which corresponds to a statistically robust but modest mediation effect. In other words, attitudes help to translate prior food safety experience and education into safer practices, while a considerable proportion of the influence of background on behavior operates through other mechanisms not captured in this model.
3.5. Multigroup Analysis
Table 8 presents the results of the multigroup analysis used to test gender moderation (Hypothesis 5). No statistically significant differences at the 5% level were observed between men and women in any of the paths evaluated. Although the difference in the coefficient for the BFS → AFS path approaches the 10% significance threshold (path diff. = 0.106; p = 0.088), the evidence is not sufficient to support that the dynamics of attitude formation, or their translation into behaviors, differ consistently between men and women in this sample of Peruvian university students. Taken together with the descriptive results, this suggests that, although women report higher average levels in some behavioral dimensions (e.g., hygiene and cross-contamination), the underlying structural relationships among background, attitudes and behavior are comparable across sexes.
4. Discussion
The results confirm Hypothesis 1, showing that food safety background is positively associated with food safety behavior among Peruvian university students. In our model, higher levels of background, understood as a combination of cooking experience, prior exposure to foodborne disease, and formal or informal education about food safety, are related to more frequent self-reported safe practices. However, the size of this association is moderate, and the explained variance in food safety behavior remains partial, indicating that background is a helpful but not sufficient condition for consistent safe food handling. This pattern is compatible with the “knowledge-practice gap” described in the literature, whereby exposure to food safety content and accumulated experience improves what students know but does not automatically ensure that safe practices are applied under real-life constraints [4,5]. In our data, the coexistence of intermediate levels of background with persistent risky behaviors (such as limited thermometer use or incomplete prevention of cross-contamination) suggests that prior experience may sometimes consolidate shortcuts or permissive norms when it is not accompanied by structured training and feedback [8]. This is consistent with studies that emphasize the ambivalent role of informal learning and digital sources: they can provide useful information but also normalize unsafe practices or minimize perceived risk [15,22]. From the perspective of the Theory of Planned Behavior, one plausible interpretation is that background contributes to shaping beliefs and perceived control, but its impact on behavior is filtered by subjective norms, convenience, and competing goals (e.g., time pressure, taste, and cost) [16]. In practical terms, these findings support the idea that interventions should not rely solely on increasing exposure or general experience, but rather on integrating hands-on training, clear feedback on performance, and environmental supports that make safe options easier to implement in student kitchens.
Hypothesis 2 is also confirmed, showing that attitudes toward food safety are positively associated with food safety behavior among Peruvian university students. In line with studies conducted in different regions, more favorable attitudes are linked to better performance in temperature control, hand hygiene, and prevention of cross-contamination [4,8,9,10]. In our model, attitudes show a stronger standardized coefficient than background, but both predictors contribute jointly to explaining food safety behavior, which reaches an R^2^ of 0.318. This level of explained variance is moderate and indicates that attitudes are an important proximal correlate of behavior rather than a sole determinant. The pattern observed is compatible with the idea that students who attribute higher importance to food safety, perceive greater benefits in preventive behaviors, and experience more concern about foodborne disease are more likely to report safer practices, especially when they also feel capable of performing them. At the same time, the persistence of unsafe behaviors despite generally favorable attitudes suggests that other factors—such as habits, perceived effort, and social expectations in shared kitchens—continue to play a substantial role [5,11]. Overall, our findings reinforce calls for interventions that explicitly target attitudes and perceived control, not just knowledge, by working on risk appraisal, emotional engagement, and the practical feasibility of safe behaviors in everyday student routines.
Hypothesis 3 is confirmed by showing that food safety background is positively associated with attitudes toward food safety among Peruvian university students. This result is consistent with international evidence indicating that academic training and accumulated practice tend to foster more positive attitudes toward safe food handling [5,9,17], At the same time, the magnitude of this association is modest: in our model, background explains only 5.7% of the variance in attitudes (R^2^ = 0.057), which means that most of the variability in attitudes is attributable to other determinants not captured here. This is coherent with theoretical models that highlight the contribution of social norms, self-efficacy, perceived behavioral control, and past habits in shaping attitudes and intentions [15,16]. Lived experiences such as having suffered a foodborne disease may activate affective components (e.g., disgust, concern), whereas formal education provides procedural frameworks that can strengthen positive evaluations of safe practices. Nevertheless, our findings suggest that—at least in this sample—background operates as a modest predictor among many others and that changing attitudes will likely require acting simultaneously on social influences, emotional responses, and structural barriers, rather than relying exclusively on increasing exposure or training hours.
Hypothesis 4 is also supported, showing that attitudes mediate the relationship between background (experience and education) and food safety behavior. Because both the indirect (mediated) effect and the direct effect of background on behavior were statistically significant, the mediation observed corresponds to complementary partial mediation [40]. In practical terms, this means that background exerts its influence on behavior through two routes: a direct pathway and an indirect pathway via attitudes. The indirect path BFS → AFS → FSB explains approximately 30% of the total effect of background on behavior in the overall sample, which indicates that the mediation is statistically robust but of modest magnitude. Thus, attitudes help to translate prior experience and educational exposure into safer practices, but they account for only a portion of this translation. A considerable part of the effect of background on behavior is likely transmitted through other mechanisms not explicitly modeled here, such as social norms, habits, peer behavior, perceived time constraints, and self-efficacy for implementing specific practices [5,15,41]. These results are congruent with studies showing that students with training or experience in food handling may still maintain unsafe behaviors when the perceived benefits of change are low, safe options are inconvenient, or their social environment does not reinforce prevention [4,6,7]. From an intervention standpoint, our findings suggest that strengthening attitudes is a relevant—but not sufficient—lever for improving food safety behavior: programs will need to combine attitudinal work (reframing beliefs and perceived value of prevention) with practical training, peer-based normative reinforcement, and environmental changes that reduce friction and make safe practices more attainable in daily life.
Regarding Hypothesis 5, although level differences were observed between men and women in some dimensions of food safety behavior (e.g., higher scores in personal hygiene, food hygiene, and cross-contamination among women), gender did not moderate the structural relationships among background, attitudes, and behavior. That is, the pattern of associations between the constructs was statistically similar in both groups, and multigroup comparisons did not reveal significant differences in the main paths at the 5% level. This is consistent with studies in university populations and young adults that report gender differences in average levels of knowledge or self-reported practices, but not systematic moderation of the links proposed by the Theory of Planned Behavior [5,15,41]. A plausible interpretation is that women’s higher scores in hygiene-related behaviors reflect gendered socialization patterns around cleanliness and food preparation, as well as a greater involvement in cooking tasks, whereas the psychological mechanisms that connect background, attitudes, and behavior (e.g., perceived norms, perceived control) operate in a comparable way in men and women under similar living conditions. In our context, shared constraints such as time pressure, limited equipment, and crowded refrigerators may shape the weight of attitudes and perceived control in similar directions for both sexes, thereby attenuating potential moderating effects of gender. From a practical perspective, these results suggest that educational interventions can be designed with broadly similar core components for male and female students, while taking into account that women may start from slightly higher baseline levels of certain safe behaviors. It is important to avoid interpreting these mean differences as evidence of functional or behavioral superiority of any gender; rather, they point to different starting points that do not translate into distinct structural pathways in the model. Future research in other cultural and socioeconomic settings may help to clarify under which conditions gender becomes a more salient moderator of domestic food safety behavior.
4.1. Implications
The findings of this study offer a set of implications that can be organized across three interdependent levels: professional practice, institutional and sectoral policy, and theory.
First, in terms of professional practice, the results show that simply transmitting knowledge does not guarantee the adoption of safe behaviors; therefore, training programs should not focus exclusively on information delivery but place greater emphasis on strengthening attitudes as an important proximal driver of change, while also addressing skills and contextual barriers. This implies developing active teaching strategies that integrate procedural training (use of thermometers, prevention of cross-contamination, effective hygiene), emotionally engaging experiences that reinforce the perceived relevance of food safety, and supervised practice spaces that increase instrumental self-efficacy. In turn, professional practice should extend into everyday support through contextual reminders, peer tutoring, and the creation of environments that make it easier and more accessible to “do the right thing” under time pressure and resource constraints.
Second, at the level of university and sectoral policy, the results support the need to institutionalize minimum guidelines that ensure basic structural conditions for safe behavior: student kitchens equipped with adequate refrigerators, availability of functioning thermometers, color-coded surfaces, and auditable cleaning protocols. Policy should go beyond isolated informational campaigns and incorporate mechanisms for ongoing monitoring and feedback, as well as incentives for student participation in food safety initiatives. Universities could integrate food safety modules into general education courses, distribute low-cost kits for first-year students, and establish student ambassador programs that model safe norms and behaviors. From a sectoral perspective, authorities could promote the development of guidelines tailored specifically to university populations, ensure their inclusion in institutional accreditation processes, and prioritize funding for evidence-based interventions that activate attitudes and reduce contextual barriers.
Third, the theoretical implications point to the consolidation and expansion of explanatory models of food safety behavior. The evidence supports the Theory of Planned Behavior but also highlights the need to enrich it with constructs related to social norms, perceived control, and habit formation, given that background factors explain only a limited proportion of the variance in attitudes and behaviors. This reinforces the view that translating knowledge into practice depends on motivational, social, and environmental factors, inviting the development of multilevel conceptual frameworks that articulate individual variables with contextual determinants. The identification of a statistically significant yet modest partial mediation also suggests the existence of additional, unmodeled pathways—such as the influence of emotions (e.g., disgust, concern), peer normative pressure, and practical constraints—that should be incorporated into future theoretical refinements. Moreover, the absence of gender moderation in the structural paths indicates that the basic psychological mechanisms linking background, attitudes, and behavior may operate similarly in men and women living under comparable conditions, which has implications for designing broadly applicable, gender-inclusive theoretical models.
4.2. Results Limitations
This study presents several limitations that should be considered when interpreting the findings. First, the cross-sectional design impedes causal interpretation of the observed relationships, so the mediation of attitudes can only be understood at a statistical level. Future studies should employ longitudinal or experimental designs to assess directionality and changes over time. Second, the use of non-probabilistic convenience sampling and online recruitment may limit representativeness, with an overrepresentation of women, younger students, and those from private universities. This constrains the generalization of the results to all Peruvian university students, and future research should use probabilistic or stratified sampling strategies that include a greater diversity of institutions and regions.
Third, the use of self-report measures introduces risks of social desirability bias and common method variance, which may have inflated some of the observed associations. For future studies, incorporating objective and observational methods (e.g., refrigerator audits, practical cooking tasks, electronic temperature logs) would help strengthen the validity of the measures. Fourth, although composite reliability and AVE values met recommended thresholds, some subdimensions presented Cronbach’s alpha values slightly below 0.70 and heterogeneous response formats, which may have attenuated certain relationships and indicate the need for further refinement of the instruments. It would be advisable to standardize response scales, re-examine items with lower internal consistency, and explore alternative specifications—such as formative or composite models—for background variables, given their compositional nature.
Fifth, the explained variance was modest for attitudes and moderate for behavior, suggesting the influence of relevant variables not included in the model (such as peer norms, socioeconomic conditions, habit strength, or availability of equipment). Incorporating these factors in future models would improve the precision of the estimates and provide a more comprehensive picture of domestic food safety behavior in young adults. Finally, the study is restricted to Peruvian university students, so generalization to other countries and cultural contexts should be made with caution. Multicenter replications and cross-cultural invariance analyses would be key steps to assess the robustness and transferability of the findings.
5. Conclusions
In summary, the results show that food safety background is associated with university students’ practices, but its impact is only partial and remains limited when considered in isolation. Attitudes toward food safety emerge as an important proximal factor associated with safer behaviors and operate as a statistically significant, yet modest, mediator of the relationship between background and behavior. This partial and moderate mediation indicates that attitudes help translate prior exposure and experience into practice, while a substantial proportion of the influence of background on behavior is likely transmitted through other mechanisms not captured in this model. These findings underscore the need to design interventions that do not focus solely on transmitting information, but instead promote strong beliefs, self-efficacy, and positive motivations, reinforced by environments and social norms that facilitate responsible behavior in student contexts.
The main contribution of this study lies in empirically documenting, in a Peruvian university population, that the relationships between background, attitudes, and food safety behavior are consistent with a model of partial mediation of modest magnitude and that these structural relationships remain stable across genders. This provides relevant evidence for the design of educational and public health strategies that can be applied to both male and female students, while recognizing differences in baseline levels of certain practices. Looking ahead, longitudinal and intervention studies are needed to assess whether changes in attitudes and self-efficacy lead to sustained improvements in food safety behavior, as well as research that explicitly incorporates other key variables from the Theory of Planned Behavior (subjective norms, perceived behavioral control) and contextual factors (living conditions, access to equipment, time constraints). It would also be pertinent to replicate and extend this model in other universities and regions of Latin America, to explore the potential of digital tools and experiential or simulation-based training programs, and to evaluate their impact both on reducing risky practices and on the incidence of foodborne diseases in young populations.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Havelaar A.H. Kirk M.D. Torgerson P.R. Gibb H.J. Hald T. Lake R.J. Praet N. Bellinger D.C. de Silva N.R. Gargouri N. World Health Organization Global Estimates and Regional Comparisons of the Burden of Foodborne Disease in 2010 P Lo S Med.201512 e 100192310.1371/journal.pmed.100192326633896 PMC 4668832 · doi ↗ · pubmed ↗
- 2Kirk M.D. Pires S.M. E Black R. Caipo M. A Crump J. Devleesschauwer B. Döpfer D. Fazil A. Fischer-Walker C.L. Hald T. World Health Organization Estimates of the Global and Regional Disease Burden of 22 Foodborne Bacterial, Protozoal, and Viral Diseases, 2010: A Data Synthesis P Lo S Med.201512 e 10019212663383110.1371/journal.pmed.1001921 PMC 4668831 · doi ↗ · pubmed ↗
- 3Nesbitt A. Majowicz S. Finley R. Marshall B. Pollari F. Sargeant J. Ribble C. Wilson J. Sittler N. High-Risk Food Consumption and Food Safety Practices in a Canadian Community J. Food Prot.2009722575258610.4315/0362-028X-72.12.257520003742 · doi ↗ · pubmed ↗
- 4Courtney S.M. Majowicz S.E. Dubin J.A. Food safety knowledge of undergraduate students at a Canadian university: Results of an online survey BMC Public Health 201616114710.1186/s 12889-016-3818-y 27829398 PMC 5103385 · doi ↗ · pubmed ↗
- 5Chuang E. Thomas M. Feng Y. Young adult food safety knowledge gaps and perceptions of roommates’ food handling practices: A survey of university students in Indiana Food Control 202112610805510.1016/j.foodcont.2021.108055 · doi ↗
- 6Azanaw J. Dagne H. Andualem Z. Adane T. Food Safety Knowledge, Attitude, and Practice of College Students, Ethiopia, 2019: A Cross-Sectional Study Biomed Res. Int.20212021668639210.1155/2021/668639233506030 PMC 7815420 · doi ↗ · pubmed ↗
- 7Islam M.N. Hassan H.F. Amin M.B. Madilo F.K. Rahman M.A. Haque M.R. Aktarujjaman M. Farjana N. Roy N. Food safety and handling knowledge and practices among university students of Bangladesh: A cross-sectional study Heliyon 20228 e 1198710.1016/j.heliyon.2022.e 1198736478810 PMC 9720042 · doi ↗ · pubmed ↗
- 8Osaili T.M. Al-Nabulsi A.A. Taybeh A.O. Food Safety Knowledge, Attitudes, and Practices Among Jordan Universities Students During the COVID-19 Pandemic Front. Public Health 2021972981610.3389/fpubh.2021.72981634527655 PMC 8435670 · doi ↗ · pubmed ↗
