The Impact of Social Media On Users' Self-Efficacy and Loneliness: An Analysis of The Mediating Mechanism of Social Support
The Impact of Social Media On Users' Self-Efficacy and Loneliness: An Analysis of The Mediating Mechanism of Social Support
1 1
Wei Jia , Lei Liu , Gang Peng 2
1
School of Politics and Public Administration, Qingdao University, Qingdao, Shandong, People’s Republic of China; 2School of Statistics, Southwestern
University of Finance and Economics, Chengdu, Sichuan, People’s Republic of China
Correspondence: Lei Liu, School of Politics and Public Administration, Qingdao University, 308 Ningxia Road, Laoshan District, Qingdao, Shandong,
266071, People’s Republic of China, Tel +86-15110224681, Email ll15450176@[Link]
Purpose: The integration of social media into all areas of society has become a typical phenomenon of the Internet era. This study’s
For personal use only.
core objective is to dissect the relationship between social media, self-efficacy and loneliness, especially emphasizing the mediating
function of social support.
Patients and Methods: The research data is derived from the pooled cross-sectional data combined from the four-period data of the
China Family Panel Studies (CFPS). The study employs Ordinary Least Squares (OLS) regression as the basic research method, and
utilizes Instrumental Variables (IV) and other methods to conduct robustness checks.
Results: Social media usage frequency (SMUF) enhances self-efficacy and loneliness through social support. Social support promotes
self-efficacy and alleviates users’ loneliness. In self-efficacy, social support plays a fully mediating role. Moreover, education (human
capital) has a significant moderating effect. There are noticeable differences in the response of different characteristics groups to
SMUF.
Conclusion: This study reveals how social media impacts self-efficacy and loneliness through social support. Based on the research
results, avoiding prolonged usage of social media and improving digital literacy are the crucial means to exert the positive benefits of
social media.
Keywords: social media, self-efficacy, loneliness, social support, mediation analysis
Introduction
The rapid development of information technology such as the internet and artificial intelligence is altering the underlying logic
of social structures, driving the transition from modernization to mediatization. The growth of 4G and 5G networks has
increased the cohesion between virtual networks and real society, deepening the extent of “mediatization embedding”. Social
media, embodying the integration of network systems and social systems, allows users to create, share, and receive content on
online platforms or apps, thereby enabling social interaction.1 Presently, social media has supplanted traditional forms of
social interaction as the most common tool in the internet era. While people enjoy the higher dimension of convenience
brought by social media, there is growing concern about its impact on users’ psychological states.
Many researchers have conducted extensive studies on the theme of social media and mental health, and their findings
are often striking and assertive. For instance, Berryman et al, using data from an American school, have proposed that
there is a potential ambiguous relationship between social media and users’ mental health.2 In subsequent studies, an
increasing number of scholars have segmented study groups based on group characteristics to explore the heterogeneity
of the psychological benefits of social media. Some scholars have focused on the impact of social media use on different
physiological stages of groups, particularly on adolescents known as “digital natives”.3 Additionally, there is a concern
among other scholars regarding the factor of gender, and they believe that women have more significant response to
social media than men.4 Diggins et al collected continuous follow-up data from 11,196 respondents and verified that
women are disadvantaged in the virtual world, which is constructed by the social media. The prevalence of depression in
women is notably higher than male groups.5 Although current research is rich, it largely explores individual psycholo
gical states from aspects such as depression, anxiety, and happiness, with less focus on self-efficacy and loneliness.6–8
In existing research concerning social media and self-efficacy, self-efficacy is often considered a mediating or
moderating factor, with a lack of analysis on related mechanisms. Loneliness research is relatively diverse in content
and form, but the focus is mostly on elderly and adolescent populations, overlooking the responses of middle-aged
individuals to social media.9 Overall, comprehensive research on the relationship between social media, self-efficacy, and
loneliness remains scarce. This study, based on the characteristics of social media and considering social support as an
intermediary factor, delves into the effects of social media on users’ self-efficacy and loneliness. The contributions of this
study are mainly as follows: First, existing literature mostly focuses on a specific group, leaving a gap in comprehensive
research. This study expands the research group and analyzes the impact of social media on individual self-efficacy and
loneliness from a holistic perspective. Second, another focus of this study is to explore the mechanisms of social media’s
interaction with self-efficacy and loneliness. Regarding loneliness, this study’s exploration in terms of the full sample and
the middle-aged group will address the deficiencies of existing research. The discussion on the mechanism between
social media and self-efficacy by quantitative approach is groundbreaking. This will provide new perspectives for other
areas that have not yet received attention.
H1: An increase in social media use will lead to a deeper state of loneliness in users.
H3: Social media impacts loneliness and self-efficacy through the mediation of social support.
H4: Social media can exert a direct influence on feelings of loneliness without the intermediary role of social support.
reliability. Based on the defined scope of the research subject, after a comprehensive comparison of various micro-
databases, the China Family Panel Studies (CFPS) was ultimately selected for conducting the study. This database has
been conducting surveys since 2010, with a focus on 25 provinces, municipalities, and autonomous regions in China
during the years 2010 and 2012. Subsequent surveys have incorporated the remaining six provinces on the Chinese
mainland into the study, with data updates occurring biennially. When selecting target samples, the CFPS team
employed an implicit stratification method for three-stage equal probability sampling. The three stages included
administrative districts (counties), administrative villages (residential committees), and terminal household units.
Using this method, the survey encompassed over 22,000 household units and 66,000 within-household individual
units, representing approximately 95% of the Chinese population characteristics. Overall, the CFPS database provides
high-quality microdata that reflects the living conditions and social welfare issues in China. Utilizing this data ensures
a high degree of authenticity in the study’s findings.
In terms of the selection of data years, the Chinese government’s succession of policies aimed at social informatiza
tion from mid-to-late 2012 marks the country’s formal entry into the informational society phase.28 Accordingly, this
study preliminarily sets 2012 as the temporal benchmark. However, the implementation of these policies exhibits
a characteristic latency in effect. As reported in the “2014 China Internet Network Security Report”, the widespread
adoption of smartphones and social media platforms like WeChat and Weibo across Mainland China in 2014 entrenched
social media as an integral part of individual daily life.29 Taking into account the aforementioned discussion and the
characteristics of the CFPS data, this study selected the four waves of data from 2014, 2016, 2018, and 2020 for
empirical analysis.
Despite the CFPS being a longitudinal survey dataset that tracks families, merging its four waves into a panel dataset
presents challenges such as mismatches in sample units, loss of tracked samples, and insufficient sample sizes. Moreover,
using four separate cross-sectional datasets may hinder the empirical analysis from supporting causal inferences.
Compared to the former data types, pooled cross-sectional data boast a larger sample size, thereby enhancing the
empirical statistical power. This data type allows for observations of different groups at different points in time, offering
greater flexibility in analyzing specific subgroups and mitigating selection bias. After careful consideration of the
characteristics of each data type, this study combined the four waves into pooled cross-sectional data. For research
purposes, after excluding missing and outlier values, the final effective sample size obtained was 57,102.
Variable Settings
Explained Variables
(1) Self-Efficacy. The construct of self-efficacy embodies an individual’s conviction in their adeptness to accomplish
specific tasks or realize particular aspirations. Since its advent in the 1970s, the notion has garnered extensive attention
across multiple disciplines such as psychology and sociology, though its precise characterization is subject to ongoing
debate. Schwarzer and Jerusalem’s seminal work in 1995 led to the formulation of the Generalized Self-Efficacy Scale
(GSES) through rigorous developmental, design, and evaluative processes, offering an instrumental scale that has
gained broad endorsement in research circles.30 In response to the nuances of Chinese societal dynamics, as opposed to
Western capitalist frameworks, Wang et al in 2001 enhanced the scale by including “perceptions of happiness in life”,
augmenting its applicability and accuracy in reflecting Chinese self-perception of efficacy.31
In the CFPS questionnaire, the design of items related to self-efficacy closely aligns with the Generalized Self-
Efficacy Scale (GSES), although certain items are exclusively posed to specific demographic groups, resulting in
inadequate sample sizes for a comprehensive analysis. After an in-depth evaluation of the GSES and considering the
scale of the sample and the design of survey questions, this study assesses individual self-efficacy from three perspec
tives: mastery over events, belief in task completion, and perception of life contentment. These assessments are derived
using respondents’ answers to construct proxy variables. The response to each item is measured on a scale from 0 to 5,
summing to a total range from 0 to 15. Self-efficacy is considered a positive metric; thus, higher scores signify elevated
levels of an individual’s self-efficacy. This methodology provides a robust proxy for self-efficacy, ensuring a relevant and
culturally sensitive gauge for the Chinese population.
(2) Loneliness. In its assessment of loneliness, the CFPS survey team crafted items to gauge individuals’ self-perceived
solitude, using respondents’ answers to establish a loneliness scale ranging from 1 to 5. On this scale, a score of
1 corresponds to the minimal experience of loneliness, while a score of 5 denotes a profound degree of isolation.
Explanatory Variable
In exploring the effects of social media use on individual self-efficacy and feelings of loneliness, this study designates
social media usage frequency (SMUF) as its central explanatory variable. Social media is fundamentally characterized by
two aspects: being an internet-based platform and possessing instant messaging functions.32 On this premise, proxy
variables were identified within the CFPS adult survey. For the initial three periods of data, the explanatory variable was
operationalized using responses to “How frequently do you use the internet for social activities?” with an assigned
scoring range from 0 to 7, where a higher score indicates increased frequency of social media usage.
Advancements in digital technology have led to the widespread adoption of smartphones and other mobile commu
nication devices, with WeChat becoming a pervasive social platform in China, capturing 99.6% of Chinese internet
users.33 Therefore, in the 2020 data, this study selects “How frequently do you use the WeChat for social activities?” to
articulate the explanatory variable. This measure ensures a consistent valuation with the earlier waves, thereby main
taining temporal continuity in analyzing the trajectory of social media’s impact on psychosocial variables.
Mechanism Variables
Social support is a multifaceted construct, and the Social Adjustment Rating Scale has been a widely accepted bench
mark for evaluating social support since its early adoption in academia.34 Xiao synthesized a social support assessment
scale suitable for Chinese individuals by integrating social support evaluation indicators with the social realities of
China.35 This scale has evolved alongside societal progression. Given the focus on the Chinese population in this study,
Xiao’s social support rating scale was employed as the benchmark for gauging social support, encompassing socio
economic support, social network, and socioemotional support.
(1) Socioeconomic Support. Claes posits in his study on socioeconomic status and anxiety that an individual’s
perception of their socioeconomic standing is intricately linked to the extent of economic support they can access
within society.36 Those with a higher awareness of their economic standing are prompted to maintain a higher
level of social stratification. Under the dynamics of “clustered social behaviors”, individuals within the same
social strata engage in social interactions more frequently, thus securing a higher degree of socioeconomic
support. Accordingly, this research employs self-assessment of income position within the local context from
the survey to construct the socioeconomic support variable, with assigned values ranging from 1 to 5—1
indicating a lower socioeconomic status and 5 a higher status.
(2) Social Network. Interpersonal relationships are essential in the construction and maintenance of social network.
Viewing statically, these relationships depict the scope and depth of an individual’s social network, reflecting the
diversity and extent of social activity they engage in. Additionally, social network exhibit dynamic evolution. To
a degree, Interpersonal relationships also mirror the active agency of individuals in social engagement, providing
insight into the fluid trends of social networking. This study evaluates the strength of social network through the
score of “relations with people” from the survey, with a value range of 0 to 10, where an increasing score denotes
a stronger network.
(3) Socioemotional support. Social dependence is a critical metric for assessing the quality of an individual’s social
network and support system. While socioeconomic support focuses on evaluating the material aid an individual
receives, social dependence accentuates the psychological support they garner within their social support frame
work. Taking into account the social support rating scale, assessments of social reliance,37 and survey questions,
this study constructs a proxy for social dependence from the responses to “trust in others” and “the appraisal of
willingness to help”. Higher values indicate a greater degree of an individual’s reliance on social support.
Control Variables
Drawing on related research, this study selects a series of individual characteristic variables as control variables. These
include gender, age, marital status, urban or rural residence, education, health, political affiliation, frequency of exercise,
and religious beliefs. Within the educational variable, respondents are classified into eight categories based on their
educational attainment: illiterate or no schooling (1), primary school (2), junior high school (3), general high school or
secondary vocational education (4), junior college (5), undergraduate (6), master’s (7), and doctoral (8). Given the unique
nature of the Chinese politics, Communist Party membership is closely related to social behavior and psychological
states. Hence, non-party members are designated as 0, while party members are coded as 1. Religious belief, as a soft
binding force affecting individuals, is factored into the study by marking non-adherents as 0 and believers as 1, thus
creating a dummy variable for religion. Table 1 details the specific circumstances of each variable type.
Research Design
Considering each variables’ data characteristics, this study employs OLS regression to carry out a series of correlation
analyses. The whole research is divided into three main parts: correlation regression among variables, mechanism
analysis, and in-depth exploration.
In the correlation regression section, the focus is on using pooled cross-sectional data to analyze the influential effect
of social media usage on self-efficacy and loneliness. In order to ensure the reliability of the research results, we employ
instrumental variables, reducing the sample size, and replacing independent variables to conduct the generalized
robustness test. Based on robust basic regression results, the study explores the mechanisms of action between social
media and self-efficacy and loneliness by using social support as a mediating variable, providing richer theoretical
support for existing research. This study also employs moderation tests, quantile regression, and heterogeneity tests for
analysis, aiming to gain more comprehensive insights and understand more deeply how social media impacts self-
efficacy and loneliness.
is only 2.686, signifying that the general education level among Chinese residents is low, posing a severe social
challenge. The mean usage rate of social media is at 3.961, denoting that, in the era of information society, social
media has become an essential tool for individual external communication, asserting an increasingly significant role at
both societal and individual levels.
Table 2, building on the foundation laid by Table 1, provides a further descriptive statistical analysis of the study’s
dependent and independent variables, highlighting the differences across sample groups concerning the three variables to
gain insight into group differences in SMUF, personal self-efficacy, and loneliness.
Regarding urban-rural disparities, the rural populace is at a distinct disadvantage compared to their urban counter
parts, with 10.17% of rural individuals reporting high levels of loneliness, significantly more than in urban areas.
Preliminary analysis suggests that this may be closely related to the flow of labor between urban and rural areas. The
pronounced disparities in economic resources and public services between urban and rural locales have precipitated
a migration of a significant portion of the rural workforce to urban centers. This shift has left a considerable segment of
the population in rural areas—particularly those of the middle-aged, elderly, and younger demographics—in a prolonged
state of being left behind, which has heightened their sense of loneliness. City dwellers benefit from higher-level social
services, translating to noticeably greater self-efficacy than that of rural residents. The proportion of high-frequency
social media users does not differ markedly between urban and rural areas, thanks primarily to the widespread adoption
of mobile devices.
Dividing the total sample based on responses to self-rated health, we categorize the groups into those who perceive
themselves as unhealthy and those who see themselves as healthy. The data reveals that the proportion of individuals
experiencing higher levels of loneliness in the unhealthy group (19.13%) vastly exceeds that in the healthy group
(7.50%), suggesting that individuals with self-rated poor health tend to experience higher loneliness. The findings for
self-efficacy mirror the pattern observed for loneliness. Analysis of SMUF suggests that individuals who self-rate as
unhealthy spontaneously may reduce their use of social media.
Based on educational attainment, this study categorizes the entire sample into low human capital (junior high school
and below), medium human capital (high school), and high human capital (junior college and above) groups. Results
presented in Table 2 indicate that individuals within the high human capital group exhibit higher levels of loneliness and
self-efficacy. Moreover, the proportion of individuals with higher frequency of social media usage increases with
educational level.
For age segmentation, this research follows the age categorization defined in China’s official document “Medium and
Long-Term Youth Development Plan (2016–2025)”, labeling individuals under 35 as the youth group, those 35–59 as the
middle-aged group, and those over 60 as the elderly group.38 Statistical outcomes for different age groups show an
increasing proportion of individuals experiencing high levels of loneliness with advancing age. In contrast, the
percentage of individuals with high self-efficacy is notably higher among the elderly compared to the youth and middle-
aged groups. The frequency of social media usage is highest among the youth, aligning with their characterization as
“digital natives”.
Results
Basic Regression
Given the time-specific characteristics of the pooled cross-sectional data, this study introduces time fixed effects into the
regression model and conducts unbiased estimation of microdata. The specific formula is as follows:
In the formula (1), Mentalit and SMUFit represent the dependent and independent variables, respectively. γt captures the
common influence of all units at different time points, indicating that the study controls for time effects. 2it is the random
error term in this study.
As presented in Table 3, columns (1) and (3) present the regression outcomes for loneliness and self-efficacy based on
the SMUF. Upon the inclusion of control variables and time effects, the results are updated to models (2) and (4). The
coefficients for SMUF are positive and significant at the metric level, indicating that, with time benefits considered, an
increase in the frequency of social media use significantly raises users’ levels of loneliness and self-efficacy. This also
suggests that social media usage is not a purely positive factor for a users’ psychological state. The results of the basic
regression validate the hypotheses 1 and 2.
Robustness Test
Endogeneity Test
In the data processing and analysis phase, there are numerous factors that influence estimation outcomes, with a limited
selection of control variables. Unobservable factors such as individual capability and quality may lead to omitted variable
bias, resulting in inaccurate estimations, and in severe cases, may even alter the nature of the impact under study.
Moreover, the frequency of individual social media use may be related to one’s feelings of loneliness and self-efficacy
due to reverse causality—for instance, individuals with lower self-efficacy may intentionally decrease their social media
usage. The statistical outcomes for different groups in Table 2 also support the potential existence of reverse causality. To
avoid the issues caused by omitted variables and reverse causality leading to endogeneity, this study reprocessed the data
using instrumental variables (IVs).
Effective instrumental variables must possess the dual qualities of strong relevance and exogeneity. Firstly, the IV must be
correlated with individual social media use. Secondly, it should only influence the feelings of loneliness and self-efficacy
through the channel of SMUF. Drawing on the academic consensus, this study adopts the “Internet penetration rates of
Chinese provinces in 2014” and “importance of the Internet for socializing” as instrumental variables.39,40 From a practical
point of view, the 2014 Internet penetration rate in provinces represents the foundation for future digital technology
development in the region, which is closely related to social media usage, and is also widely recognized by scholars as
a viable IV. From the perspective of empirical data, the Two-Stage Least Squares (2SLS) method can be used to examine
whether the IV significantly influences the core independent variable in the first stage, and joint F-test can be used to evaluate
whether the selected IV has weak correlation. According to Stock and others’ rule of thumb, an F-value exceeding 10 indicates
no concern of weak IVs.41 For the exogeneity of the IV, this study employs an over-identification test, comparing the original
regression results with the Hausman test after applying the IV, with findings reported in Table 4.
In the assessment of self-efficacy, the preliminary regression within the 2SLS framework demonstrates significant
impacts from both instrumental variables on SMUF. The substantial exceedance of the critical F-test value threshold of
10 eliminates concerns over the strength of the selected IVs. The pronounced significance of the Durbin-Wu-Hausman
(DWH) statistic negates the exogeneity of SMUF, advocating for the use of IVs to rectify endogeneity within the study.
The Sargan statistic and C statistic of the over-identification test suggest that this study accept the null hypothesis of the
IVs’ exogeneity. The validity of the IVs is affirmed, and the final outcomes using IVs significantly differ from those of
multiple linear regressions, suggesting that the IV method can overcome endogeneity to some extent. Despite different
estimated coefficients, a positive correlation between SMUF and users’ self-efficacy remains evident. This conclusion
stands even after considering endogeneity issues.
Regarding loneliness, the F-value remains above 10, while the significance of the D-W-H statistic is insufficient. This
indicates that the exogeneity of the explanatory variable concerning loneliness is plausible, thereby lending credibility to
the base regression outcomes.
Control Variables YES YES YES YES YES YES YES YES
Fixed time YES YES YES YES YES YES YES YES
Constant 3.546*** 11.93*** 2.021*** 10.34*** 3.507*** 12.20*** 3.524*** 12.23***
(0.0513) (0.149) (0.0315) (0.170) (0.0488) (0.132) (0.0496) (0.141)
Observations 25,861 21,552 36,787 25,115 25,863 21,555 23,281 18,976
In this model, Mi signifies the mediator variable. If the coefficient c is significant and coefficients a and b also pass the
test of significance, then mediation is considered significant. With a significant mediating effect established, a significant
value for c′ would indicate that the mediating variable plays a partial role in the mediation process; if c′ is not significant,
the situation is termed full mediation, meaning the mediating variable Mi is the sole pathway through which the core
explanatory variable exerts its effect.
incorporating these relationships into the third-step regression, the coefficient for SMUF’s effect on self-efficacy was not
significant, suggesting that social network play a complete mediating role. Path 3 data was consistent with Path 1,
showing that social dependence (socioemotional support) exerted a partial mediating benefit. Further exploration into
socioeconomic status, interpersonal relations, and social dependence revealed a positive and interdependent relationship
among them. Collectively, social support mediates the process in which SMUF enhances self-efficacy; social network
acts as a complete mediator, while socioeconomic and socioemotional support contribute both directly to self-efficacy
and indirectly by improving interpersonal relationships. The enhancement of social network promotes the acquisition of
further economic and emotional support, creating a complex positive cyclical structure.
To maintain overall conciseness, this study constructed diagrams illustrating the mediating mechanisms of loneliness,
analogous yet distinct from those of self-efficacy (Figure 2). The figure reflects two critical phenomena. First, socio
economic status (socioeconomic support), interpersonal relationships (social network), and social dependency (socio
emotional support) all have inhibitory effects on users’ loneliness. In terms of data significance, social support plays
a negative mediating role in this process, yet in real-life contexts, social support positively impacts the psychological
well-being of social media users.42 Second, social network serves as a partial rather than a complete mediator in path 2.
Across all examined pathways, SMUF consistently exerts a direct positive effect on users’ feelings of loneliness.
Although social support attempts to alleviate the increase in loneliness, the direct effects of online social interaction
still intensify loneliness. This phenomenon further validates the “social substitution theory” and the “intimacy-frequency
effect”.
All results of the mediation effect tests displayed high significance, with the stepwise method providing robust
explanatory power, negating the need for Bootstrap methods to affirm significance. In summary, the mediation analysis
accepted Hypotheses 3 and 4 and further substantiated the reliability and intrinsic mechanisms of Hypotheses 1 and 2.
Further Analysis
It is important to recognize the variability of social media’s effects on different demographic cohorts. Adopting
a differential perspective, this section divided the sample into distinct groups based on varying criteria to explore the
heterogeneity in the effects of social media usage.
The study divided the distribution of self-efficacy scores at the 15th, 45th, and 85th percentile quantiles, yielding
corresponding estimated outcomes (as detailed in Table 7). The intergroup coefficient test reveals a significant value of
10.16, which indicated the presence of variability in coefficient magnitude across different quantiles, thus confirming the
reliability of Table 7 findings. At the 15th percentile, the positive effect of SMUF on self-efficacy is significant; this
effect weakens at the 45th percentile, with the coefficient decreasing from 0.0308 to 0.0198; and turns negative at the
85th percentile. The emergence of this negative turn at higher quantiles is likely attributable to the adverse impacts of
excessive social comparison on social media platforms, where users tend to showcase their success and accomplishments.
Under such circumstances, users with higher self-efficacy often engage in self-comparison and set higher aspirations for
themselves. Upward comparisons on social media may have led to a disparity between expectations and reality or
a perceived gap with others, adversely affecting the elevation of their self-efficacy. The data shows that the benefits of
social media usage manifested negatively at higher quantiles, suggesting issues with the stability of high levels of self-
efficacy.
Heterogeneity Analysis
Social media use, a form of social behavior, may result in diversified benefits influenced by factors such as resource
reserves, cultural contexts, and individual attributes.43 Differences in development between urban and rural settings, such
as the varying levels of digital infrastructure and social services, create distinct individual characteristics within objective
environments. This divergence manifests in significant heterogeneity in the benefits individuals receive from using social
media. In terms of subjective intention, individuals with different health statuses may hold substantial subjective
variations in their use of social media, leading to diverse effects experienced. Furthermore, the characteristic differences
across various age groups hold significant implications for a deeper exploration of the benefits of social media use. In the
digital economy era, particularly at the crucial juncture of post-pandemic economic recovery, research on the social
media use of the middle-aged and elderly populations can contribute to alleviating severe aging issues and invigorating
their social productivity. Therefore, to examine the differentiated impact of SMUF on self-efficacy and loneliness among
diverse groups, this study conducted grouping regressions based on individual lifecycle stages, self-assessed health
status, and urban-rural residency. The grouping standard is consistent with Table 2.
Results in Table 8 indicate that SMUF’s positive impact on self-efficacy is not significant for youth and elderly, with
the most pronounced and significant effect occurring in the middle-aged group. Compared to other age cohorts, the
middle-aged demographic exhibits the most active expansion of social network breadth, which are more stable during
this life phase. Consequently, the positive effects of SMUF are magnified under the influence of mature social support. In
contrast, the youth, characterized by physiological and psychological immaturity, demonstrates unstable self-efficacy.
The elderly, often referred to as “digital refugees”, have comparatively lower digital skills, creating a significant gap
between them and other age groups. These characteristics render the young and the elderly more vulnerable to both
positive and negative impacts of social media, which may manifest as non-significant effects in empirical findings.
Regarding the variable of loneliness, youth and middle-aged individuals show a sensitive response to SMUF, with
increased loneliness corresponding to increased frequency of usage. Younger individuals’ unstable psychological
characteristics make them sensitive to external factors, and the side effects of spatial isolation due to increased SMUF
are significant. Notably, although the impact of SMUF on the elderly did not reach statistical significance, the effect
trended towards reducing loneliness, aligning with the findings of many scholars. Scholars commonly use the perspective
of family behavioral studies to explain this phenomenon: for the elderly, children are crucial social contacts, and social
media can enhance interactions with offspring, providing stronger socio-emotional support and thus reducing
loneliness.44 However, the non-significance of the estimated coefficients for loneliness in Table 8 may be due to the
small sample size used in the regression.
Differences among health status groups, as evidenced by the intergroup coefficient variance tests, reveal distinct
disparities and comparability in the estimated coefficients. The data suggest that individuals who self- rated as unhealthy
benefit more from social media usage in terms of enhancing their self-efficacy as the frequency of usage increases. The
resource compensation logic also posits that interventions from external factors are more impactful for those in
a disadvantaged resource position, leading to a decrease in marginal benefits as the intensity of resource compensation
Self-Efficacy
Loneliness
escalates.45 Moreover, the SMUF has an insignificant effect on users who self- rated as unhealthy but appears to increase
feelings of loneliness among healthy individuals.
The urban-rural grouping fails to pass the test for coefficient variation; however, self-efficacy responses to SMUF are
positive for both urban and rural residents. There is insufficient evidence to establish a beneficial impact of SMUF on
loneliness among urban residents. These findings on loneliness highlight the considerable resource disparity between
China’s urban and rural areas, with the rural population being at a particular disadvantage.
Discussion
Mental health remains a crucial social issue of concern at all strata. This study, starting from the mediating perspective of
social support, attempts to analyze the impact of social media on self-efficacy and loneliness, simultaneously obtains
significant conclusions in the areas of moderation, heterogeneity, and others.
In terms of self-efficacy, this study validates the hypothesis that “SMUF is a positive predictor of self-efficacy”, but
this does not cover the whole sample. The regression results at the 85th percentile contradict those at other percentiles,
suggesting that SMUF is not an entirely positive factor for self-efficacy. This also supports the views of some scholars
who argue that the vast amount of information brought by social media can become an undeniable source of stress.
Individuals are prone to information overload, which negatively affects the improvement of self-efficacy.48
Conclusion
This study utilized four waves of the CFPS data from 2014, 2016, 2018, and 2020 to construct pooled cross-sectional
data, which served as the basis for analyzing the relationship between social media use and self-efficacy and loneliness,
as well as exploring the mediating role of social support. The following conclusions were drawn: (1) Under given time
effects, SMUF is a significant positive predictor of self-efficacy and loneliness. Upon testing for endogeneity and
robustness, the conclusion remains valid. (2) Social support mediates through three pathways: social network, socio
economic support, and socioemotional support, with social network playing a full mediating role in self-efficacy. Social
support has been found to promote self-efficacy and inhibit the deepening of users’ loneliness. (3) Education (human
capital) plays a moderating role, with higher levels of education stabilizing users’ self-efficacy and loneliness, making the
impact of social media on these constructs insignificant. (4) SMUF yields the most significant positive effects for those
with low self-efficacy, whereas it negatively affects those with high self-efficacy. (5) There is heterogeneity in the
response to SMUF across groups with different characteristics, whether in terms of self-efficacy or loneliness. Based on
the above conclusions, this study provides the following recommendations from micro-individual and macro-social levels
in order to provide theoretical support for improving the health of the entire population in the digital age.
At the individual level, users should enhance their digital literacy, strengthen their ability to judge and filter the
diverse online information, so that they can consciously select content when using social media and avoid negative
impacts due to excessive exposure to negative information. Considering the potential spatial loneliness when using social
media, individuals must control their time investment in social media to allow sufficient time for offline social
interactions. For instance, they could proactively set daily or weekly usage limits and engage more in face-to-face
interactions with family and friends. Particularly for the youth and middle-aged groups, there should be extra vigilance
against being in a state of weak social quality due to prolonged social media use and to avoid an over-virtualization of
social support.
Although social media usage is an individual-level social behavior, it is also influenced by the social environment.
Therefore, governments, businesses, and social organizations should build a favorable social media usage atmosphere at
the social level and establish scientific and reasonable digital technology usage concepts. Special attention should be paid
to easily influenced social groups like youth and middle-aged, providing them with appropriate assistance. Faced with the
complexity and volume of digital information on social media, digital technology companies should collaborate with
governments to build unified standards for information filtering mechanisms, promptly cutting off channels for the spread
of negative information, and objectively maintaining high-quality digital information.
With the advancement of digital technology, social media is poised to become the primary socialization tool for
individuals. Users should recognize the positive predictive effect of social media on their self-efficacy, especially the
mediating role of social support therein. Simultaneously, users need to pay attention to the spatial loneliness brought by
the use of social media and to seek ways to enhance their psychological health.
Statement on AI Usage
All content in this study is original to the authors and no AI was used to generate research content.
Acknowledgments
We would like to express our gratitude to the China Family Panel Studies (CFPS) office for providing the micro survey
data. We also thank the anonymous reviewers and academic editors for their insightful suggestions on our article, which
will help to enhance the quality of our manuscript and shape our future research.
Author Contributions
All authors made a significant contribution to the work reported, whether that is in the conception, study design,
execution, acquisition of data, analysis and interpretation, or in all these areas; took part in drafting, revising or critically
reviewing the article; gave final approval of the version to be published; have agreed on the journal to which the article
has been submitted; and agree to be accountable for all aspects of the work.
Funding
This study was supported by the Education Science “14th Five-Year” Planning Project of Shandong Province (Grant
No. 2021QYB003); the Shandong Provincial Key R & D Program (Soft Science Project) (Grant No. 2023RKY04017).
Disclosure
The authors declare that the research was conducted in the absence of any commercial or financial relationships that
could be construed as a potential conflict of interest.
References
1. Carr CT, Hayes RA. Social media: defining, developing, and divining. Atl J Commun. 2015;23(1):46–65. doi:10.1080/15456870.2015.972282
2. Berryman C, Ferguson CJ, Negy C. Social media use and mental health among young adults. Psychiatr Q. 2018;89:307–314. doi:10.1007/s11126-
017-9535-6
3. McCrae N, Gettings S, Purssell E. Social media depressive symptoms in childhood and adolescence: a systematic review. Adolesc Res Rev.
2017;2:315–330. doi:10.1007/S40894-017-0053-4
4. Braghieri L, Levy RE, Makarin A. Social media and mental health. Am Econ Rev. 2022;112(11):3660–3693. doi:10.1257/aer.20211218
5. Diggins E, Heuvelman H, Pujades-Rodriguez M, et al. Exploring gender differences in risk factors for self-harm in adolescents using data from the
millennium cohort study. J Affect Disord. 2024;345:131–140. doi:10.1016/[Link].2023.10.106
6. Dhir A, Yossatorn Y, Kaur P, et al. Online social media fatigue and psychological wellbeing—A study of compulsive use, fear of missing out,
fatigue, anxiety and depression. Int J Inf Manage. 2018;40:141–152. doi:10.1016/[Link].2018.01.012
7. Grieve R, Watkinson J. The psychological benefits of being authentic on Facebook. Cyberpsychol Behav Soc Netw. 2016;19:420–425. doi:10.1089/
cyber.2016.0010
8. Li K, Xie Y, He HM. Research on the mechanism of social media overload affecting health self-efficacy. J Commun Rev. 2022;75(5):86–98.
Chinese. doi:10.14086/[Link].2022.05.007
9. O’Day EB, Heimberg RG. Social media use, social anxiety, and loneliness: a systematic review. Comput Hum Behav Rep. 2021;3:100070.
doi:10.1016/[Link].2021.100070
10. Zhang XX, Rost DH, Wang JL, et al. Active and passive social networking sites usage and negative emotions: a reciprocal relationship? J Soc Clin
Psychol. 2020;39:195–213. doi:10.1521/jscp.2020.39.3.195
11. Shakya HB, Christakis NA. Association of Facebook use with compromised well-being: a longitudinal study. Am J Epidemiol. 2017;185
(3):203–211. doi:10.1093/aje/kww189
12. Utz S, Muscanell N, Khalid C. Snapchat elicits more jealousy than Facebook: a comparison of snapchat and Facebook use. Cyberpsychol Behav
Soc Netw. 2015;18(3):141–146. doi:10.1089/cyber.2014.0479
13. Turkmen MR. Violence in animated feature films: implications for children. Educat Proc. 2016;5:22–37. doi:10.12973/EDUPIJ.2016.51.2
14. Pittman M, Reich BJ. Social media and loneliness: why an Instagram picture may be worth more than a thousand Twitter words. Comput Hum
Behav. 2016;62:155–167. doi:10.1016/[Link].2016.03.084
15. Geirdal AK, Ruffolo M, Leung J, et al. Mental health, quality of life, wellbeing, loneliness and use of social media in a time of social distancing
during the COVID-19 outbreak. A cross-country comparative study. J Ment Health. 2021;30(2):148–155. doi:10.1080/09638237.2021.1875413
16. Jia W, Liu L, Wang Z, Peng G. Analysis of the impact of public services on residents’ health: a spatial econometric analysis of Chinese provinces.
Int J Public Health. 2023;68:1605938. doi:10.3389/ijph.2023.1605938
17. Luhmann M, Buecker S, Rüsberg M. Loneliness across time and space. Nat Rev Psychol. 2023;2(1):9–23. doi:10.1038/s44159-022-00124-1
18. Yang CC, Carter MD, Webb JJ, et al. Developmentally salient psychosocial characteristics, rumination, and compulsive social media use during the
transition to college. Addict Res Theory. 2020;28(5):433–442. doi:10.1080/16066359.2019.1682137
19. Fankhauser S, Maercker A, Forstmeier S. Social network and cognitive functioning in old age: self-efficacy as a mediator? Z Gerontol Geriatr.
2017;50(2):123–131. doi:10.1007/s00391-016-1178-y
20. Gökçearslan Ş, Mumcu FK, Haşlaman T, et al. Modelling smartphone addiction: the role of smartphone usage, self-regulation, general self-efficacy
and cyberloafing in university students. Comput Hum Behav. 2016;63:639–649. doi:10.1016/[Link].2016.05.091
21. Huang H. Media use, environmental beliefs, self-efficacy, and pro-environmental behavior. J Bus Res. 2016;69:2206–2212. doi:10.1016/J.
JBUSRES.2015.12.031
22. White CM, Cutello CA, Gummerum M, et al. A cross-cultural study of risky online self-presentation. Cyberpsychol Behav Soc Netw. 2018;21
(1):25–31. doi:10.1089/cyber.2016.0660
23. Hu S, Liu H, Gu J. What role does self-efficacy play in developing cultural intelligence from social media usage? Electron Commer Res Appl.
2018;28:172–180. doi:10.1016/[Link].2018.01.009
24. van Zomeren M, Spears R, Leach CW. Exploring psychological mechanisms of collective action: does relevance of group identity influence how
people cope with collective disadvantage? Br J Soc Psychol. 2008;47(Pt 2):353–372. doi:10.1348/014466607X231091
25. Van Bavel JJ, Pereira A. The partisan brain: an identity-based model of political belief. Trends Cognit Sci. 2018;22(3):213–224. doi:10.1016/j.
tics.2018.01.004
26. Crocetti E, Albarello F, Meeus W, et al. Identities: a developmental social-psychological perspective. Eur Rev Soc Psychol. 2023;34(1):161–201.
doi:10.1080/10463283.2022.2104987
27. Song H, Zmyslinski-Seelig A, Kim J, et al. Does Facebook make you lonely? A meta analysis. Comput Hum Behav. 2014;36:446–452. doi:10.1016/
[Link].2014.04.011
28. Ministry of Industry and Information Technology of the People’s Republic of China. Notice on strengthening the organization and implementation
of key promotion projects for the deep integration of informatization and industrialization in 2012. Available from: [Link]
gyzxsjxdjh/xwdt/lhrhsdxhd/art/2020/art_76d50cc9a22242499125dc875aaf4ebf.html. Accessed November 8, 2023.
29. National Internet Emergency Center. China internet network security report; 2014. Available from: [Link]
[Link]. Accessed November 8, 2023.
30. Schwarzer R, Jerusalem M, Weinman J, et al. Measures in health psychology: a user’s portfolio. Caus Cont Beliefs. 1995;1:35–37.
31. Wang CK, Hu ZF, Liu Y. A study on the reliability and validity of the general self-efficacy scale. Chin J Appl Psychol. 2001;1:37–40. Chinese.
doi:10.3969/[Link].1006-6020.2001.01.007
32. Zeng KJ, Wang CL, Yang MX, Li G. Editorial: understanding social and psychological effects of social media on contemporary digital consumers.
Front Psychol. 2023;14:1213731. doi:10.3389/fpsyg.2023.1213731
33. China Internet Network Information Center. The 48th statistical report on internet development in China. Available from: [Link]
[Link]. Accessed November 8, 2023.
34. Weissman MM. The assessment of social adjustment. A review of techniques. Arch Gen Psychiatry. 1975;32(3):357–365. doi:10.1001/
archpsyc.1975.01760210091006
35. Xiao SY. The theoretical foundation and research application of the social support rating scale. J Clin Psychiatry. 1994;2:98–100. Chinese.
36. Claes N, Smeding A, Carré A. Socioeconomic status and social anxiety: attentional control as a key missing variable? Anxiety Stress Cop. 2023;36
(4):519–532. doi:10.1080/10615806.2022.2118723
37. Muñiz-Rivas M, Callejas-Jerónimo JE, Povedano-Díaz A. Virtual social network dependence and school climate in dating violence in adolescence.
Internat J Soc Educ. 2020;9(2):213–233. doi:10.17583/rise.2020.5203
38. Central Committee of the Communist Party of China and the State Council. Medium and long-term youth development plan (2016-2025). Available
from: [Link] Accessed November 8, 2023.
39. Chen F, Wang YJ, Liu XX. Has the internet popularization promoted the economic transformation in rural areas? Res Finan Econ Iss.
2021;12:85–96. Chinese. doi:10.19654/[Link].2021.12.010
40. Yao M, Li LO, Chen XL. The impact of watching short videos on the mental health of young people — an analysis based on the 2020 China family
panel studies data. Contemporary Youth Research. 2022;5:74–82+118. Chinese.
41. Stock JH, Wright JH, Yogo M. A survey of weak instruments and weak identification in generalized method of moments. J Bus Econ Stat. 2002;20
(4):518–529. doi:10.1198/073500102288618658
42. Zhang X, Dong S. The relationships between social support and loneliness: a meta-analysis and review. Acta Psychol. 2022;227:103616.
doi:10.1016/[Link].2022.103616
43. Robinson L, Cotten SR, Ono H, et al. Digital inequalities and why they matter. Inform Comm Soc. 2015;18:569–582. doi:10.1080/
1369118X.2015.1012532
44. Johansson-Pajala RM, Gusdal A, Eklund C, Florin U, Wågert PVH. A codesigned web platform for reducing social isolation and loneliness in older
people: a feasibility study. Inform Health Soc Care. 2023;48(2):109–124. doi:10.1080/17538157.2022.2070068
45. Wang YL, Lu HL, Yang N, et al. A study of organizational justice based on resource allocation view and compensation theory. Chin J Manag.
2018;15(6):837–846. Chinese. doi:10.3969/[Link].1672-884x.2018.06.006
46. Mommersteeg PM, Herr R, Zijlstra WP, et al. Higher levels of psychological distress are associated with a higher risk of incident diabetes during
18 year follow-up: results from the British household panel survey. BMC Public Health. 2012;12:1109. doi:10.1186/1471-2458-12-1109
47. Bennett KM, Morselli D, Spahni S, et al. Trajectories of resilience among widows: a latent transition model. Aging Mental Health. 2020;24
(12):2014–2021. doi:10.1080/13607863.2019.1647129
48. Li Z, Yang M. Internet use and depressive symptoms among Chinese older adults: the mediation and suppression effects of social capital. Front
Psychol. 2021;12:729790. doi:10.3389/fpsyg.2021.729790
49. Zhao L, Detlor B. Towards a contingency model of knowledge sharing: interaction between social capital and social exchange theories. Knowl
Manag Res Pract. 2023;21(1):197–209. doi:10.1080/14778238.2020.1866444
50. Ghorbanzadeh D, Khoruzhy VI, Safonova IV, et al. Relationships between social media usage, social capital and job performance: the case of hotel
employees in Iran. Inf Dev. 2023;39(1):6–18. doi:10.1177/02666669211030553
51. Ma Y, Jia W, Wang J, et al. Does education finance reduce the inequality of educational results? The mediation effect of shadow education. Front
Psychol. 2022;13:1041615. doi:10.3389/fpsyg.2022.1041615
52. Wen X, Cai Y, Li K, et al. A cross-sectional association between screen-based sedentary behavior and anxiety in academic college students:
mediating role of negative emotions and moderating role of emotion regulation. Psychol Res Behav Manag. 2023;16:4221–4235. doi:10.2147/
PRBM.S430928
53. Weiser EB. The functions of internet use and their social and psychological consequences. Cyberpsychol Behav. 2001;4(6):723–743. doi:10.1089/
109493101753376678
54. Child ST, Lawton L. Loneliness and social isolation among young and late middle-age adults: associations with personal networks and social
participation. Aging Mental Health. 2019;23(2):196–204. doi:10.1080/13607863.2017.1399345