Alfi Seliger, a 52-year-old Jewish filmmaker, often refers to himself as a "Nebbich," a Yiddish word that denotes someone perceived as a failure. Currently, he is grappling with a profound personal and professional crisis that leaves him feeling utterly lost. His wife, Helena, a voice actress who primarily provides for their family, feels increasingly neglected and has resorted to an affair with her director, Johannes. Their teenage children, Romy and Alain, harbor a strong disdain for their father, further isolating him. Adding to his woes, Alfi’s eccentric mother, a former film star, bombards him with melodramatic phone calls and unexpected visits.
Alfi has struggled to launch a successful film since his comedy, Das blaue Wunder, a few years back. To escape his predicament, he frequents parties in hopes of attracting producers for his screenplay centered on the controversial cartoon subject, tentatively titled Mo-ha-hammed. Tired of light-hearted comedies, Alfi yearns to tackle serious topics with humor. His fortunes seem to shift when he encounters Natasha, the alluring Russian spouse of the powerful film producer, Miesbach-Boronowski. Natasha convinces her husband to sign a contract with Alfi, but she insists on taking the lead role for herself.
In a desperate bid to finance his project, Alfi takes on a lucrative but unfulfilling job directing episodes of a soap opera. Unfortunately, he is soon dismissed due to his unreasonable demands on the cast. As if things couldn't worsen, Alfi suffers a string of misfortunes: he sustains injuries to both his leg and hand and undergoes a medical examination leading to a cancer diagnosis from the straight-talking Professor Mohr. Following surgery, he recovers, but not without complications. Miesbach-Boronowski takes advantage of a contractual oversight, transforming Alfi's original screenplay into a show revolving around a cartoonist. To heighten the tension, an inept financial adviser nearly jeopardizes Alfi's savings.
Among the chaos, only Caro, a young soap actress who is romantically involved with the aging film star Georg Maria Stahl, appears to comprehend Alfi's predicaments. During an intimate late-night gathering at a brine bath, they share a bonding moment, despite their relationship remaining strictly platonic. Caro becomes the sole confidant who accepts Alfi’s realization that they, along with everyone in their lives, are merely characters in a narrative.
As the story unfolds, it takes a surreal twist. Alfi breaks free from the constraints of his screenplay, embarking on a quest to find the director and writer accountable for his existence, challenging them about his trajectory in life. With the lines separating reality, dreams, and fiction increasingly blurred, Alfi makes a drastic decision to end his life by consuming a mix of sleeping pills, tranquilizers, alcohol, and even cleaning products, a strategy suggested by his therapist, Tabatabai. Fortunately, this attempt fails, and after several days in a coma, Alfi regains consciousness in Professor Mohr's clinic, leading to a reconciliation with Helena.
The narrative culminates as Alfi attends the Venice Film Festival, purportedly as a celebrated director—though it remains ambiguous whether this event is genuine or a mere figment of his imagination. Following this, he engages in a remarkable family reunion, where his mother reveals a shocking truth: she was once in love with Miesbach-Boronowski, implying that Alfi is his son. After a series of tumultuous and perplexing incidents, Alfi ultimately finds solace as he wakes up in bed next to his wife, hinting at a fragile yet hopeful resolution in his tumultuous journey.