Mahler-Werfel's lively social interactions in her youth included friendships with the artists of the Secession, among them Gustav Klimt. As a young woman Mahler-Werfel had a series of flirtations, including Klimt, theater director Max Burckhard and composer Alexander von Zemlinsky. On 9 March 1902 she married Gustav Mahler, who was twenty years her senior and the director of the Vienna Court Opera. With him, she had two daughters, Maria Anna (1902-1907), who died of scarlet fever or diphtheria, and Anna (1904-1988) who later became a sculptor. The terms of Alma's marriage with Gustav were that she would forgo her own interest in composing. Mahler-Werfel embraced her role as a loving wife and supporter of Gustav's music. However, later in their marriage, after she had experienced a severe depression in the wake of the death of their oldest daughter, Maria, she began an affair with the young architect Walter Gropius (later of Bauhaus fame), whom she met during a rest at a spa. During the emotional crisis in their marriage after Gustav's discovery of the affair, he took a serious interest in Alma's musical compositions, completely regretting his earlier attitude. Upon his urging, and under his guidance, she prepared five of her songs for publication (they were issued in 1910, by Gustav's own publisher, Universal Edition). Following this turbulent period in their marriage, Alma and Gustav Mahler traveled to New York, where Gustav was seasonally engaged as a conductor at that time. While in New York, in February 1911, he fell severely ill as result of an infection related to a heart defect that had been diagnosed several years before; he died in May, shortly after their return to Vienna.
After Mahler's death, Mahler-Werfel did not immediately resume contact with Gropius. Between 1912 and 1914 she had a tumultuous affair with the artist Oskar Kokoschka, who created many works inspired by his relationship with her, including, perhaps most famously, his painting Bride of the Wind. Kokoschka's intense possessiveness wore on Mahler-Werfel, and the emotional vicissitudes of the relationship tired them both. With the coming of World War I, Kokoschka enlisted in the military, and Mahler-Werfel subsequently distanced herself from him and resumed contact with Walter Gropius, who was also in the military at that time. Mahler-Werfel and Gropius married in 1915 during one of his military leaves. They had a daughter together, Manon Gropius (1916-1935), who died of polio at the age of 18. (Composer Alban Berg wrote his Violin Concerto in memory of her.) While Gropius's military duties were still keeping him absent most of the time, Mahler-Werfel met and fell in love with the Prague-born poet and writer Franz Werfel in fall 1917. She became pregnant and gave birth to a son, Martin Carl Johannes Gropius (1918-1919). Gropius at first believed that the child was his, but Mahler-Werfel's ongoing affair with Werfel soon came out into the open. Within a year, they had agreed to a divorce. In the meantime, the boy, Martin, who had been born prematurely, had developed hydrocephalus, and died at the age of ten months. Mahler-Werfel's divorce from Gropius became official in 1920. She and Werfel remained together and lived in partnership from that point on; however, she postponed marrying Werfel until 1929.
In 1938, following the Anschluss, Mahler-Werfel and Werfel, who was Jewish, were forced to flee Austria for France; they maintained a household in Sanary-sur-mer, on the French Riviera, from summer 1938 until spring 1940. With the German invasion and occupation of France during World War II, and the deportation of Jews and political adversaries to Nazi concentration camps, the couple were no longer safe in France and frantically sought to secure their emigration to the United States. In Marseille they were contacted by Varian Fry, an American journalist and emissary of the Emergency Rescue Committee, a private American relief organization that came to the aid of many refugee intellectuals and artists at that time. Fry arranged for them to journey on foot across the Pyrenees into Spain, in order to evade the French border officials, since the acquiring of the necessary exit visas proved impossible. From Spain, Alma and Franz traveled on to Portugal and then boarded a ship for New York City. Eventually they settled in Los Angeles, where Werfel, who had already enjoyed moderate renown in the U.S. as an author, achieved a huge popular success with his novel The Song of Bernadette, which was made into a 1943 film starring Jennifer Jones, and the science fiction novel, "Star of the Unborn," published after his death. Werfel, who had experienced serious heart problems throughout their exile, died of a heart attack in California in 1945. In 1946 Mahler-Werfel became a U.S. citizen. Several years later she moved to New York City, where she remained a major cultural figure until her death, in 1964.
In Mahler (1974) by director Ken Russell, Gustav Mahler while on his last train journey, remembers the important events of his life - his relationship with his wife, the death of his brother and of his young daughter, his trouble with the muses, and more.
In 1996, Israeli writer Joshua Sobol and Austrian director Paulus Manker created the polydrama Alma. It has been playing in Vienna for six successive seasons, and toured to Venice, Lisbon, Los Angeles, Petronell, Berlin and Semmering — all places where Mahler-Werfel had lived. The scenes of Mahler-Werfel's life were performed simultaneously on all floors and in all rooms of a special building. The guests were invited to abandon the immobilized position of a spectator in a conventional drama, replace it with the mobile activity of a traveller, and watch a "theatrical journey". They had to choose the events, the path, and the person to follow after each event, thus constructing her or his personal version of the "Polydrama."
A treatment of Mahler-Werfel's life is presented in the 2001 Bruce Beresford film Bride of the Wind. Martin Chervin wrote a one-woman play about her first marriage called Myself, Alma Mahler. In 1998 extracts from her diaries were published, covering the years from 1898 to 1902, up until the point she married Mahler. The 2001 novel The Artist's Wife by Max Phillips has her tell her own story from the afterlife, concentrating on her complicated relationships.
Less amusing is the story of her two books on Mahler and their impact on 'Mahler studies'. As an articulate, well-connected and influential woman who went on to outlive her first husband by more than 50 years, Mahler-Werfel was for decades the principal authority on the mature Mahler's values, character and day-to-day behaviour, and her various publications quickly became the central source material for Mahler scholars and music-lovers alike. Unfortunately, as scholarship has investigated the picture she sought to paint of Mahler and her relationship with him, her accounts have increasingly been revealed as unreliable, false and misleading. The fact that these deeply flawed accounts have nevertheless had a massive influence — leaving their mark upon several generations of scholars, interpreters and music-lovers — constitutes the "Alma Problem."
Gustav Mahler, Letters to his Wife [1901-11]. Edited by Henry-Louis de La Grange and Günther Weiss, in Collaboration with Knud Martner. First complete edition, revised and transted by Antony Beaumont (Faber and Faber, London 2004)
Karen Monson, Alma Mahler: Muse to Genius: From Fin-de-Siècle Vienna to Hollywood's Heyday (1983) Susanne Rode-Breymann, Die Komponistin Alma Mahler-Werfel (Hanover, 1999)