Tests on men and women aged over 50 showed that certain immune system genes - called CTRA genes - were more active in those who said they felt very lonely. This suppressed the immune response that fights off viruses, while increasing inflammation - a process linked to numerous health issues including heart disease to frailty.
Experiments on macaques monkeys showed that the changes had real consequences for health, with a suppressed immune system allowing the monkey version of HIV to grow faster in their blood and brain.
And, interestingly, the relationship appears to go both ways.
Loneliness not only led to more active CTRA genes - having more active CTRA genes also increased the odds of being lonely in the months to come.
Scientists are unsure why this is the case, but it may be that the immune changes make people more anxious and reduce motivation, making it harder for them to socialise. The finding could help explain why people often find it so hard to break out of a lonely lifestyle.
The study is published in the journal Proceedings of the National Academy of Sciences, and highlights that loneliness can also disrupt sleep - leaving people feeling lethargic the next day and more likely to rely on sleeping tablets.
Researcher John Cacioppo suggests the lonely try to make friends through charity work, such as reading to the blind or helping coach a children's sports team.
He said: "You need to start small. Don't focus on trying to find the love of your life or reinventing yourself all at once. Just dip a toe into the water."
Finding company in a beloved pet may also help.
Professor Cacioppo has shown that having a dog makes people feel less isolated - however, other animals such as cats, lizards and hamsters have no effect.
It is thought that dog owners may benefit from the exercise and social interaction that comes with taking their pet for regular walks. Dogs also tend to be highly affectionate animals.
And despite focusing his latest research on older adults, the professor believes that loneliness is bad for the health regardless of a person's age.
- Daily Mail