A Texas teen who puffed e-cigarettes since the eighth grade was nearly killed by his vaping habit when his lungs gave out, reports said.

Tryston Zohfeld, 17, was admitted to the intensive care unit last month due to his excessive use of e-cigs, according to Cook Children’s Hospital in Fort Worth.

The recent Weatherford High School graduate had at first begun experiencing fatigue and weight loss.

“I was tired all the time. My energy was low. I was losing some weight,” Zohfeld said.

But soon, his health started to rapidly decline.

“I woke up just throwing up everywhere, and my heart was beating out of my chest going 100 miles an hour,” Zohfeld told news station WFAA.

The hospital placed him in a medically induced coma and on an oscillatory ventilator.

“We had no idea if he was going to make it through or not, and that was very difficult to come to terms with,” his father, Matt Zohfeld, told WFAA.

Doctors said they were perplexed after taking X-rays that “showed something that looked like pneumonia on both sides of his chest,” according to the hospital. But when they ran tests for infections, including pneumonia, none of them came back positive.

The hospital wasn’t able to find any answers until a family member revealed that the teen had been vaping since middle school, sometimes going through two to three vape pods each week, according to WFAA.

“The light bulb started coming on,” his dad said. “It started making sense why we weren’t finding anything else.”

Doctors said the chemicals he was inhaling caused his lungs to inflame so much that he was unable to exchange oxygen and carbon dioxide.

After an 18-day hospital stay, the teen has sworn off using e-cigarettes, which are mistakenly assumed to be healthier than regular cigarettes.

“This is really what could happen and it’s not something to look over,” the teen said. “They’re not as safe as you think.”