Overseas visitors to Britain are to be offered free HIV treatment on the NHS for the first time.

Ministers are backing calls for non-UK residents to be treated for the condition as part of efforts to protect the wider public.

Foreign students, workers and victims of human trafficking are among those expected to benefit.

The Department of Health said that safeguards would be introduced to prevent “health tourism”.

Currently treatment for HIV is only available to people officially resident in Britain, excluding migrants.

But Lord Fowler, a former Conservative Cabinet minister who has campaigned on Aids, has called for free treatment to be extended to those who have been in Britain for six months.

The proposal, contained in an amendment to the Health and Social Care Bill currently before the Lords, will be accepted by the government but introduced in a Statutory Instrument rather than as part of the legislation.

The move comes amid concerns about rising levels of HIV infection and the cost to the NHS of not treating it early. Foreigners are thought to be dissuaded from seeking help because of the cost of treatment.

Public health minister Anne Milton said: “This measure will protect the public and brings HIV treatment in to line with all other infectious diseases. Treating people with HIV means they are very unlikely to pass the infection on to others.

“Tough guidance will ensure this measure is not abused.”

Chief medical officer Professor Dame Sally Davies said that effective treatment of HIV reduced its spread by up to 96 per cent.

“This change is in line with the UK chief medical officers’ Expert Advisory Group’s advice, and offering NHS treatment will encourage testing, resulting in fewer undiagnosed HIV infections and therefore ensuring that there is less chance of passing on infection to the wider population.”