Bergman wrote the teleplay for Scenes From a Marriage over three months. He drew on his personal experiences, including his relationship with Ullmann; his unhappy, eventually dissolved marriages to Käbi Laretei and Gun Hagberg; and the marriage of his parents, Karin and Erik Bergman. As a boy, he had witnessed his parents violently wrestling, with Karin slapping Erik and Erik pushing her against a wall. Ingmar also found his mother could be manipulative.[6][7][8]
The budget for Scenes From a Marriage was approximately a third that of Bergman's previous film, Cries and Whispers. Half was covered by Swedish Television and half by foreign companies.[9] It was filmed in Stockholm and Fårö between July and October 1972.[10] Cinematographer Sven Nykvist emphasized close-ups and employed small indoor film sets. Nykvist later regretted not using more tracking shots when he learned the miniseries would have a theatrical release.[11] The filming schedule was one week per episode.[9]
Ullmann compared performing in Scenes From a Marriage to appearing in a documentary, saying she "felt very connected to the role." She said she was becoming more involved in the feminist movement while making the miniseries.[11] Due to Ullmann and Erland Josephson's comfort with their parts, the crew saved time by not having rehearsals.[9]