A 17-year-old boy whose lungs were irreversibly damaged by vaping received a double-lung transplant at the Henry Ford Hospital in Detroit, a lifesaving measure taken when a patient’s own lungs are diseased or damaged beyond repair and there is no other hope of survival, doctors said Tuesday.

Without the transplant, performed last month, the patient “would have faced certain death,” Dr. Hassan Nemeh, who led the surgical team, said during a news conference at the hospital.

The patient’s lungs were scarred, stiffened, pocked with dead spots and extremely inflamed, he said. On a CT scan before the surgery, the patient’s chest appeared almost empty, as if the lungs had vanished. Normal lungs look dark on imaging because they are full of air; the patient’s lungs were not visible because they were not working. There was no air.

“What I saw in his lungs is like nothing I’ve seen before, and I’ve been doing lung transplants for 20 years,” Nemeh said. He added, “This is an evil I haven’t faced before.”

He called the case a preventable tragedy caused by “a senseless type of product that needs to be fought.”

The patient is recovering well and is up and about now, but still in the hospital. His name is being withheld to protect his privacy, but he and his family wanted to release information about his case in the hope that it might persuade others to quit vaping or never start, hospital officials said.

A doctor at the briefing read a statement from the family, which said, in part: “We asked Henry Ford doctors to share that the horrific life-threatening effects of vaping are very real! Our family could never have imagined being at the center of the largest adolescent public health crisis to face our country in decades.”

Patients with organ transplants need a lifelong regimen of medicines to suppress the immune system to prevent rejection. Dr. Lisa Allenspach, a lung specialist at the Henry Ford Hospital, said that the median survival rate after a lung transplant is seven years, but that rate has been steadily improving.

The patient’s youth and good health before this illness should work in his favor, she said, adding, “We’re hopeful that he will be alive and well for a long time.”

The doctors declined to say what products the patient had been vaping, how long he had been doing it or how often. About 86% of the patients with lung injuries in this outbreak had vaped THC, the chemical in marijuana that makes people high.

The case is the first transplant reported in the nationwide outbreak of vaping-related lung injuries, and it highlights the severity of an illness that, as of Nov. 5, had sickened 2,051 people and killed 40.

“I believe we are just beginning to see the tip of the iceberg,” Allenspach said.

Researchers have described the lung damage from vaping as chemical burns, similar to the injuries in people who have inhaled toxic fumes in industrial accidents, or in soldiers attacked with mustard gas in World War I.

The patients’ surgery was performed on Oct. 15. The doctors said they could not reveal any information about the source except to say that the donor had been healthy.

Health officials investigating the outbreak described a major advance last week: Researchers found a “very strong culprit,” a form of vitamin E, in the lungs of patients who had the vaping illness. The substance, vitamin E acetate, is sometimes used by illicit sellers to “cut” or dilute THC and increase profits.

The vitamin compound is thick and sticky. Precisely how it might damage the lungs is not yet known, and health authorities say it is still possible that other chemicals added to vaping fluids may also contribute to lung disease.

The doctors in Detroit did not say whether the compound had been found in the patient’s lungs.