Act I
The pretty maid Adele is labouring away in the rich von Eisenstein household; she dreams of becoming an actress. Alfred, an admirer of her mistress Rosalinde, sings a serenade beneath an open window. In the hope of being left alone with the object of his love, he gives Adele an invitation to a masked ball at Prince Orlofsky's. The girl is thrilled; she just has to think of a reason why her mistress would give the servants time off and how to obtain a suitable outfit. Alas, Rosalinde pays but little heed to her maid's entreaties. The master of the house, the financier Heinrich von Eisenstein, appears. He has had some bad news: for hunting on someone else's estate he must go to prison for eight days. Von Eisenstein considers his lawyer Herr Blind and not himself to be guilty. And here is Blind himself: he has come with promises to have the case reviewed. Rosalinde and Heinrich launch a tirade of invectives at him. The notary departs, man and wife are left alone and Heinrich informs Rosalinde of his unintentional poaching. As the talk progresses, details emerge that von Eisenstein would rather have kept hidden from his wife. They will have to improvise "off the cuff"; Heinrich will be assisted in his virtuoso deception by his friend Falke, a theatre director who has come to visit. Unbeknownst to Rosalinde, Falke suggests his friend goes to the ball under the name of one Marquis de Karambol, going on to the prison the following morning. This risky undertaking fills von Eisenstein with delight. The time for farewells has come: man and wife fondly say goodbye to each other, and Heinrich leaves the despondent Rosalinde alone. Alfred immediately takes advantage of the opportunity afforded to him, makes himself at home in the house of his beloved and starts guzzling wine. Frank, the governor of the prison who has come to arrest von Eisenstein, on taking Alfred to be Rosalinde's husband, carries him off to jail.
Act II
Numerous guests have filled one of the rooms in the home of Prince Orlofsky. The cordial host of the ball invites everyone to drink and be merry until the morning. The disguises and costumes permit the guests to remain incognito – a succession of misunderstandings ensues. Falke is attracted by a lady in a pink dress, still unaware that it is Adele who has borrowed her mistress' gown. Von Eisenstein's attention is drawn to a mysterious duchess dressed as a bat. To the delight of all, she sings a Hungarian song – a csárdás. Orlofsky introduces the delightful Adele, whom he takes to be a baroness, to Heinrich, who he believes is a marquis. Fearful of being discovered, the maid and the master are each forced to play the roles thrust upon them. At last Heinrich is left alone for a tête-à-tête with the beautiful stranger, not suspecting that under the guise of a bat it is his own wife. Rosalinde uses her cunning to get the watch she gave von Eisenstein, allegedly to compare its ticking with the beating of her own fluttering heart.
Meanwhile, the festivities are continuing. The guests drink to fraternity and then dance. As morning draws near, von Eisenstein and Frank must depart for the prison: one under arrest and the other to work. In amazement, Heinrich learns from Frank that the previous evening the latter had already deposited Rosalinde's husband in a cell. Teetering along, von Eisenstein and Frank enter the prison fortress.
Act III
At the prison, the warder is in charge – he is a great lover of having a drink. His chief, who comes to the prison after the ball, must freshen himself up in the bathroom. Von Eisenstein Arrives: the jealous husband wishes to know who his double is. Blind the lawyer appears: Alfred, now sober, has summoned him, no longer wishing to sit in prison on behalf of the true guilty party. The enraged Heinrich runs in and takes the lawyer's cloak and wig – he himself wishes to interrogate the pseudo-von-Eisenstein.
When talking with the "lawyer", Alfred is stunned by his furious reaction to the evening episode at the von Eisenstein household. Rosalinde appears. Her husband is angry at her, though Frau von Eisenstein shows her husband the watch – evidence of his infidelity. Heinrich is unmasked and begs for forgiveness. Several of Prince Orlofsky's guests enter, wishing to continue the festivities. The Bat reveals her incognito persona to all, and Adele immediately joins Falke's theatre company. "Madame Moral has taught her lesson and Monsieur Destiny has been disgraced," as all sum up.
Act 1
Eisenstein's apartment
Gabriel von Eisenstein, a Viennese man-about-town, has been sentenced to eight days in prison for insulting an official, partially due to the incompetence of his attorney, Dr. Blind. Adele, Eisenstein's maid, receives a forged letter, allegedly from her sister who is in the company of the ballet, but actually written by Falke, inviting her to Prince Orlofsky's ball. She pretends the letter says that her aunt is very sick, and asks her mistress Rosalinde (Eisenstein's wife) for an evening off ("Da schreibt meine Schwester Ida"/"My sister Ida writes to me"). Falke, Eisenstein's friend, arrives to invite him to the ball (Duet: "Komm mit mir zum Souper"/"Come with me to the souper"). Together, they recall a practical joke which Eisenstein played on Falke a few years ago, for which Falke is secretly planning a light-hearted revenge in kind. Eisenstein bids farewell to Adele and his wife Rosalinde, pretending he is going to prison (Trio: "O Gott, wie rührt mich dies!"/"Oh dear, oh dear, how sorry I am") but really intending to postpone jail for one day and have fun at the ball.
After Eisenstein leaves, Rosalinde is visited by her former lover, the singing teacher Alfred, who serenades her ("Täubchen, das entflattert ist"/"Dove that has escaped"). Frank, the governor of the prison, arrives to take Eisenstein to jail, and finds Alfred instead. In order not to compromise Rosalinde, Alfred agrees to pretend to be Eisenstein and to accompany Frank. (Finale, drinking song: "Glücklich ist, wer vergisst"/"Happy is he who forgets" followed by Rosalinde's defence when Frank arrives: "Mit mir so spät im tête-à-tête"/"In tête-à-tête with me so late," and Frank's invitation: "Mein schönes, großes Vogelhaus"/"My beautiful, large bird-cage.")
Act 2
A summer house in the Villa Orlofsky
It transpires that Falke, with Prince Orlofsky's permission, is using the ball as a way of getting revenge on Eisenstein. Some time before, after a costume-party, Eisenstein had abandoned Falke, very drunk and dressed in a bat-costume, in the center of town, exposing him to ridicule the next day. As part of his scheme, Falke has invited Frank, Adele, and Rosalinde to come the ball, all concealing their identities as well. Rosalinde pretends to be a masked Hungarian countess, Eisenstein goes by the name "Marquis Renard," Frank is "Chevalier Chagrin," and Adele, who has borrowed one of Rosalinde's dresses without permission, pretends she is an actress.
The ball is in progress (Chorus: "Ein Souper heut' uns winkt"/"A souper is before us") and the Prince welcomes his guests ("Ich lade gern mir Gäste ein"/"I love to invite my friends"). Eisenstein is introduced to Adele, but is confused as to who she really is because of her striking resemblance to his maid. ("Mein Herr Marquis"/"My lord marquis," sometimes referred to as "Adele's Laughing Song"). Frank arrives. He and Eisenstein, who are both posing as Frenchmen, attempt to conceal their identities by repeating common French phrases to each other, to Orlofsky's great amusement. Since neither actually knows French, both are fooled. As the party progresses, they both experience alcohol-induced good-feeling and manly camaraderie for each other.
Then Falke introduces the masked Rosalinde to the company. She convinces everyone that she is Hungarian by singing the "Czardas", a sentimental dancing-song ("Klänge der Heimat"/"Sounds from home"). During an amorous tête-à-tête, Eisenstein tries unsuccessfully to persuade the mystery-woman to unmask. She succeeds in extracting a valuable watch from her husband's pocket, something which she can use in the future as evidence of his impropriety. (Watch duet: "Dieser Anstand, so manierlich"/"Her bearing, so well-mannered"). In a rousing finale, Orlofsky makes a toast to champagne, and the company celebrates (The Champagne song: "Im Feuerstrom der Reben"/"In the fire stream of the grape"; followed by the canon: "Brüderlein, Brüderlein und Schwesterlein"/"Brothers, brothers and sisters" and the waltz finale, "Ha, welch ein Fest, welche Nacht voll Freud'!"/"Ha, what joy, what a night of delight.") Eisenstein and Frank dash off as the clock strikes six in the morning.
(Note: The "Champagne song", which is sung by the entire ensemble, should not be confused with the baritone aria "Fin ch' han dal vino" from Don Giovanni, which is often called the "Champagne aria".)
Act 3
In the prison offices of Warden Frank
The next morning they all find themselves at the prison where the confusion increases and is compounded by the jailer, Frosch, who has profited by Warden Frank's absence to become gloriously drunk. Alfred, still in jail in Eisenstein's place, irritates the other prisoners by singing operatic arias.
Adele arrives to ask the Chevalier Chagrin (actually Frank) to sponsor her career as an actress, but Frank is not wealthy enough to do this (Melodrama; Couplet of Adele: "Spiel' ich die Unschuld vom Lande"/"If I play the innocent peasant maid"). Meanwhile, Alfred asks Frosch to summon Dr. Blind to help get him released; Frank agrees to allow this and Dr. Blind arrives. Eisenstein enters and says he has come to serve his sentence. He is surprised when Frank tells him that his cell is already occupied by a man who claims to be Eisenstein and whom Frank had arrested in Eisenstein's apartment. Frank further tells Eisenstein that the man he arrested was singing amorous songs to Rosalinde at the time of his arrest, and warmly kissed her goodbye. Enraged, Eisenstein takes Dr. Blind's wig and glasses in order to disguise himself and confront the impersonator Alfred, whom Eisenstein now believes has cuckolded him. Rosalinde enters. Eisenstein takes off his disguise and accuses her of being unfaithful to him with Alfred. Eisenstein, Rosalinde, and Alfred sing a trio in which Eisenstein angrily claims the right of vengeance (Trio: "Ja, ich bin's, den ihr betrogen...Ra-ra-ra-ra-Rache will ich!"/"I'm the one who was mistreated....Ve-ve-ve-ve-vengeance is mine!"). However, Rosalinde produces his watch, and he realizes that the Hungarian mystery-woman he tried to seduce at Orlofsky's party was actually Rosalinde in disguise and that he, not she, is at fault.
Falke enters with all the guests from the party and explains that the whole thing was payback for Eisenstein's practical joke on him three years before. Eisenstein is delighted by the prank, and he begs Rosalinde to forgive him for his attempted infidelity. Rosalinde refuses at first, and threatens to divorce him, but Eisenstein tells her that his misbehavior was caused by the champagne. She accepts this explanation and immediately forgives him unconditionally. Orlofsky promises to finance Adele's acting career, and the company joyfully reprises the "Champagne song" from Act 2.