ATLANTA – The first confirmed case of lesbian transmission of HIV was reported Thursday by federal health officials, who said the event was exceedingly rare but nonetheless advised lesbian couples in which one partner is infected to take precautions.

Genetic tests showed that the virus in the two women was more than 98 percent identical, all but proving that one had infected the other, according to the Morbidity and Mortality Weekly Report issued by the Centers for Disease Control and Prevention.

In numerous previous studies of women who thought they might have been infected by other women, either no genetic testing was done or the newly infected women reported other activity that could have been the cause, such as recent sex with men, drug injection or transfusions.

The women in the new case, both in their 40s, lived in Houston when the transmission took place in 2012. The infected partner had been on treatment for HIV from early 2009 to late 2010 but had stopped taking the drugs. The women reported having sex during their periods and using insertive sex toys, sometimes so roughly that bleeding occurred.

In an editorial, CDC officials advised that all infected people having sex with uninfected ones stay on daily antiretroviral drugs, which can reduce virus levels in blood and bodily fluids so much that transmission is highly unlikely.