Prevalence and correlates of onychophagia among Egyptian medical students: a cross-sectional study Authors: Asmaa Mohammad Ahmad Mohammad, Rabab Ahmed Abd El-Hai Hammad, Noha M Elghazally Published: 2025 ABSTRACT AbstractBackgroundOnychophagia, or chronic nail biting, is a common body-focused repetitive behaviour often associated with psychological stress, anxiety, and perfectionism. Medical students may be at increased risk due to sustained mental and emotional pressures.ObjectivesTo assess the prevalence of onychophagia, identify associated risk factors, and examine the relationship between perceived stress levels and the frequency or severity of nail biting among medical students at Tanta University in Egypt.MethodsA cross-sectional study was conducted among 330 undergraduate students using a structured self-administered questionnaire comprising sociodemographic data, onychophagia-related items, and the Perceived Stress Scale (PSS).Results57.3% of the students were actively practicing onychophagia, and it was reported more often among males (63.5%) than females (36.5%), but the difference was not statistically significant (p = 0.134). Among participants with onychophagia (n = 189), 18 (9.5%) were smokers, 63 (33.3%) reported a positive family history, and 30 (15.9%) reported fear of public spaces. These factors were significantly associated with nail-biting behaviour (p < 0.01 for all). No significant difference in Perceived Stress Scale scores was observed between students with and without onychophagia, and stress severity was not associated with the frequency or duration of nail-biting episodes.ConclusionOnychophagia was common among medical students and was significantly associated with smoking, positive family history, and fear of public spaces. Behavioural interventions are recommended among university students.Keywords: Onychophagia, Medical students, Prevalence, Behavioural Introduction Onychophagia, or habitual nail biting, is chronic nail problem that typically first appears in childhood or early adulthood [1, 2]. Most nail biters eventually stop eating their nails [3]. Nevertheless,, in certain individuals, it might continue into adulthood [4]. Onychophagia, which ranges in severity from mild to severe, is an issue that is often overlooked in routine clinical treatment [5, 6]. Oral habits prevalence has increased worldwide [7–9]. Nail biting is estimated to affect approximately 20% to 30% of the general population [10], with higher rates observed among children. For instance, one study conducted in Egypt reported a prevalence of 41.07% among schoolchildren aged 6 to 12 years [11]. Populations exposed to elevated stress levels, such as university students, also demonstrate a higher incidence of this behaviour [1], with medical students exhibiting the highest rates [3]. A study from Poland found that the prevalence of onychophagia among university students aged 21 to 26 years reached 46.9%.(3) However, evidence regarding sex-associated differences in prevalence remains inconclusive, with some studies indicating a male predominance, others suggesting higher rates among females, and several reporting no significant difference. ( 3) The aetiology of onychophagia remains unclear [12]. However, familial patterns appear to contribute to its development, suggesting a possible genetic or environmental component [13]. Previous studies have reported that up to 36.8% of individuals with nail-biting habits have family members who exhibit the same behaviour [13]. Additionally, some research indicate that nail biting may be triggered by either over-stimulation, such as stress or excitement, or under-stimulation as boredom or inactivity [5, 14]. Onychophagia has been associated with various coexisting psychiatric conditions [15], including OCD, anxiety disorders, and tic disorders [16]. While traditionally linked to obsessive-compulsive behaviour, recent studies suggest it may be more accurately classified as a tic disorder [16–18] The ICD-10 categorizes nail biting under behavioural and emotional disorders of childhood and adolescence (F98.8) [19], whereas the DSM-5 identifies it as a body-focused repetitive behaviour [20]. Diagnostic criteria for such behaviours remain poorly defined, though persistent, unsuccessful attempts to stop the habit despite social or emotional consequences are a key feature [20]. Onychophagia can lead to a variety of adverse health outcomes [21]. These include dental issues, such as malocclusion and enamel damage, as well as infections of the oral cavity and gastrointestinal disturbances caused by the ingestion of nail fragments [21]. In more severe cases, excessive nail biting may result in splinter haemorrhages, scarring of the nail folds, paronychia, and even irreversible deformation of the nail beds [21]. Beyond its physical complications, onychophagia has been linked to a reduced quality of life, elevated stress levels, psychiatric comorbidities, social difficulties, and overall poorer physical health [3]. Although onychophagia is recognized as a medical condition and is associated with adverse health outcomes, there is limited research on its prevalence among both youth and adult populations [22]. Medical students, as future healthcare providers, represent a particularly relevant population in which mental health and self-care behaviours are of critical importance. Therefore, the aim of this study was to assess the prevalence of onychophagia, to identify sociodemographic and behavioural risk factors associated with nail biting, and to test whether higher perceived stress levels are linked to increased frequency and greater severity of onychophagia. Study design, duration, and setting A cross-sectional study was conducted between November 2024 and February 2025 at the Faculty of Medicine, Tanta University, Egypt. Study population The inclusion criteria comprised medical students from the first to the fifth academic year, representing approximately one to five years since admission to the university. Including students across all academic levels allowed for broader representation of both preclinical and clinical stages. Eligible participants were those who were currently engaging in onychophagia or had previously engaged in the behaviour during the study period and expressed a willingness to participate. Prior to participation, students received a brief explanation of the study objectives and were invited to voluntarily complete the study questionnaire. Sampling technique and sample size Participants were selected using a non-randomized convenience sampling technique, based on accessibility and willingness to participate rather than random selection. As participation was voluntary and not all medical students had an equal probability of inclusion. Considering a 27.8% prevalence of onychophagia among university students [23], with a precision of 5% and a 95% confidence interval, the minimum proper sample size of participants was determined to be 295. The overall sample size included 330 students after considering the percentage of the drop out cases. Sample size determined utilizing EPi Info. The participants were informed about the study’s objectives and benefits. The response rate was 98%. Study measures A self-administered questionnaire adapted from two validated questionnaires [3, 23], was utilized in this study. That combined instrument showed validation and reliability, with a Cronbach’s Alpha of 0.87. The questionnaire consisted of four sections. The first section collected information on sociodemographic characteristics, including age, gender, academic year, and family income. The second section focused on aspects of the participants’ lifestyle and health status (smoking, chronic diseases, personal and family history of mental disorders or nail-biting). The third part included onychophagia-related items which were adapted from two previously validated questionnaires [3, 23]. These items covered the frequency, duration, triggers, associated feelings, and consequences of nail-biting. The severity of onychophagia was evaluated across three dimensions: frequency, daily episodes, and duration of each episode. Based on self-reported behaviours, frequency was categorized as mild when nail biting occurred several times per month, moderate when it occurred several times per week, and severe when it was practiced daily. The frequency of episodes per day was classified as mild for < 5 episodes, moderate for 5–20 episodes, and severe for more than 20 episodes per day. Regarding the duration of each episode, the habit was considered mild when lasting 1–10 min per day, moderate when lasting 11–20 min per day, and severe when exceeding 20 min per day. To ensure content validity, the items were reviewed by two experts in psychiatry and public health, who confirmed that the wording was appropriate and culturally relevant for Egyptian medical students. A pilot test was conducted on a small group of students (not included in the final analysis) to check for clarity and comprehensibility. Feedback from that pilot was used to refine the language of certain items. The onychophagia-related items demonstrated good internal consistency in the study sample (Cronbach’s α = 0.78). The fourth section included a modified Perceived Stress Scale (PSS) were used to assess participants’ stress levels over one month before the study [24]. Higher scores indicate higher levels of perceived stress. The scale ranged from “never = zero “to “always = four”, taking into account that there are two reversed score items which means “always = zero” and “never = 4” [25]. After taking the opinions of two experts, we used only eight items out of ten items of the scale with a total score of 32. The PSS used in its validated form in English Two experts in psychiatry and public health confirmed that the wording was appropriate and culturally relevant for Egyptian medical students. Additionally, the modified 8-item version (excluding items 5 and 8 for clarity) was pretested on a pilot group of students to ensure understanding. The internal consistency (Cronbach’s alpha) of the modified scale in the study sample was 0.81 indicating acceptable reliability. The results were classified as: low stress level (0:10), moderate (11:21) and high (22:32) [26]. Statistical analysis Analysis was performed utilizing the Statistical Package for Social Sciences (SPSS) (version 22.0, IBM, Armonk, NY). A descriptive analysis of all study variables was conducted including frequencies (n, %), means, standard deviations (SD), medians and interquartile ranges (IQR). The chi-square test was used to compare between categorical outcomes. Other tests of association were used when Chi-square test was not appropriate like Fisher’s Exact test (FE) and Monte-Carlo Exact test (MCET). Risk estimation was done using Odd’s Ratio (OR) depending on the 95% Confidence Interval (CI). Diagnostic Odd’s Ratio was detected through Receiver Operating Characteristic curve (ROC curve). Receiver Operating Characteristic (ROC) curve analysis was used to evaluate the diagnostic performance of the main predictor variables. The continuous outcomes were compared using an independent t-test and Mann-Whitney U test according to the results of the normality tests. Tests of correlation were used like Eta and Phi to detect and describe the correlations between the different types of categorical data. Binary logistic regression analysis was used to estimate the amounts of correlations between the dependent qualitative dichotomous variable and the different tested independent variables. Level of significance was established at p < 0.05. Controlling of the confounders was done as follows: Regarding the smoking habit “after adjusted OR by using Cochran’s and Mantel-Haenszel technique”; OR after nullifying the effect of sex = 4.471, 95% CI = 1.285–15.554. OR after nullifying the effect of nail infections = 4.832, 95% CI = 1.401–16.668. OR after nullifying the effect of the panic disorder = 4.853, 95% CI = 1.382–17.041. Regarding agoraphobia “after adjusted OR by using Cochran’s and Mantel-Haenszel technique”; OR after nullifying the effect of sex = 7.056, 95% CI = 2.345–21.233. OR after nullifying the effect of nail infections = 6.432, 95% CI = 2.215–18.683. OR after nullifying the effect of the specific phobia = 6.152, 95% CI = 2.160-17.524. The family history of onychophagia “after adjusted OR by using Cochran’s and Mantel-Haenszel technique”; OR after nullifying the effect of the specific phobia = 4.930, 95% CI = 2.582–9.413. OR after nullifying the effect of the obsessive-compulsive disorder = 4.868, 95% CI = 2.555–9.274. The missing data was handled as follows: We had very few missing data (less than 10% of the total participants) in some qualitative and quantitative variables of the third section of the questionnaire. Regarding the qualitative variables, using the Statistical Package for Social Sciences (SPSS) (version 22.0, IBM, Armonk, NY). By the help of the order of “transform” and “replace missing values” of such qualitative variables using {the median of nearby points} and after detection of the span of nearby points, the missing data were replaced. Regarding the quantitative variables, using the Statistical Package for Social Sciences (SPSS) (version 22.0, IBM, Armonk, NY). By the help of the order of “transform” and “replace missing values” of such quantitative variables using {the mean of nearby points} and after detection of the span of nearby points, the missing data were replaced. Results Table 1 shows the distribution of the study participants without and with onychophagia by characteristics. Among 330 undergraduate medical students who participated in the study, 189 students (57.3%) reported current onychophagia. The mean age of students was 20.86 ± 1.453 and 21.20 ± 1.465 for students with and without onychophagia, with a statistically significant difference between them (p = 0.036). Among the total sample, 198 students (60.0%) were males and 132 (40.0%) were females. Within the onychophagia group, 120 of 189 (63.5%) were males and 69 of 189 (36.5%) were females, compared with 78 of 141 (55.3%) and 63 of 141 (44.7%) in the non-onychophagia group, respectively. The difference was not statistically significant (χ2 = 2.248, p = 0.134). Regarding the academic years, 39.7% and 52.5% of participants with and without onychophagia were in 5th academic year, respectively, with a statistically significant difference (p = 0.026). Family income did not differ significantly between groups (χ2 = 1.149, p = 0.284); the majority of both nail-biters and non-biters reported medium income (149/189 = 78.8% vs. 113/141 = 80.1%). Table 1Distribution of the study participants without and with onychophagia by characteristicsCharacteristicOnychophagia P-value N (%)Socio-demographic characteristicsWithout 141 (42.7)With 189 (57.3)Age (years) Mean ± SD21.20 ± 1.46520.86 ± 1.453 0.036* SexMale78(55.3)120(63.5)0.134Female63(44.7)69(36.5)Academic year1st year15(10.6)28(14.8) 0.026* 2nd year18(12.8)32(16.9)3rd year14(9.9)25(13.2)4th year20(14.2)29(15.3)5th year74(52.5)75(39.7)Family incomeHigh20(14.2)33(17.5)0.284Medium113(80.1)149(78.8)Low8(5.7)7(3.7) Distribution of the study participants without and with onychophagia by characteristics 78 (55.3) 120 (63.5) 63 (44.7) 69 (36.5) 15 (10.6) 28 (14.8) 18 (12.8) 32 (16.9) 14 (9.9) 25 (13.2) 20 (14.2) 29 (15.3) 74 (52.5) 75 (39.7) 20 (14.2) 33 (17.5) 113 (80.1) 149 (78.8) 8 (5.7) 7 (3.7) Table 2 shows the distribution of the study participants with/without onychophagia regarding their life-style and health status. Smoking was reported by 18 of 189 (9.5%) students with onychophagia and 3 of 141 (2.1%) students without onychophagia. The difference was statistically significant (χ2 = 7.414, df = 1, p = 0.006). Smokers were almost five times more likely to exhibit onychophagia (OR = 4.842, 95% CI 1.398–16.777). Fear of public spaces was reported by 30 of 189 (15.9%) students with onychophagia versus 4 of 141 (2.8%) students without onychophagia (χ2 = 14.850, df = 1, p < 0.001; OR = 6.462, 95% CI 2.221–18.802). Regarding the family history, a positive family history of onychophagia was found in 63 of 189 (33.3%) participants with onychophagia compared to 13 of 141 (9.2%) among those without (χ2 = 26.489, p < 0.001; OR = 4.923, 95% CI 2.581–9.390). Table 2Distribution of the study participants without and with onychophagia by characteristicsCharacteristicOnychophagia P-value OR 95% CI N (%)Lifestyle & health statusWithoutWith141(42.7)189(57.3)Smoking habitNo138(97.9)171(90.5) 0.006* 4.8421.398–16.777Yes3(2.1)18(9.5)History of Chronic diseasesNo122(86.5)162(85.7)0.8331.0700.569–2.014Yes19(13.5)27(14.3)Feeling anxious most of the timeNo107(75.9)134(70.9)0.3131.2920.786–2.124Yes34(24.1)55(29.1)History of panic episodesNo127(90.1)157(83.1)0.0691.8490.946–3.614Yes14(9.9)32(16.9)Fear of public spacesNo137(97.2)159(84.1)0.001*6.4622.221–18.802Yes4(2.8)30(15.9)Social anxietyNo118(83.7)143(75.7)0.0761.6500.946–2.880Yes23(16.3)46(24.3)A strong fear of something specificNo129(91.5)170(89.9)0.6351.2010.563–2.564Yes12(8.5)19(10.1)Nail infectionsNo136(42.5)184(57.5)0.7490.7390.210–2.604Yes5(50)5(50)Family history of onychophagiaNo128(90.8)126(66.7)0.001*4.9232.581–9.390Yes13(9.2)63(33.3)Family history of mental disordersNo127(90.1)173(91.5)0.647.8390.395–1.781Yes14(9.9)16(8.5) Distribution of the study participants without and with onychophagia by characteristics 138 (97.9) 171 (90.5) 3 (2.1) 18 (9.5) 122 (86.5) 162 (85.7) 19 (13.5) 27 (14.3) 107 (75.9) 134 (70.9) 34 (24.1) 55 (29.1) 127 (90.1) 157 (83.1) 14 (9.9) 32 (16.9) 137 (97.2) 159 (84.1) 4 (2.8) 30 (15.9) 118 (83.7) 143 (75.7) 23 (16.3) 46 (24.3) 129 (91.5) 170 (89.9) 12 (8.5) 19 (10.1) 136 (42.5) 184 (57.5) 5 (50) 5 (50) 128 (90.8) 126 (66.7) 13 (9.2) 63 (33.3) 127 (90.1) 173 (91.5) 14 (9.9) 16 (8.5) Figure 1 illustrates that there were significant weak positive correlations between participants’ family history of onychophagia, having fear of public spaces, smoking habit of the study participants and their practice of onychophagia (AUC = 0.621, 0.565 and 0.537, respectively). The values of correlation coefficients according to Phi test were 0.283, 0.212 and 0.150, respectively. The resulting r2 values (r2 = 0.080, 0.045 and 0.022). were then used to estimate the percentage of variance in onychophagia explained by each factor. Effect sizes were interpreted as small (r ≈ 0.1), moderate (r ≈ 0.3), and large (r ≥ 0.5), according to Cohen’s conventions. The overall effect size of those three factors on practicing onychophagia was 19.2% (Nagelkerke R Square = 0.192). Additionally, a small effect size (1.7%) of the educational level presented by the academic year of the study participants on their practice of onychophagia was detected (AUC = 0.429). Receiver operating characteristic (ROC curve) for the different possible risk factors for practicing onychophagia Table 3 shows the nail-biting habit according to the gender of the study participants, revealing a statistically significant difference recorded between males and females regarding eating finger nails; 25 of 69 (36.2%) of females reported never eating their fingernails while practicing onychophagia compared to 27 of 120 (22.5%) of males (χ2 = 5.644, p = 0.018). Regarding localization of nail-biting, severity of the habit and practicing it to achieve perfect look, no statistically significant differences were detected. Overall, the frequency and duration of nail-biting were nearly equal among males and females, 101 of 120 (84.2%) of males and 60 of 69 (87%) of females reporting mild to moderate frequency of onychophagia, 88.3% of males versus 95.7% of females reporting mild to moderate frequency of episodes per day and 110 of 120 (91.7%) of males versus 65 of 69 (94.2%) of females reporting mild to moderate durations of episodes per day (p > 0.05). Table 3Description of the habit according to sex of the study participantsDescription of the onychophagia habitSex (n = 189) P-value MaleFemalen%n%12063.56936.5Localization of nail bitingOne hand2722.52231.90.238Both hands6251.73550.7Selected fingernails3125.81217.4Eating fingernailsNever2722.52536.20.018*Almost never3529.22333.3Sometimes3831.71420.3Often119.245.8Always97.534.3To achieve perfect lookNever2722.5811.60.676Almost never1714.21623.2Sometimes4335.82840.6Often2319.21318.8Always108.345.8Last nail-biting episode > 6 months3428.31115.90.079The last 6 months2218.31318.8The last month2621.71826.1The last week1613.3913Yesterday54.245.8Today1714.21420.3Stopping for one month or longerNo3831.71927.50.096Yes4638.33753.6Do not know3630.01318.8Controlling the habitLong term4940.82333.30.308Short term7159.24666.7Severity of the habit:Frequency of onychophagiaMild to moderate10184.26087.00.603Severe1915.8913.0Frequency of episodes / dayMild to moderate10688.36695.70.090Severe1411.734.3Duration of episodes / dayMild to moderate11091.76594.20.522Severe108.345.8 Description of the habit according to sex of the study participants Table 4 illustrates the PSS among participants with and without onychophagia, there was no statistically significant difference between the two groups regarding the total PSS scores (p = 0.113), as the majority of participants in both groups reported moderate stress levels. Students with onychophagia had the same median (PSS) score (15) as that of those without onychophagia (15). Taking in consideration the inter-quartile range of the (PSS) score of the first group which was (13–18) and that of the second group which was (12–17), the difference was not statistically significant (Mann-Whitney U test = 12099.000, p = 0.152), and the effect size was small (η2 = 0.013), Table 4Perceived Stress Scale (PSS) among study participants without and with onychophagiaPerceived stress scale (PSS)Onychophagia P-value Without n(%)With n(%)Being upset because of something that happened unexpectedlyNever/Almost never141(100.0)189 (100.0)–Sometimes0 (0.0)0 (0.0)Fairly often/Very often0 (0.0)0 (0.0)Feeling being unable to control the important things in the lifeNever/Almost never29 (20.6)54 (28.6)0.133Sometimes50 (35.5)70 (37.0)Fairly often/Very often62 (44.0)65 (34.4)Feeling nervous and stressedNever/Almost never18 (12.8)39 (20.6)0.173Sometimes53 (37.6)64 (33.9)Fairly often/Very often79 (49.6)86 (45.5)Feeling confident about the ability to handle the personal problemsNever/Almost never36 (25.5)62 (32.8)0.336Sometimes57 (40.4)72 (38.1)Fairly often/Very often48 (34.0)55 (29.1)Finding that he/she could not cope with all the things that he/she had to doNever/Almost never33 (23.4)52 (27.5)0.679Sometimes59 (41.8)77 (40.7)Fairly often/Very often49 (34.8)60 (31.7)Being able to control irritations in the lifeNever/Almost never37 (26.2)46 (24.3)0.651Sometimes68 (48.2)86 (45.5)Fairly often/Very often36 (25.5)57 (30.2)Being angered because of things that were outside of his/her controlNever/Almost never20 (14.2)54 (28.6)0.007*Sometimes71 (50.4)74 (39.2)Fairly often/Very often50 (35.5)61 (32.3)Feeling difficulties were piling up so high that he/she could not overcome themNever/Almost never31 (22.0)56 (29.6)0.293Sometimes68 (48.2)81 (42.9)Fairly often/Very often42 (29.8)52 (27.5)Total scoreLow stress level24 (17.0)31 (16.4)0.113Moderate stress level103 (73.0)150 (79.4)High stress level14 (9.9)8 (4.2%)Medians of Total PSS scores (Inter-Quartile Range)15 (13–18)15 (12–17)Mann–Whitney U test = 12,099.000 p = 0.152η2 = 0.013 (Eta squared; effect size). p < 0.05 considered statistically significant. According to Cohen (1988), η2 = 0.01 indicates a small effect, 0.06 a medium effect, and 0.14 a large effect Perceived Stress Scale (PSS) among study participants without and with onychophagia η2 = 0.013 (Eta squared; effect size). p < 0.05 considered statistically significant. According to Cohen (1988), η2 = 0.01 indicates a small effect, 0.06 a medium effect, and 0.14 a large effect Table 5 illustrates that among medical students with onychophagia, the severity, frequency, and duration of onychophagia were not significantly associated with perceived stress levels (Monte Carlo Exact Test, p > 0.05). Table 5Relation between stress and severity of onychophagiaSeverity of onychophagiaDegree of stress P-value* Low stress levelModerate stress levelHigh stress leveln%N%n%3116.415079.484.2n%0.198Frequency of onychophagia:Mild to Moderate16185.22477.413187.3675.0Severe2814.8722.61912.7225.0Frequency of nail-biting episodes/day:Mild to Moderate1.00017291.02890.313690.78100.0Severe179.039.7149.300.0Duration of nail-biting episodes/day:Mild to Moderate0.33517592.62787.114093.38100.0Severe147.4412.9106.700.0*Level of significance of Monte Carlo Exact Test Relation between stress and severity of onychophagia *Level of significance of Monte Carlo Exact Test Table 6 represents logistic regression analysis of factors associated with nail-biting behaviour; all predictor variables were initially included in the logistic regression model to assess their influence on nail-biting behaviour (onychophagia). After removing the least significant variable (academic year), the final model included three predictors: smoking habit, family history of onychophagia, and fear of public spaces. The model was statistically significant (p < 0.001), indicating that these predictors collectively influenced the outcome. The Hosmer-Lemeshow test suggested an adequate fit (p = 0.948). The Nagelkerke R2 was 0.192, indicating that approximately 19.2% of the variability in nail-biting behaviour was explained by the model, while the remaining 80.8% could be attributed to other factors not included in the analysis. Table 6Logistic regression analysis of factors associated with nail-biting behaviourVariables in the EquationBS.EWaldSigExp(B)95% C.I. for EXP(B)LowerUpperSmoking habit (1)1.5670.6545.7480.017*4.7921.33117.255Family history of onychophagia (1)1.5740.33621.9290.000*4.8262.4979.325Fear of public spaces (1)1.7820.55810.1930.001*5.9431.99017.750Constant- 0.2250.1352.7570.0970.799 Logistic regression analysis of factors associated with nail-biting behaviour Discussion Despite the potential significance of nail biting among university students, little is known about its prevalence and associated factors among undergraduates in general and medical students in particular. In the present study, a notably high prevalence of current onychophagia (57.3%) was observed among medical students. This finding aligns with a nearby study by Pacan et al. (2014), which reported a prevalence of 46.9% among medical students—comprising 19.2% active and 27.7% former nail biters [3]. Similarly, Hansen et al. (1990) documented that 63.6% of students in the United States reported nail biting at least twice a week [27]. Conversely, other studies have found significantly lower rates. For instance, Lesinskiene et al. (2021) noted that only 25% of physicians surveyed had a history of nail biting [22]. Erdogan et al. (2021) reported a prevalence of 27.8% among university students [23], while a study conducted in Ajman, United Arab Emirates, found that 20.7% of university students exhibited onychophagia [28]. The prevalence of onychophagia varies due to differences in study populations, methods, and cultural factors. Underreporting caused by embarrassment or lack of medical concern also contributes to this variability. Among students who exhibited onychophagia, 63.5% were male and 36.5% were female; however, this difference was not statistically significant. These findings are in line with those of Shin et al. (2022), who reported a male predominance (73.6%) among individuals with onychophagia in a Korean cohort [29]. In contrast, Lesinskiene et al. (2021) observed a higher prevalence of nail biting among females, although the gender difference did not reach statistical significance [22]. The literature remains inconclusive on the influence of gender, with some studies indicating no significant association between gender and nail-biting behaviour [30–32], while others report a higher prevalence among females [33]. Variations in findings suggest that gender alone may not consistently predict onychophagia, and that more influential determinants may include cultural, psychological, or environmental factors. In the present study, students who reported nail-biting behaviour were significantly more likely to have family members with the same habit compared to their non-nail-biting counterparts (p = 0.001). A familial history of onychophagia may point toward a potential genetic susceptibility, while observational learning, particularly through the replication of parental behaviours, is also regarded as a contributing etiological factor. Moreover, smoking was observed to be significantly more common among individuals with onychophagia (p = 0.006). This observation is consistent with findings by Erdoğan et al. (2021), who also reported a high prevalence of smoking among students with nail-biting behaviour [23]. Such associations may be explained by stress-related coping mechanisms or familial behavioural modelling, both of which may similarly influence the development of onychophagia. Our study found a higher prevalence of onychophagia among students with a fear of public spaces, though no significant link was observed with broader anxiety disorders or specific fears. The absence of formal psychiatric assessments limits definitive conclusions regarding participants’ mental health. These results are consistent with Pacan et al. (2014), who reported no significant association between nail biting and clinical anxiety diagnoses [3]. Literature on this topic remains inconclusive, with only a minority of individuals with onychophagia meeting anxiety disorder criteria. Additionally, Ghanizadeh (2008) noted a substantial occurrence of psychiatric illnesses, particularly depression, among parents of children with nail-biting behaviour [15]. These findings suggest that while nail biting may be linked to certain fears, it is not consistently associated with formal anxiety disorders. Family mental health history was associated with nail-biting behaviour, which may reflect shared environmental or genetic influences. Despite the well-documented association between onychophagia and elevated stress levels, the current study found no statistically significant difference in overall Perceived Stress Scale (PSS) scores between students who bite their nails and those who do not. Also, the level of stress, either mild/ moderate or severe, didn’t affect the onychophagia frequency or the duration of the episodes among nail biters. This finding stands in contrast to the results reported by Erdogan et al. (2021), who observed significantly higher median PSS scores among university students with onychophagia compared to non-biters [23]. One possible explanation for this discrepancy could be that nail biting, while associated with stress, may not always co-occur with high levels of perceived stress; in some individuals, it might function more as a habitual or compulsive behaviours rather than a direct response to psychological distress. Interestingly, while the total PSS scores did not differ significantly between students with and without onychophagia, one specific item “Being angered because of things that were outside of his/her control” - showed a significant difference (p = 0.007). This suggests that although general stress levels were comparable across groups, students with onychophagia may experience particular difficulties in managing frustration or anger when faced with uncontrollable situations. Such emotional responses could act as situational triggers for nail-biting episodes rather than reflecting overall elevated stress. Therefore, the finding highlights that nail biting may be linked more to specific emotional regulation challenges than to global perceived stress. Conclusion and recommendations Onychophagia is prevalent among medical students and is associated with family history, smoking, and fear of public spaces. While most students reported moderate stress levels, stress severity was not significantly linked to the frequency or duration of nail-biting. Behavioural interventions as habit-reversal training, along with educational initiatives and targeted support for high-risk students, may help reduce nail-biting. Integrating screening into wellness programs and providing access to counselling could be beneficial. Future longitudinal and interventional studies are needed to clarify causal relationships and assess effective strategies, while supportive academic environments may further mitigate compulsive behaviours. Limitation of the study This study has several limitations. First, participants were recruited using non-randomized convenience sampling from a single university, which may introduce selection bias and limit the generalizability of the findings. Second, the Perceived Stress Scale (PSS) was modified by using only 8 of the 10 original items, which may affect the validity of the stress measurements and limit comparability with other studies using the full scale. Third, psychological conditions, including agoraphobia, and nail-related behaviours were self-reported, without clinical confirmation, which may affect the accuracy of these data. Fourth, the study did not specify the degree or side (maternal/paternal) of family history of onychophagia, limiting the assessment of familial patterns. Finally, because this study is cross-sectional, causal relationships cannot be determined. Another limitation of this study, is the academic achievement of the studied students assessed through the academic performance measures (e.g., GPA) was not collected in the study. Author contributions Asmaa Mohammad was responsible for the concept of the paper, statistical analysis of data and shared in writing and revision of the manuscript. Rabab Hammad participated in data collection, and writing of the paper. Noha M.Elghazally: participated in data collection, statistical analysis and was a major contributor in writing and revision of the manuscript. Funding Open access funding provided by The Science, Technology & Innovation Funding Authority (STDF) in cooperation with The Egyptian Knowledge Bank (EKB). Data availability Data is provided within the manuscript and within supplementary information files. Declarations Ethics approval and Consent to participate was obtained from the Health Research Ethics Committee of the University of Tanta, Faculty of Medicine, Tanta city, Egypt, with reference number 36264PR1094. The study was conducted in accordance with the guidelines and regulations of the Health Research Ethics Committee of the University of Tanta, Faculty of Medicine. Authors informed participants about the purpose and the benefits of the study and anonymity of the questionnaire. We also confirmed voluntary participation and they could withdraw without giving any excuse. An informed consent was obtained from all subjects who participated in the study. Consent for publication Not applicable. Competing interests The authors declare no competing interests. Footnotes Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. References Associated Data Data Availability Statement Data is provided within the manuscript and within supplementary information files.