Spoiler: How Dr. Perez Gets Written Off 'The Good Doctor'

  • Oops!
    Something went wrong.
    Please try again later.

The Good Doctor has said goodbye to Dr. Danny Perez, at least for now. TV Line reported last week that Brandon Larracuente, the actor who plays Perez, would not be returning to the show as a series regular for Season 7—and now that the Season 6 finale has aired, we know how his character gets written off. So, what happened to fan favorite Dr. Perez? Spoilers ahead!

How Dr. Perez gets written off The Good Doctor

The Season 6 finale of The Good Doctor opens with a multi-car crash involving Dr. Danny Perez, who is working on a patient in an ambulance when the accident takes place. A recovering opioid addict, Perez emphatically refuses pain medications—but despite his urgent protests, his on-off love interest, Dr. Jordan Allen (Bria Samone Henderson), decides to give him the meds he needs.

Although Perez is furious at first, he eventually comes around to thanking Jordan for saving his life. The only problem? He now has to seek recovery treatment back home with his family in Texas, and that means saying goodbye.

“You trusted me, although I’m pretty sure that I didn’t deserve it," he tells Jordan in their emotional farewell. "You made me believe I can do this. I’m going to miss you.”

The sendoff leaves the door open for Larracuente to return as a future guest star, but for now, his character is walking away from Jordan and St. Bonaventure Hospital.

Related: The Good Doctor Makes a Tough Call in This Deleted Scene

In a Season 6 finale interview with Parade, The Good Doctor lead Freddie Highmore, who plays Dr. Shaun Murphy, weighs in on Dr. Perez's farewell.

“It felt like the culmination of such a huge journey that he has been on," he says. "Yet at the same time, having to deal with the future for the two of them was just heartbreaking. I found all of it extremely moving.”

Related: Who Is Freddie Highmore's Wife?

Larracuente joined The Good Doctor in the second episode of Season 6 and soon became a series regular. According to Deadline, his next project is a major role in Dick Wolf’s On Call, from Prime Video. The series will follow veteran training officer Traci Harmon (Troian Bellisario) and her rookie ride-along, Alex Diaz (Larracuente), on the streets of Long Beach.

ABC’s The Good Doctor airs on Mondays at 10 p.m. ET.

Next, What We Know About The Good Doctor Season 7