At the end of 2001, an estimated 5.6 million adults living in the USA were either currently in prison or had previously been in prison at some point in their lives.1 Since then millions more have been incarcerated as well: each year, there are approximately 577,000 admissions to state and federal prisons2 and 10.3 million admissions to local jails.3

Because the carceral system’s impact in the USA falls disproportionately on people who use substances, people with mental illness, and socioeconomically disadvantaged neighborhoods, persons who become incarcerated have higher rates of psychiatric and substance use disorders than the general population.4,5 Beyond this selection effect, exposure to incarceration may directly lead to poorer mental health—for both individuals6,7,8 and whole communities.9,10 Indeed, a growing public health literature considers the criminal-legal system to be a key social-structural determinant of health and health disparities,11,12 including in the domain of mental health.13

The temporal durability of incarceration’s effect on mental health deserves additional attention. The carceral environment itself can lead to immediate deterioration in mental health.14,15 After release, the difficult process of reentering society often involves material hardships, social challenges, discrimination, and the enduring stigma of an incarceration history;16,17,18 the impact of such factors could plausibly persist for many years. However, notwithstanding a recent cross-sectional study by Steigerwald and colleagues,19 relatively little is known about incarceration’s long-term effect on someone’s mental health later in life, in part because national health studies often ignore this important determinant of health.20,21

Using four decades of data from a unique longitudinal cohort study, we sought to evaluate the association between prior incarceration and mental health at midlife (age 50), adjusting for early-life demographic, socioeconomic, and behavioral factors. We hypothesized that prior incarceration would be associated with worse mental health. Among those with an incarceration history, we further hypothesized that greater cumulative exposure to incarceration over the life course and younger age at initial incarceration, respectively, would each be associated with worse mental health.


Data Source and Cohort Selection

We conducted a retrospective cohort study using data from the National Longitudinal Survey of Youth 1979 (NLSY79), a nationally representative longitudinal study administered by the US Bureau of Labor Statistics.22,23 NLSY79 recruited non-institutionalized individuals who were 15 to 22 years old in 1979, conducted annual follow-up surveys through 1994, and has conducted biennial follow-up surveys ever since. Surveys were administered in person or via telephone (see Appendix 1 for more details about data source).

We included participants who survived to 50 years of age and completed NLSY79’s “Health at 50” module, an extensive battery of health-related questions given to each participant on the first biennial survey they successfully completed after their 50th birthday. Each participant completed the module once, and it was administered during the six survey rounds from 2008–2009 to 2018–2019.

The Boston University Medical Campus Institutional Review Board determined that this study did not qualify as human subjects research. Reporting in this study followed all applicable Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) guidelines for observational cohort studies.


Three of our mental health outcomes were based on self-reported diagnoses and the other two were based on multi-item assessments of current symptoms. We identified a history of any mental health problem (including depression) using the survey item, “Has a doctor ever told you that you had emotional, nervous, or psychiatric problems?” We identified depression history using the survey item, “Has a doctor ever diagnosed you as suffering from depression?” If they reported a depression history, they were also asked, “During the last 12 months, have you suffered from depression?” which we considered as a distinct outcome: past-year depression. NLSY79 administered its own abbreviated 7-item version of the Center for Epidemiologic Studies Depression Scale (CES-D), which consisted of 7 questions about how often one has experienced various depressive symptoms in the past 7 days, each scored from 0 (rarely/none of the time) to 3 (most/all of the time). Because the sum scores were not normally distributed, we dichotomized CES-D scores as high (vs. low) if their sum score was 8 or higher; this cutoff value has been validated against the original 20-item CES-D.24 Finally, we used the Short-Form Health Survey (SF-12) Mental Component Score (MCS), a continuous measure (theoretical range: 0 to 100; observed range in sample: 8.9 to 70.3; observed mean 52.8 [SD 8.8]) calculated from responses to a 12-item questionnaire on mental health-related quality of life in the past 4 weeks.25,26

Our main exposure variable was any lifetime incarceration prior to the survey in which outcomes were assessed. We identified incarcerations using three sets of survey variables: in 1980, they were asked directly whether they had ever been incarcerated; and in all survey rounds, we identified incarcerations if a participant’s current type of residence was recorded as “jail/prison” or if they were not surveyed that round and the reason was coded as “incarcerated.”

We identified demographic and early-life characteristics that were potential confounders. We included participants’ sex and date of birth (scaled in units of years before or after January 1, 1960). NLSY79 categorized participants’ race and ethnicity into three mutually exclusive groups—Hispanic (of any race), non-Hispanic Black, and non-Hispanic non-Black—based primarily on survey responses by the participant or the head of their household at the beginning of the cohort study, although race was also assigned in part based on the interviewers’ perceptions27 (despite the limitations of NLSY’s race and ethnicity variable, which have been described elsewhere,28,29 a more suitable alternative was not available).

Using retrospective questions about their childhood household, we identified whether each participant had lived with both of their biological parents at 14 years of age. We identified exposure to physical abuse in childhood if a participant chose “more than once” as their response to the question “Before age 18, how often did a parent or adult in your home ever hit, beat, kick or physically harm you in any way? Do not include spanking. Would you say never, once, or more than once?”—which is consistent with previously published measures.30,31,32,33,34,35 For immigration history, we categorized a participant as a first-generation immigrant if they had been born in another country; second-generation if they were born in the USA and at least one of their parents had been born in another country; and third-generation or higher if they and both of their parents were born in the USA. We also identified whether participants reported having US citizenship.

We identified each participant’s level of education at age 22 as well as the highest level of education attained by either of their parents, both measured in years of formal education completed (continuous variables). Annual household income was rescaled as a percentage of the year-specific federal poverty level and log-transformed (to reduce skew), and we used the mean of all available values from age 22 and before as our income measure. We identified receipt of public assistance income at or before age 22, as a marker of poverty.

We identified early-life disability at age 22 if participants reported that a health condition prevented or limited their ability to work (not including normal pregnancy). Early-life body mass index (BMI), a known prospective risk factor for depression,36 was calculated using self-reported height and weight in 1981.

We identified whether a participant had started smoking cigarettes daily by age 22, using retrospective survey questions about lifetime smoking history. For early-life alcohol use, we identified whether a participant ever reported frequent binge drinking in 1982 (the earliest available measure) if participants reported having had 6 or more drinks on at least 4 occasions in the past 30 days, which approximates a previously published measure, weekly heavy episodic drinking.37,38 Using survey items from 1980, we assessed whether participants reported any past-year cannabis use, use of other illicit drugs, and engagement in illegal activities, respectively.

Statistical Analysis

We used multivariable logistic regression (for the four dichotomous outcomes) and linear regression (for SF-12 MCS) models to assess the association between incarceration and each mental health outcome, adjusting for demographic and early-life characteristics (age, sex, race/ethnicity, family structure, childhood abuse, immigration, citizenship, education, parental education, income, public assistance, disability, BMI, smoking, drinking, cannabis use, drug use, and illegal activities). All regression models accounted for NLSY79’s complex sampling design, including stratification, clustering, and weights. We also performed an exploratory subgroup analysis among those with prior incarceration to assess whether mental health outcomes were associated with any of the following three aspects of incarceration history: age at first incarceration, cumulative exposure to incarceration (number of surveys in which an incarceration was recorded), and time since the last incarceration. All statistical analyses were performed in SAS, version 9.4 (SAS Institute, Cary, NC) from August 13, 2021, to October 15, 2022. Two-sided p<.05 indicated statistical significance.

We conducted sensitivity analyses to assess two potential sources of bias. First, we estimated the potential for an unmeasured confounder to explain away the association we found between incarceration and each outcome, using E-values39 for dichotomous outcomes and an analogous method40 for SF-12 MCS. Second, because some of the early-life covariates were measured after some participants had already been incarcerated, we assessed the impact of this temporal overlap by modifying our main analysis in the following ways: (a) excluding participants who had already been incarcerated by age 22; (b) dropping the variables which suffered most from this temporal overlap (namely, participant education, family income, BMI, smoking, and alcohol use); and (c) both of these modifications together.

For missing covariate data, we performed hot-deck multiple imputation (with 10 imputations) with the Approximate Bayesian Bootstrap method41,42 using the SURVEYIMPUTE procedure in SAS, defining imputation cells by sampling stratum, sex, race/ethnicity, and age in 1979 (integer years). Fourteen out of 19 covariates had any missing values, ranging from only 1 participant (<0.1%) to 489 participants (6.2%) (Table 1). In total, 1548 (19.6%) of the participants had missing values for one or more covariates.

Table 1 Sample Characteristics, Overall and by Incarceration History*


Of the original 9964 NLSY79 participants, 619 died before age 50 and therefore were ineligible for our study. An additional 1456 participants were lost to follow-up, and the remaining 7889 successfully completed the Health at 50 module and therefore were included in our study sample (Supplemental Figure). There were differences in early-life characteristics between our study sample and those who were lost to follow-up, with those lost to follow-up tending to have higher socioeconomic status, e.g., higher income and more education (Supplemental Table 1). Due to differential item non-response, the actual sample size for each outcome was slightly lower than our overall sample size, ranging from 7804 for SF-12 MCS to 7887 for any mental health history.

Adjusting for survey weights, our overall study population was 51% male, 14% non-Hispanic Black, 7% Hispanic (of any race), and evenly distributed in age. In total, 577 participants (5.4%) experienced at least one incarceration by 50 years of age (Table 1). Among participants with prior incarceration, the median (IQR) number of surveys with an incarceration was 2 (1, 4), and the median (IQR) age at first incarceration was 24 (19, 33) years. Those with prior incarceration were more likely to be male and Black or Hispanic, and had lower average levels of education and income. Those without prior incarceration were less likely to report substance use and illegal activities in early life.

For all four dichotomous outcomes, those with a history of incarceration had higher unadjusted rates compared to those who were never incarcerated (Supplemental Table 2). In our multivariable analysis, those with prior incarceration, compared to those without, were significantly more likely to have a history of any mental health problem (predicted probability 27.0% vs. 16.6%; adjusted odds ratio [aOR] 1.9 [95%CI: 1.4, 2.5]), any history of depression (22.0% vs. 13.3%; aOR 1.8 [95%CI: 1.3, 2.5]), past-year depression (16.9% vs. 8.6%; aOR 2.2 [95%CI: 1.5, 3.0]), and high CES-D score (21.1% vs. 15.4%; aOR 1.5 [95%CI: 1.1, 2.0]) (Fig. 1; see Supplemental Table 3 for estimates for all covariates). Adjusting for early-life factors, those with prior incarceration had a lower (worse) SF-12 MCS by 2.1 points (95%CI: −3.3, −0.9), standardized mean difference (i.e., Cohen’s d)43 −0.24 (95%CI −0.37, −0.10) (Table 2; see Supplemental Table 4 for estimates for all covariates).

Table 2 Mental Health-Related Quality of Life at Age 50 Years by Incarceration History
Figure 1
figure 1

Associations of incarceration with dichotomous mental health outcomes—results of multivariable logistic regression analysis: National Longitudinal Survey of Youth 1979, USA, 1979 to 2019. For each of the four dichotomous mental health outcomes, results from our multivariable logistic regression analyses are shown: the adjusted/predicted probabilities for those with vs. without a history of incarceration (and absolute difference between groups) in the table on the left; and the adjusted odds ratio (AOR) and 95% CI for prior incarceration in the forest plot on the right. Predicted probabilities and adjusted odds ratios were estimated from multivariable logistic regression models that accounted for cluster sampling design and sample weights and adjusted for early-life covariates (age, sex, race/ethnicity, family structure, childhood abuse, immigration, citizenship, education, parental education, income, receipt of public assistance, disability, body mass index [BMI], smoking, binge drinking, marijuana use, drug use, and illegal activities)

In our subgroup analysis of those with prior incarceration, there were virtually no significant associations between any of the outcomes and cumulative exposure to incarceration, age at first incarceration, or time since last incarceration, regardless of whether these aspects of incarceration history were coded as continuous or ordinal variables (Table 3).

Table 3 Associations Between Patterns of Incarceration History and Mental Health Outcomes at Mid-Life (Subgroup Analysis)*

In our first sensitivity analysis, for a hypothetical unmeasured confounder to explain away any of our results, it would have to have very strong associations (net of all covariates) with both incarceration and each outcome (see Appendix 1 and Supplemental Table 5 for details).

In our second sensitivity analysis, when we excluded participants who had already been exposed to incarceration by age 22, or dropped the covariates that had the most temporal overlap with incarceration exposure, or employed both of these modifications together, our estimates of the association between incarceration and each outcome generally increased in magnitude (Supplemental Table 6).


In this longitudinal cohort followed for almost four decades, individuals who had experienced an incarceration in their lifetime had worse mental health at age 50, even when adjusting for a broad set of early-life social, economic, and behavioral risk factors. Our study is broadly consistent with existing research on the connection between prior incarceration and poor mental health and adds the unique perspective of longitudinal data with a long time horizon.

Large cross-sectional studies of US adults from a broad range of ages have found that prior incarceration was associated with the development of mood disorders,6 a greater burden of depressive symptoms and psychological distress,16 and lower levels of mental health well-being,7 but such studies had limited ability to disentangle possible confounding. In a cross-sectional study of older adults (65 years or older) matched on age, gender, race, and education level, prior incarceration was associated with worse CES-D scores among women but not among men.19 Among fathers in the Fragile Families and Child Wellbeing Study cohort, current and recent (within the past 2 years) incarceration were associated with depression, but this study did not assess the impact of more remote incarceration histories.8

By using data from the Health at 50 module, our study adds a decade of follow-up time compared to two previous studies using NLSY79 data that found associations between prior incarceration and worse mental health outcomes, as measured by the “Health at 40” module. One study included problems with depression, worrying, and sleep.44 The other study found among men that initial exposure to incarceration during emerging adulthood (ages 18–24) was associated with a higher CES-D score at age 40 but did not find this association for initial incarceration at a later age.45 Our subgroup analysis did not find any such difference in mental health outcomes by age of first incarceration, and other studies on this topic have yielded mixed results. While one nationally representative cross-sectional study46 found that prior juvenile incarceration had a stronger association with lifetime suicide attempt than adult incarceration did, a longitudinal study47 of formerly incarcerated women from a national cohort found no differences in CES-D scores by age of first incarceration, by duration of incarceration, nor by number of incarceration episodes. These findings suggest that any incarceration can have significant and persistent effects on mental health while the relative amount or timing of exposure to incarceration may have little marginal impact.


Our study has limitations. Study findings in this specific age cohort may not be generalizable to the rest of the population; however, this age cohort is the first generation to enter adulthood since the era of mass incarceration began in the 1980s.48 Attrition from follow-up did not occur at random which could have introduced bias in our sample selection, although we used sample weights that adjusted for variable completion of the Health at 50 module. Our relatively insensitive method for detecting incarcerations was likely to miss brief incarcerations that occurred between surveys, and we cannot know whether or how such misclassification errors might have biased our findings. While we adjusted for a broad array of potential confounders, it is possible that unmeasured factors still confounded our estimates of the relationships between incarceration and mental health outcomes. Nevertheless, based on our sensitivity analysis, it seems less likely that any such unmeasured confounder would be strong enough to nullify all the associations we found. As mentioned above, the structure of our data source did not allow us to measure all participants’ early-life covariates prior to when they were at risk for exposure to incarceration, but our sensitivity analysis of this issue suggested that, if anything, this overlap may have caused our estimates to be more conservative. Because many of the covariates, e.g., income, could function as either a confounder (if measured prior in exposure) or a mediator (if measured after exposure) of the relationship between incarceration and mental health, controlling for a partial mediator in this situation might have masked the full association between incarceration and mental health for some participants, which may explain the general pattern of results from this sensitivity analysis. Three of our mental health measures (any mental health history, depression history, past-year depression) have not been validated and could underestimate prevalences among people with limited access to mental healthcare. Additionally, while SF-12 MCS is a validated measure of mental health–related quality of life, we did not have a directly applicable empiric benchmark (e.g., minimum important difference) to better gauge the clinical significance of measured differences.


The results of this study add to a growing public health literature which finds incarceration to be a toxic exposure that worsens mental health. Because experiences of incarceration are common and yet so unevenly distributed in the USA, mass incarceration should be understood as a key social-structural determinant of health disparities—one that had remained relatively underappreciated until recently. If efforts to achieve mental health equity are to succeed, they must consider the impact that the criminal-legal system has on the well-being of many already marginalized populations.