I often hear from teenagers that one of their greatest goals is to obtain more Instagram followers than anyone they know. Even some adults appear obsessed with social media, tracking the number of retweets on their Twitter profiles or likes on Facebook. This type of status-seeking might be easily dismissed as juvenile or superficial, but there’s more to it.

Recent evidence suggests that being unpopular can be hazardous to our health. In fact, it might even kill us. Yet most don’t realize that there’s more than one type of popularity, and social media may not supply the one that makes us feel good.

Julianne Holt-Lunstad, a psychologist at Brigham Young University, consolidated data from 148 investigations published over 28 years on the effects of social relationships, collectively including over 308,000 participants between the ages of 6 and 92 from all over the world. In each study, investigators measured the size of participants’ networks, the number of their friends, whether they lived alone, and the extent to which they participated in social activities. Then they followed each participant for months, years and even decades to track his or her mortality rate.

The results revealed that being unpopular — feeling isolated, disconnected, lonely — predicts our life span. More surprising is just how powerful this effect can be. Dr. Holt-Lunstad found that people who had larger networks of friends had a 50 percent increased chance of survival by the end of the study they were in. And those who had good-quality relationships had a 91 percent higher survival rate. This suggests that being unpopular increases our chance of death more strongly than obesity, physical inactivity or binge drinking. In fact, the only comparable health hazard is smoking.