Matthew Perry revealed in his memoir that he underwent ketamine infusion therapy prior to his death. 

The County of Los Angeles Department of Medical Examiner released an autopsy report stating that Perry died of “acute effects of ketamine.”

The beloved actor confessed his experience with the deadly drug in his memoir “Friends, Lovers, and the Big Terrible Thing,” and how he used ketamine daily. 

MATTHEW PERRY’S CAUSE OF DEATH LISTED AS ‘ACUTE EFFECTS OF KETAMINE’

The “Friends” star admitted he was “doing ketamine infusions every day.”

“Ketamine was a very popular street drug in the 1980s. There is a synthetic form of it now, and it’s used for two reasons: to ease pain and help with depression,” he penned. “Has my name written all over it—they might as well have called it ‘Matty.'”

Although ketamine “felt like a giant exhale” to Perry, he said it felt like he was “dying.”

“Oh, I thought, this is what happens when you die. Yet I would continually sign up for this s*** because it was something different, and anything different is good,” he added.

“Taking K is like being hit in the head with a giant happy shovel. But the hangover was rough and outweighed the shovel. Ketamine was not for me.”

MATTHEW PERRY CAUSE OF DEATH ‘DEFERRED’: CORONER

Perry died Oct. 28 after an apparent drowning in a hot tub at his home in the Pacific Palisades area of Los Angeles. He was 54.

“There were trace amounts of ketamine detected in the stomach contents,” the autopsy listed. “The exact method of intake in Mr. Perry’s case is unknown.” 

WHAT IS KETAMINE, THE DRUG THAT KILLED MATTHEW PERRY ON OCTOBER 28?

Perry reportedly received “ketamine infusion therapy for depression and anxiety.”

His last known treatment was more than one week prior to death, but the medical examiner determined “the ketamine in his system at death could not be from that infusion therapy, since ketamine’s half-life is 3 to 4 hours, or less.”

LIKE WHAT YOU’RE READING? CLICK HERE FOR MORE ENTERTAINMENT NEWS

Ketamine is a dissociative anesthetic drug with “established medical and surgical uses,” the autopsy detailed.

CLICK HERE TO SIGN UP FOR THE ENTERTAINMENT NEWSLETTER

No foul play was suspected, and no illegal drugs were reportedly found at the scene. Perry was laid to rest Nov. 3 at Forest Lawn Memorial Park.

Fox News Digital’s Tracy Wright contributed to this report.