Life expectancy for people with HIV has increased by an average of 13 years since the late 1990s thanks to better HIV treatment, a study says.
Researchers said it meant HIV was now effectively a chronic condition like diabetes, rather than a fatal disease, the Lancet reported.
The team, involving Bristol University staff, looked at over 43,000 patients.
The study found a person now diagnosed at 20 years old could expect to live for another 49 years.
But the Antiretroviral Therapy Cohort Collaboration, which includes scientists from across Europe and Northern America, warned this was still short of the life expectancy for the wider population which stands at about 80.
These advances have transformed HIV from being a fatal disease, which was the reality for patients before the advent of combination treatment, into a long-term chronic condition
Professor Jonathan Sterne, lead researcher
Antiretroviral treatment for HIV consists of drugs which work against the infection itself by slowing down the replication of the virus in the body.
This method of therapy was introduced in the 1990s, but has since become more effective and better tolerated.
The researchers looked at life expectancy during three time periods after the introduction of the drugs - 1996-9, 2000-2 and 2003-5 - in high income countries.
Just over 2,000 patients died during the study periods.
They found that while patients aged 20 diagnosed in the 1990s could expect to live another 36 years, that had increased by 13 years by 2003-5.
During the middle time period, life expectancy stood at an extra 41 years.
Researcher Professor Jonathan Sterne said: "These advances have transformed HIV from being a fatal disease, which was the reality for patients before the advent of combination treatment, into a long-term chronic condition."
He added the development was a "testament" to the success of the anti-HIV drugs.
But the researchers warned those diagnosed later in the course of the infection had a much shorter life expectancy.
Marc Thompson, deputy head of health promotion at the Terrence Higgins Trust, said: "HIV medication has become much more effective since the early days.
"There has been great progress, but research needs to continue, especially for those who have developed resistance to some drugs and are running out of options."
But he added the study also highlighted the need for early diagnosis, pointing out an estimated a third of people with HIV do not know they have it.
Deborah Jack, of the National Aids Trust, said: "Hopefully, this study will encourage more people to come forward for testing but we need to better educate doctors about the signs and symptoms to look for.
"Society also needs to catch-up with the fact that HIV is a long-term condition that thousands of people in the UK are living with everyday.
"HIV is not deserved of the fear or stigma that still surrounds it."
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.