Writing The Cabinet of Dr. Caligari was written by
Hans Janowitz and
Carl Mayer, both of whom were pacifists by the time they met following
World War I. Janowitz served as an officer during the war, but the experience left him embittered with the military, which affected his writing. Mayer feigned madness to avoid military service during the war, which led him to intense examinations from a military psychiatrist. The experience left him distrustful of authority, Janowitz and Mayer were introduced in June 1918 by a mutual friend, actor
Ernst Deutsch. Both writers were penniless at the time.
Gilda Langer, an actress with whom Mayer was in love, encouraged Janowitz and Mayer to write a film together. She later became the basis for the Jane character. Langer also encouraged Janowitz to visit a fortune teller, who predicted that Janowitz would survive his military service during the war, but Langer would die. This prediction proved true, as Langer died unexpectedly in 1920 at the age of 23, and Janowitz said it inspired the scene in which Cesare predicts Alan's death at the fair. Although neither had any associations with the film industry, Janowitz and Mayer wrote a script over six weeks during the winter of 1918–19. In describing their roles, Janowitz called himself "the father who planted the seed, and Mayer the mother who conceived and ripened it". The
Expressionist filmmaker
Paul Wegener was among their influences. called "Man or Machine?", in which a man performed feats of great strength after becoming hypnotised. and, as he put it, a mistrust of "the authoritative power of an inhuman state gone mad" due to his military service. Holstenwall later became the name of the town setting in
Caligari.
Hermann Warm, who designed the film's sets, said Mayer had no political intentions when he wrote the film. Film historian David Robinson noted that Janowitz did not refer to anti-authority intentions in the script until many decades after
Caligari was released, and he suggested Janowitz's recollection may have changed in response to later interpretations of the film. The completed script contained 141 scenes. Janowitz has claimed the name
Caligari, which was not settled upon until after the script was finished, was inspired by a rare book called
Unknown Letters of Stendhal, which featured a letter from the French novelist
Stendhal referring to a French officer named Caligari he met at the
La Scala theatre in
Milan. The physical appearance of Caligari was inspired by portraits of the German philosopher
Arthur Schopenhauer. The character's name is spelled
Calligaris in the only known surviving script, although in some instances the final
s is removed. Other character names are also spelled differently from the final film: Cesare appears as
Caesare, Alan is
Allan or sometimes
Alland and Dr. Olsen is
Dr. Olfens. Likewise, unnamed characters in the final film have names in the script, including the town clerk ("Dr. Lüders") and the house-breaker ("Jakob Straat"). The story of
Caligari is told abstractly, like a fairy tale, and includes little description about or attention toward the psychological motivations of the characters, which is more heavily emphasised in the film's visual style. The original script shows few traces of the Expressionist influence prevalent in the film's sets and costumes. Through film director
Fritz Lang, Janowitz and Mayer met with
Erich Pommer, head of production at the
Decla-Film studio in Weissensee, on 19 April 1919, to discuss selling the script. The writers had originally sought no fewer than 10,000 marks, but were given 3,500, with the promise of another 2,000 once the film went into production and 500 if it was sold for foreign release, which the producers considered unlikely.
Frame story The Cabinet of Dr. Caligari makes use of a , or
frame story; a prologue and epilogue establish the main body of the film as a delusional flashback, Lang has said that, during early discussions about his possible involvement with the film, he suggested the addition of an opening scene with a "normal" style, which would lead the public into the rest of the film without confusion. It remains unclear whether Lang suggested the frame story structure or simply gave advice on how to write a frame story that was already agreed, Janowitz has said he and Mayer were not privy to discussions about adding the frame story and strongly opposed its inclusion, believing it had deprived the film of its revolutionary and political significance; Janowitz says the writers sought legal action to stop the change but failed. He also says they did not see the finished film with the frame story until a preview was shown to studio heads, after which the writers "expressed our dissatisfaction in a storm of thunderous remonstrances". They had to be persuaded not to publicly protest against the film. In his 1947 book
From Caligari to Hitler,
Siegfried Kracauer argued, based largely on an unpublished typescript written and provided by Janowitz, Kracauer argued that the frame story glorified authority and was added to turn a "revolutionary" film into a "conformistic" one. Production of the film was delayed about four or five months after the script was purchased. According to Janowitz, Wiene's father, a successful theatre actor, had "gone slightly mad when he could no longer appear on the stage", and Janowitz believed that experience helped Wiene bring an "intimate understanding" to the source material of
Caligari. Decla producer
Rudolf Meinert introduced Hermann Warm to Wiene and provided Warm with the
Caligari script, asking him to come up with proposals for the design. Warm believed "films must be drawings brought to life", and felt a naturalistic set was wrong for the subject of the film, instead recommending a fantastic, graphic style, Warm brought to the project his two friends, painters and stage designers
Walter Reimann and
Walter Röhrig, both of whom were associated with the Berlin art and literary magazine
Der Sturm. The trio spent a full day and part of the night reading the script, a style often used in his own paintings. although Wiene has made claims that he conceived the film's Expressionist style. but Warm has claimed that, although Pommer was in charge of production at Decla when
Caligari was made, he was not actually a producer on the film itself. Instead, he says Meinert was the film's true producer, and that it was he who gave Warm the manuscript. Warm claimed Meinert produced the film "despite the opposition of a part of the management of Decla". The dominance of Hollywood at the time, coupled with a period of inflation and currency devaluation, forced German film studios to seek projects that could be made inexpensively, with a combination of realistic and artistic elements so the films would be accessible to American audiences, yet also distinctive from Hollywood films. Pommer has claimed while Mayer and Janowitz expressed a desire for artistic experimentation in the film, his decision to use painted canvases as scenery was primarily a commercial one, as they would be a significant financial saving over building sets. Janowitz claims he attempted to commission the sets from designer and engraver
Alfred Kubin, known for his heavy use of light and shadow to create a sense of chaos, but Kubin declined to participate in the project because he was too busy. Warm worked primarily on the sets, while Röhrig handled the painting and Reimann was responsible for the costumes. The collaborative nature of the film's production highlights the importance that both screenwriters and set designers held in German cinema of the 1920s, Budd notes the film's themes of insanity and the outcry against authority are common among German Romanticism in literature, theatre and the visual arts.
Casting , who portrayed Caligari, suggested changes to his own make-up and costumes so they would match the film's Expressionist style.|alt=A man wearing round-framed glasses, wearing a black coat and shirt, and white gloves with black lines along the knuckle lines. The man is looking off camera with a concerned look on his face. Janowitz originally intended the part of Cesare to go to his friend, actor
Ernst Deutsch. Janowitz claimed he wrote the part of Caligari specifically for Werner Krauss, whom Deutsch had brought to his attention during rehearsals for a Max Reinhardt play; Janowitz said only Krauss or
Paul Wegener could have played the part. The actors in
Caligari were conscious of the need to adapt their make-up, costumes and appearance to match the visual style of the film. Much of the acting in German silent films at the time was already Expressionistic, mimicking the
pantomimic aspects of Expressionist theatre. The performances of Krauss and Veidt in
Caligari were typical of this style, as they both had experience in Expressionist-influenced theatre, and as a result, John D. Barlow said they appear more comfortable in their surroundings in the film than the other actors. Barlow notes that "Veidt moves along the wall as if it had 'exuded' him ... more a part of a material world of objects than a human one", and Krauss "moves with angular viciousness, his gestures seem broken or cracked by the obsessive force within him, a force that seems to emerge from a constant toxic state, a twisted authoritarianism of no human scruple and total insensibility". It was shot entirely in a studio without any exterior shots, which was unusual for films of the time, but dictated by the decision to give the film an Expressionist visual style. The extent to which Mayer and Janowitz participated during filming is disputed: Janowitz claims the duo repeatedly refused to allow any script changes during production, and Pommer claimed Mayer was on the set for every day of filming.
Caligari was filmed in the
Lixie-Film studio (formerly owned by
Continental-Kunstfilm) at 9 Franz Joseph-Strasse (now Max Liebermannstraße),
Weißensee, a north-eastern suburb of Berlin. The relatively small size of the studio (built some five years earlier in 1914) meant most of the sets used in the film did not exceed in width and depth. The original
title cards for
Caligari featured stylised, misshapen lettering with excessive underlinings, exclamation points and occasionally archaic spellings. The bizarre style, which matches that of the film as a whole, mimics the lettering of Expressionistic posters at the time. The original title cards were tinted in green, steely-blue and brown. Many modern prints of the film do not preserve the original lettering. mostly alternating between medium shots and straight-on angles, with occasionally abrupt close-ups to create a sense of shock. There are few long shots or panning movement within the cinematography. Likewise, there is very little interscene editing. Most scenes follow the other without
intercutting, which gives
Caligari more of a theatrical feel than a cinematic one. Additionally, lighting is used in a then-innovative way to cast a shadow against the wall during the scene in which Cesare kills Alan, so the viewer sees only the shadow and not the figures themselves. Lighting techniques like this became frequently used in later German films. ==Visual style==