Skip to main content
American Journal of Men's Health logoLink to American Journal of Men's Health
. 2026 Feb 27;20(1):15579883261427174. doi: 10.1177/15579883261427174

Perceived Environment and HIV Sexual Risk Behaviors Among Male Migrants Under Gender Imbalance in China: Does Sex With Online Partner Play a Mediating Role?

Ying Wang 1,✉, Hui Wang 1, Tolulope Ariyo 2, Huijun Liu 1
PMCID: PMC12950855  PMID: 41759996

Abstract

The large-scale migration and significant gender imbalance over the decades are expected to elevate HIV sexual risk behaviors substantially in China. However, the mechanisms underlying these behaviors among male migrants in the context of gender imbalance remain poorly understood. This study explores the relationship between perceived environmental factors and HIV sexual risk behaviors, as well as the mediating role of sex with online partners. The data used in this study were obtained from a 2017 cross-sectional survey of 870 male migrants. We found that both peer norms and neighborhood characteristics were associated with sexual risk behaviors among male migrants. Furthermore, sex with online partners was a significant mediator, explaining 22.50% and 20.13% of the associations between peer norms, neighborhood characteristics, and HIV sexual risk behaviors. Notably, the mediating effect was only significant for unmarried male migrants, not for married migrant males. The findings suggest that sex with online partners plays an important role in unmarried male migrants’ HIV sexual risk behaviors and that further prevention and intervention should enhance internet-based sex education.

Keywords: sex with online partner, perceived environment, HIV sexual risk behaviors, male migrants, gender imbalance

Introduction

Since the 1980s, China has witnessed an imbalanced sex ratio due to sex-selective abortion and increased female infant mortality (Srinivasan & Li, 2018). A significant consequence of this gender imbalance is the increasing difficulty for less educated and poorer rural males, especially in finding a spouse, as there are more males than females in the marriage market (S. Wang et al., 2018). Between 2020 and 2080, the cumulative number of these surplus males will exceed 32 million (Guilmoto, 2012). In pursuit of improved work and marriage prospects, these males often migrate to urban areas. Meanwhile, rural-to-urban unmarried male migrants are more likely than married male migrants to have sex with partners met online (Y. Wang et al., 2022). Studies have shown that sex with partners met online was significantly associated with a series of sexual risk behaviors (SRBs, which usually include commercial sex, unprotected sexual intercourse, anal and oral sex, etc.), thereby increasing those males’ susceptibility to HIV/sexually transmitted disease (STD) infections (Abara et al., 2014; Gou et al., 2022; Y. Wang et al., 2020; Xiao et al., 2020). Urgent attention is needed to identify the specific risk factors that make unmarried male migrants more vulnerable to HIV infections.

Sexual contact is the primary mode of HIV/AIDS transmission in China (National Center for AIDS/STD Control and Prevention, 2023), attributed to the increased engagement in sexual SRBs among vulnerable populations (K. Wang et al., 2013; Xiao et al., 2020). The large-scale migration population is believed to be a significant contributor to the rising transmission of HIV through sexual contact (Chowdhury et al., 2018; Liu et al., 2021; K. Wang et al., 2013). The openness of sexual cultural environments and the increased availability of services in urban areas, combined with the relaxed social control post-migration, have heightened the likelihood of rural-to-urban migrants engaging in SRBs (Gou et al., 2022; X. Yang et al., 2007). Numerous studies have identified factors that influence SRBs, including attitude, peer norms, HIV/AIDS-related knowledge, frequent exposure to pornography, and age (Jones et al., 2017; Miner et al., 2009; K. Wang et al., 2013). However, little is known about the mechanisms explaining SRBs among male migrants in the context of gender imbalance in China.

Problem Behavior Theory (PBT) is a valuable socio-psychological framework for investigating the factors that influence the likelihood of male migrants engaging in SRBs. PBT has been widely applied to predict problem behaviors, such as sexual hookups (Fielder et al., 2013), early sexual initiation (Madkour et al., 2010), and risky sexual behavior (De Leo & Wulfert, 2013). According to PBT, problem behaviors result from the combination and interaction of three major systems: personality system, behavior system, and perceived environment system (Jessor et al., 1968). The perceived environment system, the main focus of the current study, consists of both proximal and distal factors (Karaman, 2013).

Perceived Environment and HIV SRBs

Substantial empirical evidence for PBT has consistently demonstrated that both proximal factors (e.g., peer norms) and distal factors (e.g., neighborhood characteristics) within perceived environment systems are associated with SRBs. Peer norms act as a powerful social influence, representing the collective approval or disapproval of significant peers (Berkman et al., 2000). They guide individuals by providing information about morally acceptable behavior and motivating adherence to avoid social sanctions (Barrington et al., 2009; C. Yang et al., 2010). Previous research has confirmed that perceived peers’ sexual behaviors and attitudes are significant normative predictors of SRBs (Ali & Dwyer, 2011; Yamanis et al., 2016). For instance, perceptions of peers’ reduced condom use and their attitudes toward endorsing commercial sex patronage are associated with lower condom use and increased engagement in commercial sex among younger men and unmarried males, respectively (Gou et al., 2021; Hill et al., 2018). Evidence from China also indicated that unmarried male migrants who have peers engaging in sex with a non-regular sex partner are 4.4 times more likely to engage in risky sexual intercourse than those who did not have such peers (K. Wang et al., 2013).

In addition, SRBs can be attributed to more distal factors, such as neighborhood characteristics (Browning et al., 2008; Burns & Snow, 2012). Neighborhood characteristics, typically defined as the attributes or conditions of residents’ living environments (Xiao et al., 2020), are assessed through various indicators, including physical disorder, structural disadvantages, social norms, and collective efficacy, aligned with different theoretical perspectives. Numerous studies have demonstrated that both the structural (e.g., poverty, disorder) and social characteristics of neighborhoods affect HIV risky behaviors and transmission (Bowleg et al., 2014; Davey-Rothwell et al., 2015; Frye et al., 2017). Neighborhood culture shapes behavior by establishing values that guide actions (Berg et al., 2016), and information conveyed by a disordered neighborhood may contribute to risk behaviors (Jones et al., 2017). For example, one study found that permissiveness toward casual sex with a neighborhood significantly influenced adolescents’ SRBs (Warner, 2018), while another study identified a link between neighborhood characteristics and the likelihood of engaging in commercial sex among Chinese male migrants (Xiao et al., 2020). All these results highlight the importance of the perceived environment in SRBs. However, few studies have considered both proximal and distal environmental factors in relation to SRBs simultaneously. The mechanisms underlying the associations between perceived environmental factors and SRBs among male migrants also remain unclear.

Sex With Online Partners and HIV SRBs

The internet has become a popular platform for seeking sex partners (Cabecinha et al., 2017). Studies have shown a strong association between sex with online partners and SRBs across cultures and populations. For instance, a survey of Chinese rural unmarried males found that those who having sex with online partners were more likely to engage in unsafe sexual intercourse, commercial sex, and have multiple sexual partners (Y. Wang et al., 2020). Similarly, studies in Western countries have reported similar associations between online sexual partner-seeking and engaging in multiple sexual partners, unprotected anal intercourse, and concurrent partnerships among men who have sex with men (MSM), the general population, and adolescents (Cabecinha et al., 2017; Gravningen et al., 2016; Wong et al., 2014). These findings suggest that sex with online partners can increase the likelihood of SRBs.

Perceived Environment, Sex With Online Partners, and HIV SRBs

The relationship between perceived environment and sex with online partners has been previously explored. For example, perceived peer norms have been linked to sex with online partners (Y. Wang et al., 2022) and seeking casual sex via dating apps (Chan, 2017). Given the more permissive attitude toward casual sex and the higher internet penetration in urban areas, rural-to-urban unmarried male migrants may be more likely to engage in sex with online partners. For these individuals, sex with online partners not only satisfies their sexual desires but also serves as a significant pathway to risky sexual behaviors (Y. Wang et al., 2020). Thus, sex with online partners may act as a pivotal mediator between the perceived environment and SRBs. In addition, prior research has shown that unmarried male migrants are more likely to engage in SRBs compared to their married counterparts (Gou et al., 2021; Xiao et al., 2020). However, limited evidence exists on the differences in the mechanisms underlying SRBs between married and unmarried male migrants.

Aim of the Present Study

This study aims to explore the influencing mechanisms of HIV SRBs among male migrants in the context of China’s gender imbalance. Specifically, as illustrated in Figure 1, we examine the relationships between peer norms, neighborhood characteristics, and SRBs, with a focus on the mediating role of sex with online partners. In addition, we examine potential differences in the associations between married and unmarried male migrants.

Figure 1.

Figure 1.

Conceptual Framework.

Method

Study Design and Data Source

The data for this study were drawn from the “Mobility, Sexuality, and Quality of Life Survey,” a cross-sectional investigation conducted in China from January to September 2017. Eligibility criteria included (a) rural household registration (hukou); (b) at least 6 months of migration experience; and (c) males aged 28 and older. We conducted the survey in both rural and urban areas, and the sampling process is illustrated in Figure 2.

Figure 2.

Figure 2.

Flowchart of Sampling Strategy and Participant Recruitment.

Sampling and Recruitment Procedures

In rural areas, we employed a stratified multi-stage sampling approach to identify unmarried males who returned from rural to urban migration (Liu et al., 2021; Zhao, Liu, Hai, & Zhang, 2022). Stage 1 (Province Selection): As unmarried men due to the marriage squeeze are predominantly located in central and western China (Sharygin et al., 2013; Zhao, Liu, Hai, & Zhang, 2022), we randomly selected 12 provinces from the 18 provinces and autonomous regions in this area and 4 provinces from the 10 eastern and northeastern provinces. This sampling frame represents approximately half of all provinces in mainland China, ensuring broad geographical representation. Stage 2 (Village Selection): Within these provinces, 113 villages with an average village size of 2,700 people were randomly selected. Stage 3 (Participant Recruitment): Using name lists of unmarried males provided by village cadres, we randomly selected potential participants. The interviewer team consisted of 80 undergraduate students who were originally from the selected villages. Recruitment was timed to coincide with the 2017 Spring Festival, when most migrants return home, maximizing access to the target population. From this process, 486 (97.2%) valid samples were collected.

In urban areas, a multi-stage cluster sampling method was used to recruit the rural–urban male migrants (including married and unmarried male migrants) (Gou et al., 2022; Xiao et al., 2020). Stage 1 (City Selection): Three cities with high concentrations of migrant workers were purposively selected: Xi’an (a primary destination for intra-provincial migration) and Shenzhen and Dongguan (major hubs for inter-provincial migration). Stage 2 (Cluster Selection): Within these cities, venues with a high concentration of migrant workers were identified. Guided by the occupational distribution of migrants from the 2010 national census, a total of 16 venues (clusters) were randomly selected, comprising ten factories, five construction sites, and one large labor market. Stage 3 (Participant Selection): Within each selected venue (cluster), all rural–urban male migrant workers who were willing to participate were interviewed. In total, 454 (91.35%) valid samples were collected.

Data Collection

Data were collected via private, face-to-face interviews. All interviews were administered using the Computer-Assisted Personal Interviewing (CAPI) method to ensure privacy and data reliability. Critically, the interviewer team underwent the rigorous and standardized training program before fieldwork, covering the study protocol, ethical principles, informed consent, interviewing techniques for sensitive topics, and the CAPI software proficiency. This standardization was crucial to minimize interviewer bias. Each interview took approximately 30–50 minutes to complete. A written informed consent was obtained from the study participants, and a 50 CNY incentive was provided to participants.

A total of 940 individuals (486 from rural areas, 454 from urban areas) completed the survey. For this analysis, 70 participants were excluded: 12 who were divorced or widowed, 48 who were younger than 28 years old, and 10 who had missing data on key sexual behavior variables. This resulted in a final analytical sample of 870 participants.

The study protocol was approved by the Biomedical Ethics Committee, Xi’an Jiaotong University (No: 2016-415). Written informed consent was obtained from all participants before the interview began.

Measures

Dependent Variable: HIV SRBs

HIV SRBs were assessed using four indicators: commercial sex, inconsistent condom use, unsafe sexual intercourse, and multiple sex partners (Gou et al., 2022; Sales & Sheth, 2019). Commercial sex was measured by asking, “Have you ever had sexual intercourse with sex workers?” (1 = yes, 0 = no) (Xiao et al., 2020). For inconsistent condom use, respondents listed five sexual partners and indicated how often condoms were used (four-point scale from “always” to “never”), which was dichotomized (1 = inconsistent use, consistent use = 0) (Zhao, Liu, Chen, & Feldman, 2022). Unsafe sexual intercourse was assessed by asking about engagement in behaviors such as anal sex, oral sex, or group sex in the past 12 months (1 = yes, 0 = no) (Y. Wang et al., 2020). Multiple sex partners were measured by asking, “How many people have you had sex with?” (1 = ≥4, 0 = 0–3) (Gou et al., 2022). Scores from these behaviors were summed to create a composite HIV SRB score (0–4).

Independent Variable: Perceived Environment

In this study, two variables were used to assess participants’ perceived environment: peer norms and neighborhood characteristics, which represent proximal and distal factors, respectively.

For the measurement of peer norms, a well-established name generator method was employed, asking respondents to list five individuals with whom they had interacted most frequently in the past 6 months (excluding parents and siblings), thereby forming the respondents’ social network (Burt, 1984). Peer norms were assessed by asking whether those listed peers approve of the uncommitted sexual behaviors, such as sex with partners met online or sex workers. Responses were rated on a four-point Likert-type scale (1 = strongly disagree to 4 = strongly agree), and scores were summed for a range from 2 to 32, with higher scores indicating more positive peer norms (Gou et al., 2021).

Neighborhood characteristics were assessed by asking about the prevalence of extramarital affairs and commercial sex in both participants’ village and workplace, rated on a 4-point Likert-type scale (1 = none to 4 = many, coded 0 for “don’t know”), with scores summed to create a neighborhood characteristics score (0–12) (Gou et al., 2022; Xiao et al., 2020).

Mediation Variable: Having Sex With Online Partner

Sex with online partners was measured through a two-step inquiry: First, participants were asked, “Have you surfed the internet in the past 12 months?” Those answering yes move to the next question about having intercourse with online partners with no previous social ties. Respondents who answered yes were then asked if they had sexual intercourse with partners met online with no previous social ties. Responses were coded as (1 = yes, 0 = no) (Y. Wang et al., 2020).

Control Variables

Sociodemographic characteristics and health status were used as control variables, including age, education, monthly income, occupation, and self-reported health. Education was classified into three levels: “primary school and below,” “junior high school,” and “senior high school and above.” Monthly income was calculated as the respondent’s average monthly earnings in the past 12 months, classified as “below 3000 Yuan (RMB),” “between 3000 and 5000 Yuan,” and “above 5000 Yuan.” The occupation was coded as a categorical variable, including “farmers,” “workers, employees” “civil servants, managers,” and “freelance and other.” The five self-reported health categories ranged ordinally from “very poor” to “very good.”

Data Analysis

Stata/MP 15.1 was used for statistical analyses. First, we conducted a descriptive statistical analysis. Pearson chi-square tests (for categorical variables) and T-tests (for continuous variables) were used to compare the differences in characteristics among married male and never-married male migrants. Then, the Poisson regression was conducted to examine the association between perceived environment, having sex with online partner, and SRBs for all male migrants, as well as separately for unmarried and married males. Models 1, 3, and 5 examined the associations between perceived environment and SRBs after controlling for sociodemographic characteristics and self-reported health. Models 2, 4, and 6 examined the associations between sex with online partners and SRBs, adding the variable of sex with online partners into Models 1, 3, and 5, respectively. The KHB method (Karlson, Holm, and Breen; via the khb command in Stata), developed to analyze mediation effects in nonlinear models, calculates the percentage of the main association explained by the mediator. Before conducting the Poisson regression, a multicollinearity test of independent variables was performed, with all variance inflation factors found to be below 10, indicating an acceptable level of multicollinearity. We performed mediation analyses and calculated the percentage of the main association explained by the mediator.

Results

Sample Characteristics and Bivariate Analysis

Table 1 presents the sociodemographic characteristics of 870 migrant males (556 unmarried, 314 married). The average peer norm score was significantly higher in married migrants (14.47 vs. 11.78, p < .001). Unmarried males were more likely to engage in sex with online partners (18.35% vs. 12.74%, p < .05) and had higher SRB scores (1.61 vs. 1.43, p < .01).

Table 1.

Characteristics of the Sample and Their Differences (N = 870).

Variables Total sample
(N = 870)
M (SD)/%
Unmarried male migrants
(556)
M (SD)/%
Married
male migrants
(314)
M (SD)/%
T/χ2 p
Age 34.69 (6.46) 33.05 (4.39) 37.61 (8.28) −10.60 <.001
Education 32.05 <.001
 Primary school and below 16.90% 22.30% 7.32%
 Junior high school 45.75% 42.81% 50.96%
 Senior high school and above 37.35% 34.89% 41.72%
Monthly income 3.88 .144
 <3,000 Yuan 35.06 36.33 32.80
 3,000–5,000 Yuan 45.17 45.86 43.95
 >5,000 Yuan 19.77 17.81 23.25
Occupation 27.71 <.001
 Farmers 15.63 17.27 12.74
 Worker/employee 41.61 36.87 50.00
 Civil servants, managers 24.60 23.38 26.75
 Freelance and other 18.16 22.48 10.51
Self-reported health 3.96 (0.89) 3.99 (0.03) 3.90 (0.05) 1.48 .139
Perceived environment
 Peer norms 12.75 (0.21) 11.78 (0.25) 14.47 (0.35) −6.19 <.001
 Neighborhood characteristics 1.91 (0.07) 2.01 (2.19) 1.74 (2.32) 1.65 .098
Sex with online partner 4.61 .032
 Yes 16.32 18.35 12.74
 No 83.68 81.65 87.26
HIV sexual risk behaviors 1.55 (0.97) 1.61 (0.04) 1.43 (0.05) 2.56 .010

Note. Pearson chi-square test was used for categorical variables and T-tests for continuous variables.

Regression Results

Table 2 shows that both peer norms and neighborhood characteristics were significantly associated with SRBs across all groups. In Model 1, peer norms were positively linked to SRBs in the total sample (0.020, SE = 0.005), and similarly for unmarried male migrants in model 3 (0.023, SE = 0.006) and married male migrants in Model 5 (0.021, SE = 0.008). In addition, there was also a positive association between neighborhood characteristics and SRBs across the total sample (0.067, SE = 0.012), unmarried male migrants (0.074, SE = 0.015), and married male migrants (0.054, SE = 0.020).

Table 2.

Poisson Regression Models for HIV Sexual Risk Behaviors.

Total sample N = 870 Unmarried male migrants N = 556 Married male migrants N = 314
Variables Model 1 coefficient (SE) Model 2 coefficient (SE) Model 3 coefficient (SE) Model 4 coefficient (SE) Model 5 coefficient (SE) Model 6 coefficient (SE)
Perceived environment
 Peer norms 0.020*** (0.005) 0.015** (0.005) 0.023*** (0.006) 0.017** (0.006) 0.021* (0.008) 0.016 (0.008)
 Neighborhood characteristics 0.067*** (0.012) 0.051*** (0.012) 0.074*** (0.015) 0.056*** (0.015) 0.054** (0.020) 0.042* (0.021)
Sex with online partner 0.490*** (0.066) 0.507*** (0.079) 0.415** (0.129)
Age −0.011* (0.005) −0.005 (0.005) −0.000 (0.009) 0.005 (0.009) −0.013* (0.006) −0.008 (0.006)
Education (primary and below for reference)
 Junior high school −0.141 (0.078) −0.114 (0.078) −0.145 (0.091) −0.099 (0.092) 0.042 (0.200) −0.007 (0.201)
 Senior high school and above −0.234** (0.087) −0.191* (0.087) −0.188 (0.107) −0.141 (0.107) −0.091 (0.211) −0.105 (0.212)
Monthly income (<3,000 Yuan for reference)
 3,000–5,000 Yuan −0.003 (0.068) 0.014 (0.067) 0.027 (0.082) 0.053 (0.082) −0.080 (0.123) −0.068 (0.123)
 >5,000 Yuan 0.029 (0.085) 0.093 (0.085) 0.066 (0.108) 0.139 (0.107) −0.016 (0.142) 0.027 (0.142)
Occupation (farmers for reference)
 Worker/employee 0.024 (0.090) −0.005 (0.090) 0.126 (0.112) 0.071 (0.111) −0.086 (0.164) −0.077 (0.165)
 Civil servants, managers 0.101 (0.104) 0.043 (0.104) 0.194 (0.130) 0.079 (0.131) −0.025 (0.180) 0.001 (0.181)
 Freelance and other 0.076 (0.099) 0.030 (0.099) 0.113 (0.116) 0.023 (0.117) −0.010 (0.201) 0.051 (0.202)
Self-reported health −0.027 (0.031) −0.027 (0.031) −0.052 (0.040) −0.033 (0.041) 0.001 (0.051) −0.017 (0.052)
 Constant 0.620** (0.239) 0.408 (0.242) 0.238 (0.387) −0.028 (0.393) 0.529 (0.428) 0.449 (0.431)
 Pseudo R2 0.037 0.058 0.044 0.068 0.031 0.043

Note. Standard errors are in parentheses.

*

p < .05. **p < .01. ***p < .001.

When sex with online partners was included in the models, the coefficient size of the association between peer norm and neighborhood characteristics and SRBs decreased slightly. Sex with an online partner was significantly associated with increased SRBs among migrant males (0.490, SE = 0.066). The magnitude of the association was higher for unmarried male migrants (0.507, SE = 0.079) than for their married counterparts (0.415, SE = 0.129). These findings suggest a potential mediating role of sex with online partners in the relationship between the perceived environment and SRBs. This hypothesis was further examined through a mediation analysis.

Mediation Results

Table 3 presents the mediation results. In examining the association between peer norms and SRBs, the coefficient size was 0.120 (SE = 0.028, 95% CI = [0.064, 0.175]) without the mediator variable. With the mediator included, the coefficient size decreased to 0.093 (SE = 0.028, 95% CI = [0.036, 0.149]), indicating that 22.50% (0.027/0.120) of the association was mediated by sex with online partners. Stratified analyses revealed that this mediation effect was significant among unmarried male migrants (0.028, SE = 0.013, 95% CI = [0.003, 0.053]), accounting for 21.21% (0.028/0.132) of the association, but not for married male migrants 0.024 (SE = 0.014, 95% CI = [-0.002, - 0.052]).

Table 3.

Mediating Effects of Sex with Online Partners on the Association Between Perceived Environment and HIV Sexual Risk Behaviors.

Perceived environment
Mediation Decomposition Components Peer norms Neighborhood characteristics
Coefficient (SE) 95% CI Coefficient (SE) 95% CI
Total sample
Reduced (excluding mediators) 0.120 (0.028)*** 0.064 - 0.175 0.144 (0.026)*** 0.092 - 0.195
Full (including mediators) 0.093 (0.028)*** 0.036 - 0.149 0.114 (0.027)*** 0.061 - 0.166
Difference 0.027 (0.009)** 0.008 - 0.045 0.029 (0.010)** 0.010 - 0.048
Contribution (%) 22.50 20.13
Unmarried male migrants
Reduced (excluding mediators) 0.132 (0.034)*** 0.064 - 0.199 0.157 (0.033)*** 0.093 - 0.221
Full (including mediators) 0.104 (0.035)** 0.035 - 0.172 0.123 (0.033)*** 0.058 - 0.188
Difference 0.028 (0.013)* 0.003 - 0.053 0.034 (0.013)** 0.008 - 0.060
Contribution (%) 21.21 21.66
Married male migrants
Reduced (excluding mediators) 0.124 (0.051)* 0.023 - 0.225 0.119 (0.047)* 0.026 - 0.211
Full (including mediators) 0.099 (0.052)+ −0.004 - 0.202 0.096 (0.048)* 0.002 - 0.190
Difference 0.024 (0.014)+ −0.002 - 0.052 0.022 (0.013)+ −0.004 - 0.049
Contribution (%) / /

Note. Standard errors are in parentheses.

*

p < .05. **p < .01. ***p < .001.

Similarly, for the association between neighborhood characteristics and SRBs, the coefficient size was 0.144 (SE = 0.026, 95% CI = [0.092, 0.195]) without the mediator and decreased to 0.114 (SE = 0.027, 95% CI = [0.061, 0.166]) with the mediator, indicating a 20.13% (0.029/0.144) mediation effect. Stratified analyses showed this mediation effect was significant among unmarried male migrants (0.034, SE = 0.013, 95% CI = [0.008, 0.060]), accounting for 21.66% (0.034/0.157) of the association, but not for married male migrants (0.022, SE = 0.013, 95% CI = [-0.004, - 0.049]).

Discussion

To our knowledge, this study is the first to explore the mediating role of sex with online partners in the relationship between perceived environment and HIV SRBs among male migrants within the context of China’s gender imbalance. We simultaneously examined proximal factors (peer norms) and distal factors (neighborhood characteristics) of the perceived environment system on SRBs. Key findings include (1) positive perceptions of both peer norms and neighborhood characteristics are associated with higher SRBs and (2) sex with online partners significantly mediates the associations between these environmental factors and SRBs, with this mediation effect observed only in unmarried male migrants.

Our findings highlight the significant influence of both proximal and distal environmental factors on SRBs. Regarding peer norms, male migrants perceiving their peers as more accepting of casual sex (e.g., with online partners or sex workers) showed a higher likelihood of engaging in SRBs. The result is consistent with a prior study which indicated that having peers who had sex with a non-committed sex partner increases the possibility of engaging in SRBs among male migrants (K. Wang et al., 2013). This finding further supports previous research indicating that peer norms play a crucial role in influencing various risky sexual behaviors, including commercial sex, unprotected sex, and multiple sexual partnerships (Hill et al., 2018; Jones et al., 2017; W. Wang & Muessig, 2017). According to social influence theory, individuals are likely to conform to behaviors endorsed by their social networks (Mulawa et al., 2016). Thus, perceiving peer approval of casual sex may provide a rational basis for male migrants engaging in SRBs (Hill et al., 2018).

In terms of neighborhood characteristics, consistent with existing studies, we found that exposure to neighborhoods with prevalent casual sexual activities is associated with increased SRBs among male migrants (Bowleg et al., 2014; Raymond et al., 2014). Previous studies have reported a significant relationship between neighborhood structural disadvantage (Akers et al., 2011; Parrado & Flippen, 2010), neighborhood disorder (Frye et al., 2017), and SRBs. This study further confirms that male migrants exposed to a higher prevalence of casual sexual activities in their neighborhoods are more likely to engage in SRBs (Gou et al., 2021; Xiao et al., 2020). One possible explanation is that neighborhood peers serve as role models, thereby normalizing and encouraging similar behaviors (Warner, 2018). Another possible explanation is that neighborhood contexts shape subcultural norms that foster acceptability and engagement in SRBs (Akers et al., 2011).

Crucially, our study reveals that sex with online partners serves as a significant partial mediator between perceived peer norms, neighborhood characteristics, and SRBs. This finding implies that the perceived environment not only has a direct impact on SRBs but also indirectly promotes engagement in SRBs through sex with online partners. Unmarried male migrants perceiving greater social acceptance of casual sex were more likely to engage in sex with online partners (Y. Wang et al., 2022), which is associated with behaviors like inconsistent condom use, commercial sex, and having multiple sexual partners (Cabecinha et al., 2017; Y. Wang et al., 2020). This finding reveals a mechanism underlying the effect of perceived environment on male migrants’ SRBs. Given the internet’s role in facilitating SRBs (Brown et al., 2015), internet-based health education programs may be essential for reducing SRBs among male migrants.

Notably, the mediating role of sex with online partners was significant only for unmarried male migrants, not their married counterparts. This disparity could be due to several factors. First, unmarried male migrants are generally more sexually active in casual contexts compared to married ones (Xiao et al., 2020; X. Yang et al., 2014), partly driven by China’s gender imbalance and associated “marriage squeeze.” This demographic challenge may prompt unmarried men to seek sex partners online (Y. Wang et al., 2020). Second, unlike married individuals, unmarried male migrants lack spousal social commitments, leading to weaker social constraints and an increased likelihood of engaging in sex with online partners. Moreover, younger, unmarried migrants may display a more adventurous attitude toward their sexual desires, which potentially elevates the likelihood of engaging in SRBs (Chowdhury et al., 2018; Xiao et al., 2020; Zhao, Liu, Chen, & Feldman, 2022). Recent studies have reported that unmarried male migrants are more likely to have complex sexual networks (Zhao, Liu, Chen, & Feldman, 2022), further heightening their risk of SRBs. Given their limited access to sex education and reproductive health services (K. Wang et al., 2013; X. Yang et al., 2014), targeted interventions for unmarried male migrants, such as comprehensive online sex education and regular health check-ups, are crucial.

Limitation

This study has several limitations. First, peer norms encompass both descriptive (what peers do) and injunctive norms (what peers approve or disapprove of) (Cialdini et al., 1990). Prior research indicates that individuals’ sexual behaviors are more strongly associated with perceived peer actions than peer approval (Barrington et al., 2009; Van de Bongardt et al., 2015). Future studies should include descriptive norms to better understand their distinct impacts on SRBs. Second, our analysis focused exclusively on the perceived environment system within the framework of PBT, which also includes personality and behavior systems (Jessor, 1991). Expanding future research to include variables from all three systems would provide a more comprehensive understanding of SRBs. Third, we acknowledge that the data were collected in 2017, prior to the COVID-19 pandemic. It provides a valuable baseline for behaviors driven by enduring structural factors like gender imbalance and migration. The subsequent scarcity of large-scale surveys on this hard-to-reach population highlights the unique and continued relevance of this dataset. Finally, due to the cross-sectional design of this study, causal inferences cannot be established. Longitudinal research is needed to clarify the causal relationships between perceived environment, sex with online partners, and SRBs.

Conclusion

This study provided significant contributions to understanding the mechanisms underlying SRBs among male migrants in the context of gender imbalance in China. Peer norms and neighborhood characteristics may influence SRBs both directly and indirectly through sex with online partners, with this mediation effect significant only among unmarried male migrants. These results underscore the need for targeted interventions that address peer attitudes and implement community-based sexual health campaigns. In addition, expanding internet-based sex education and improving STD awareness are critical to enhancing sexual health. Strengthening access to free condoms and comprehensive sexual health services for unmarried male migrants is crucial in early prevention and intervention efforts to reduce HIV sexual risks in China.

Acknowledgments

The authors thank Dr. Qunying Xiao, Dr. Huanying Gou, and Dr. Min Zhao for their contribution on survey design and data collection. The authors would like to thank all participants of the study.

Footnotes

Ethical Considerations: The study was approved by the Biomedical Ethics Committee, Xi’an Jiaotong University (No: 2016-415). The participants of this study gave written informed consent.

Author Contributions: YW was involved in conceptualization, investigation, software, writing, original draft preparation, and visualization. HW was involved in validation and writing. TA was involved in writing—reviewing and editing. HJL was involved in funding acquisition, data curation, methodology, and supervision.

Funding: The authors disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This study was supported by grants from the National Natural Science Foundation of China (71573202), the Ministry of Education of the People’s Republic of China Project of Humanities and Social Sciences (grant number 24YJC840051), and the Natural Science Foundation of Shaanxi Province (grant number 2025JC-YBQN-1106).

The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.

References

  1. Abara W., Annang L., Spencer S. M., Fairchild A. J., Billings D. (2014). Understanding internet sex-seeking behaviour and sexual risk among young men who have sex with men: Evidences from a cross-sectional study. Sexually Transmitted Infections, 90(8), 596–601. 10.1136/sextrans-2014-051545 [DOI] [PubMed] [Google Scholar]
  2. Akers A. Y., Muhammad M. R., Corbie-Smith G. (2011). “When you got nothing to do, you do somebody”: A community’s perceptions of neighborhood effects on adolescent sexual behaviors. Social Science & Medicine, 72(1), 91–99. [DOI] [PMC free article] [PubMed] [Google Scholar]
  3. Ali M. M., Dwyer D. S. (2011). Estimating peer effects in sexual behavior among adolescents. Journal of Adolescence, 34(1), 183–190. [DOI] [PubMed] [Google Scholar]
  4. Barrington C., Latkin C., Sweat M. D., Moreno L., Ellen J., Kerrigan D. (2009). Talking the talk, walking the walk: Social network norms, communication patterns, and condom use among the male partners of female sex workers in La Romana, Dominican Republic. Social Science & Medicine, 68(11), 2037–2044. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Berg M. T., Burt C. H., Lei M.-K., Gordon Simons L., Stewart E. A., Simons R. (2016). Neighborhood social processes and adolescent sexual partnering: A multilevel appraisal of Anderson’s player hypothesis. Social Forces, 94(4), 1823–1846. [Google Scholar]
  6. Berkman L. F., Glass T., Brissette I., Seeman T. E. (2000). From social integration to health: Durkheim in the new millennium. Social Science & Medicine, 51(6), 843–857. [DOI] [PubMed] [Google Scholar]
  7. Bowleg L., Neilands T. B., Tabb L. P., Burkholder G. J., Malebranche D. J., Tschann J. M. (2014). Neighborhood context and Black heterosexual men’s sexual HIV risk behaviors. AIDS and Behavior, 18(11), 2207–2218. [DOI] [PMC free article] [PubMed] [Google Scholar]
  8. Brown M. J., Pugsley R., Cohen S. A. (2015). Meeting sex partners through the Internet, risky sexual behavior, and HIV testing among sexually transmitted infections clinic patients. Archives of Sexual Behavior, 44(2), 509–519. [DOI] [PubMed] [Google Scholar]
  9. Browning C. R., Burrington L. A., Leventhal T., Brooks-Gunn J. (2008). Neighborhood structural inequality, collective efficacy, and sexual risk behavior among urban youth. Journal of Health and Social Behavior, 49(3), 269–285. [DOI] [PMC free article] [PubMed] [Google Scholar]
  10. Burns P. A., Snow R. C. (2012). The built environment & the impact of neighborhood characteristics on youth sexual risk behavior in Cape Town, South Africa. Health & Place, 18(5), 1088–1100. [DOI] [PMC free article] [PubMed] [Google Scholar]
  11. Burt R. S. (1984). Network items and the general social survey. Social Networks, 6(4), 293–339. [Google Scholar]
  12. Cabecinha M., Mercer C. H., Gravningen K., Aicken C., Jones K. G., Tanton C., Wellings K., Sonnenberg P., Field N. (2017). Finding sexual partners online: Prevalence and associations with sexual behaviour, STI diagnoses and other sexual health outcomes in the British population. Sexually Transmitted Infections, 93(8), 572–582. [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Chan L. S. (2017). Who uses dating apps? Exploring the relationships among trust, sensation-seeking, smartphone use, and the intent to use dating apps based on the integrative model. Computers in Human Behavior, 72, 246–258. [Google Scholar]
  14. Chowdhury D., Saravanamurthy P., Chakrabartty A., Purohit S., Iyer S., Agarwal A., Gopal K., Mishra P. (2018). Vulnerabilities and risks of HIV infection among migrants in the Thane district, India. Public Health, 164, 49–56. [DOI] [PubMed] [Google Scholar]
  15. Cialdini R. B., Reno R. R., Kallgren C. A. (1990). A focus theory of normative conduct: Recycling the concept of norms to reduce littering in public places. Journal of Personality and Social Psychology, 58(6), 1015. [Google Scholar]
  16. Davey-Rothwell M. A., Siconolfi D. E., Tobin K. E., Latkin C. A. (2015). The role of neighborhoods in shaping perceived norms: An exploration of neighborhood disorder and norms among injection drug users in Baltimore, MD. Health & Place, 33, 181–186. [DOI] [PMC free article] [PubMed] [Google Scholar]
  17. De Leo J. A., Wulfert E. (2013). Problematic Internet use and other risky behaviors in college students: An application of problem-behavior theory. Psychology of Addictive Behaviors, 27(1), 133. [DOI] [PubMed] [Google Scholar]
  18. Fielder R. L., Walsh J. L., Carey K. B., Carey M. P. (2013). Predictors of sexual hookups: A theory-based, prospective study of first-year college women. Archives of Sexual Behavior, 42(8), 1425–1441. [DOI] [PMC free article] [PubMed] [Google Scholar]
  19. Frye V., Nandi V., Egan J. E., Cerda M., Rundle A., Quinn J. W., Sheehan D., Ompad D. C., Van Tieu H., Greene E. (2017). Associations among neighborhood characteristics and sexual risk behavior among Black and White MSM living in a major urban area. AIDS and Behavior, 21(3), 870–890. [DOI] [PubMed] [Google Scholar]
  20. Gou H., Liu H., Feldman M. W. (2022). How does migration affect HIV sexual risk behaviors among involuntary bachelors? The mediating roles of neighborhoods and social networks. Archives of Sexual Behavior, 52, 267–281. [DOI] [PubMed] [Google Scholar]
  21. Gou H., Liu H., Wang Y., Li X., Feldman M. W. (2021). Migration, social networks, and HIV sexual risk behaviors among involuntary bachelors in rural China. AIDS and Behavior, 25(3), 875–885. [DOI] [PubMed] [Google Scholar]
  22. Gravningen K., Aicken C. R., Schirmer H., Mercer C. H. (2016). Meeting sexual partners online: Associated sexual behaviour and prevalent chlamydia infection among adolescents in Norway: A cross-sectional study. Sexually Transmitted Infections, 92(2), 97–103. [DOI] [PubMed] [Google Scholar]
  23. Guilmoto C. Z. (2012). Skewed sex ratios at birth and future marriage squeeze in China and India, 2005–2100. Demography, 49(1), 77–100. [DOI] [PubMed] [Google Scholar]
  24. Hill L., Moody J., Gottfredson N., Kajula L., Pence B., Go V., Maman S. (2018). Peer norms moderate the association between mental health and sexual risk behaviors among young men living in Dar es Salaam, Tanzania. Social Science & Medicine, 196, 77–85. [DOI] [PMC free article] [PubMed] [Google Scholar]
  25. Jessor R. (1991). Risk behavior in adolescence: A psychosocial framework for understanding and action. Journal of Adolescent Health, 12, 597–605. [DOI] [PubMed] [Google Scholar]
  26. Jessor R., Graves T. D., Hanson R. C. (1968). Society, personality, and deviant behavior: A study of a tri-ethnic community. Holt, Rinehart and Winston. [Google Scholar]
  27. Jones J., Salazar L. F., Crosby R. (2017). Contextual factors and sexual risk behaviors among young, black men. American Journal of Men’s Health, 11(3), 508–517. [DOI] [PMC free article] [PubMed] [Google Scholar]
  28. Karaman N. G. (2013). Predicting the problem behavior in adolescents. Eurasian Journal of Educational Research, 52, 137–154. [Google Scholar]
  29. Liu H., Wang H., Feldman M. (2021). The risk of HIV/STDs infection and transmission among never-married male migrants in China: Is risk attributable to bachelorhood or migration? Archives of Sexual Behavior, 50(7), 3115–3124. [DOI] [PubMed] [Google Scholar]
  30. Madkour A. S., Farhat T., Halpern C. T., Godeau E., Gabhainn S. N. (2010). Early adolescent sexual initiation as a problem behavior: A comparative study of five nations. Journal of Adolescent Health, 47(4), 389–398. [DOI] [PMC free article] [PubMed] [Google Scholar]
  31. Miner M. H., Peterson J. L., Welles S. L., Jacoby S. M., Simon Rosser B. (2009). How do social norms impact HIV sexual risk behavior in HIV-positive men who have sex with men? Multiple mediator effects. Journal of Health Psychology, 14(6), 761–770. [DOI] [PMC free article] [PubMed] [Google Scholar]
  32. Mulawa M., Yamanis T. J., Hill L. M., Balvanz P., Kajula L. J., Maman S. (2016). Evidence of social network influence on multiple HIV risk behaviors and normative beliefs among young Tanzanian men. Social Science & Medicine, 153, 35–43. [DOI] [PMC free article] [PubMed] [Google Scholar]
  33. National Center for AIDS/STD Control and Prevention. (2023). The national HIV/STI epidemic in the second quarter of 2023. Chinese Journal of AIDS & STD, 29(9), 1672–5662. 10.13419/j.cnki.aids.2023.09.01 [DOI] [Google Scholar]
  34. Parrado E. A., Flippen C. (2010). Community attachment, neighborhood context, and sex worker use among Hispanic migrants in Durham, North Carolina, USA. Social Science & Medicine, 70(7), 1059–1069. [DOI] [PMC free article] [PubMed] [Google Scholar]
  35. Raymond H. F., Chen Y.-H., Syme S. L., Catalano R., Hutson M., McFarland W. (2014). The role of individual and neighborhood factors: HIV acquisition risk among high-risk populations in San Francisco. AIDS and Behavior, 18(2), 346–356. [DOI] [PubMed] [Google Scholar]
  36. Sales J. M., Sheth A. N. (2019). Associations among perceived HIV risk, behavioral risk and interest in PrEP among Black women in the southern US. AIDS and Behavior, 23(7), 1871–1876. [DOI] [PMC free article] [PubMed] [Google Scholar]
  37. Sharygin E., Ebenstein A., Das Gupta M. (2013). Implications of China’s future bride shortage for the geographical distribution and social protection needs of never-married men. Population Studies, 67(1), 39–59. [DOI] [PMC free article] [PubMed] [Google Scholar]
  38. Srinivasan S., Li S. (2018). Unifying perspectives on scarce women and surplus men in China and India. In Srinivasan S., Li S. (Eds.), Scarce women and surplus men in China and India (pp. 1–23). Springer. [Google Scholar]
  39. Van de Bongardt D., Reitz E., Sandfort T., Deković M. (2015). A meta-analysis of the relations between three types of peer norms and adolescent sexual behavior. Personality and Social Psychology Review, 19(3), 203–234. [DOI] [PMC free article] [PubMed] [Google Scholar]
  40. Wang K., Wu J., Zhao H., Li Y., Zhao R., Zhou Y., Ji H. (2013). Unmarried male migrants and sexual risk behavior: A cross-sectional study in Shanghai, China. BMC Public Health, 13(1), 1–10. [DOI] [PMC free article] [PubMed] [Google Scholar]
  41. Wang S., Yang X., Attané I. (2018). Social support networks and quality of life of rural men in a context of marriage squeeze in China. American Journal of Men’s Health, 12(4), 706–719. [DOI] [PMC free article] [PubMed] [Google Scholar]
  42. Wang W., Muessig K. E. (2017). Social network correlates of HIV risk-related behaviors among male migrants in China. BMC Public Health, 17(1), 1–11. [DOI] [PMC free article] [PubMed] [Google Scholar]
  43. Wang Y., Liu H., Pei Y., Wu B. (2022). Having sex with partners met online among bachelors in China: Application of the theory of planned behavior. Sexual and Relationship Therapy, 39, 777–790. [Google Scholar]
  44. Wang Y., Liu H., Zhao M., Feldman M. W., Williams A. B. (2020). Sex with partners met online: Risky sexual behavior among bachelors in rural China. AIDS Care, 32(5), 572–576. [DOI] [PubMed] [Google Scholar]
  45. Warner T. D. (2018). Adolescent sexual risk taking: The distribution of youth behaviors and perceived peer attitudes across neighborhood contexts. Journal of Adolescent Health, 62(2), 226–233. [DOI] [PMC free article] [PubMed] [Google Scholar]
  46. Wong M. L., Koh T. T., Tjahjadi S., Govender M. (2014). Men seeking sex online practise riskier sexual behaviours than men frequenting brothels: Survey findings from Singapore. Sexually Transmitted Infections, 90(5), 401–407. [DOI] [PubMed] [Google Scholar]
  47. Xiao Q., Liu H., Wu B. (2020). How bachelorhood and migration increase the HIV transmission risk through commercial sex in China? AIDS and Behavior, 24(3), 791–801. [DOI] [PubMed] [Google Scholar]
  48. Yamanis T. J., Fisher J. C., Moody J. W., Kajula L. J. (2016). Young men’s social network characteristics and associations with sexual partnership concurrency in Tanzania. AIDS and Behavior, 20(6), 1244–1255. [DOI] [PMC free article] [PubMed] [Google Scholar]
  49. Yang C., Latkin C., Luan R., Nelson K. (2010). Condom use with female sex workers among male clients in Sichuan Province, China: The role of interpersonal and venue-level factors. Journal of Urban Health, 87, 292–303. [DOI] [PMC free article] [PubMed] [Google Scholar]
  50. Yang X., Attané I., Li S. (2014). Commercial sex and condom use among involuntary bachelors: An exploratory survey in rural China. American Journal of Men’s Health, 8(3), 205–216. [DOI] [PubMed] [Google Scholar]
  51. Yang X., Derlega V. J., Luo H. (2007). Migration, behaviour change and HIV/STD risks in China. AIDS Care, 19(2), 282–288. [DOI] [PubMed] [Google Scholar]
  52. Zhao M., Liu H., Chen X., Feldman M. W. (2022). Sexual network and condom use among male migrants in the context of China’s gender imbalance. AIDS Care, 34(8), 1048–1052. [DOI] [PubMed] [Google Scholar]
  53. Zhao M., Liu H., Hai L., Zhang L. (2022). The sexual network and risky sexual behaviours among male migrant workers in China’s gender imbalance context. Sexual Health, 19(6), 546–555. [DOI] [PubMed] [Google Scholar]

Articles from American Journal of Men's Health are provided here courtesy of SAGE Publications

RESOURCES