Paul Lieberstein, best known for playing Toby Flenderson on The Office, makes a surprise cameo in Platonic Season 2 as Charlie’s therapist in the show’s seventh episode, "The Office Party," delivering a deadpan performance that co-creators and cast called perfectly timed for the show’s comic rhythm.

The cameo plays out during a couples-therapy set piece in which Sylvia (Rose Byrne) reluctantly agrees to attend a session with husband Charlie (Luke Macfarlane) and ends up FaceTiming from a car while trapped in traffic with Will (Seth Rogen). The FaceTime reveals a scene full of visual gags — including animal-head filters — and a terse, oddly judgmental therapist who identifies himself as Dr. Melfi.

The casting grew out of a personal connection and admiration, co-creator Francesca Delbanco told Decider. "He is a friend of ours. He is married to one of my oldest friends; my college roommate," Delbanco said. "We are gigantic fans of his and think that he is so funny. And it was just sitting there." Co-creator Nick Stoller said Lieberstein was "totally game and excited to do it," and that the actor came in with a fully formed, intentionally peculiar character whose slow, deliberate delivery heightened the scene’s comedy.

In the scene, Lieberstein’s character calmly commends Charlie for setting a boundary after the chicken filter FaceTime, saying, "That was great. I’m proud of you. Solid boundary." When Sylvia arrives late, Dr. Melfi flatly notes, "Yes. I’ve heard of Will," then presses Sylvia about being "literally chickened out" of the appointment. The exchange concludes with Melfi announcing the session is over, then emerging from his office in athletic gear to make a brisk, surreal exit, prompting Sylvia to try to needle him about honesty and priorities.

Macfarlane told Decider it was "amazing" to work with Lieberstein, calling him "so funny" and praising his writing. The episode toys with the idea that Charlie, despite working with a therapist who appears controlling and perhaps ineffective, remains loyal to the therapeutic routine — a character beat Macfarlane said he expects to continue in future episodes.

The name Dr. Melfi is an explicit wink to Lorraine Bracco’s therapist in The Sopranos, an intentional joke that the writers and performers lean into for additional comic effect. The scene also functions as both a character moment — exposing fissures in Sylvia and Charlie’s relationship over priorities and attention — and a showcase for the show’s rapid-fire, genre-mixing humor, which in Season 2 has ranged from a Jeopardy! outing to road-trip antics.

Lieberstein’s appearance marks one of several on-screen roles he has taken since The Office ended in 2013; his credits include Bad Teacher, The Newsroom, The Mindy Project and People of Earth. He has also continued behind the camera as a writer and director, most recently contributing to Peacock’s comedy The Paper.

Platonic’s creators said the casting felt organic because of their familiarity with Lieberstein’s work and friendship with him, and that his particular comic sensibility was an easy fit for the sharp, often absurdist tone of the Apple TV+ series. New episodes of Platonic Season 2 premiere Wednesdays on Apple TV+.