By Martha C. White
January 6, 2016
Kumar Sriskandan—Alamy

Economic recessions, and the layoffs they trigger, are stressful even for the people who manage to keep their jobs. As it turns out, being one of the “survivors” in a pink-slip blitz has some interesting effects on our drinking behavior.

A new study from the University of Buffalo found that, on one hand, the threat of imminent job loss made American workers sober up — literally. Drinking on the job dried up during the recession, as remaining members of the workforce curbed any behavior that could give their employers an excuse to show them the door.

Researchers wrote:

The flip side of these findings is that we didn’t curtail our boozing so much as postpone it, because the study also found that we hit the sauce harder at happy hour.

Read Next: How Much Money You’d Save If You Stopped Drinking

Employees who already drank were more likely to drink heavily and get drunk in the first two hours after they left work during the recession. The study did note that middle-age workers were more likely than younger workers to be driven to drink after work, presumably because they had more financial responsibilities and stressors. But young people stepped up their post-work drinking as well: The study showed that workers of all ages who already drank were more likely to drown their sorrows with an after-work cocktail (or several) during the recession.