If you’ve been thinking of picking up some temp work, bear this in mind: Workers hired for temporary or contract work face a higher risk of developing mental health problems such as depression, according to the research authored by a medical sociologist at McGill University, Workforce reports.

“Temporary workers-those lacking long-term, stable employment-seem to be susceptible to declining mental health for as long as they continue to work in these so-called ‘disposable’ or ‘second class’ jobs,” said Amélie Quesnel-Vallée, the study’s primary investigator.

Job instability contributes to stress, and temps often don’t integrate into office culture like permanent workers do, meaning they have fewer relationships at work. And if temp workers don’t have access to benefits, they may be less likely to head to the doctor at the first signs of mental health problems.

Workforce points out that this research runs counter to the theory that a flexible workplace is more effective, because if your contractors are so stressed they aren’t showing up for work, that’s not so effective.

For the laid-off or freelancers considering temp work, remember that though temping’s gotta be less stressful than not having a job at all, it can still lead to health problems, so take care of yourself.