The newcomer was none other than Beckmesser, the conceited marker, who, having composed a song to sing at the contest on the morrow, had come now to sing it as a serenade beneath the window of the fair Eva, hoping that the maiden would be thus so favourably impressed by his composition, that she would speak in his favour when he was adjudged the winner, as he so fondly expected to be; and, stationing himself beneath his charmer's chamber window, he commenced his song, which was in reality a very poor one, consisting of inferior poetry and worse melody.

Hans Sachs, hoping now to deter Sir Walter and Eva from their rash act by keeping them in their hiding-place, at once began to sing himself in a very loud voice, to a rollicking tune and merry words; an unexpected performance which was naturally very disconcerting to the serenader.

In a furious rage at this wanton drowning of his sentimental song, with which he had intended to win the heart of Eva, Beckmesser many times shouted to the cobbler to hold his peace; but, finding that Hans refused to listen to his request he resorted to strategy in order to enable his fair mistress to hear his song undisturbed. Approaching the cobbler's shop, he invited Hans to listen to his song, and criticise it, that he might correct any faults there might be in the composition ere performing it on the morrow; and this the cobbler agreed to do, saying that for every fault he detected, he would hammer a nail into the pair of shoes he was at that moment mending for the town clerk, who had been blaming him earlier in the day for being behindhand with his work.

So Beckmesser began his song again, full of delight at observing a maiden's figure appear at the chamber window, imagining this to be his adored one, though it was in reality the waiting-maid, Magdalena, who was anxiously awaiting the return of her young mistress; but his rage was soon increased tenfold, for his halting verses were so full of faulty accents and unmusical discords, that the cobbler's hammer fell with a thud almost constantly. Ere the song was half over, Hans ran out of his shop, and, holding up the finished shoes in triumph, cried mischievously in imitation of the marker's own manner at the young knight's examination, "Haven't you done yet? Because I've finished the shoes already, thanks to the many faults you have made!"

As Beckmesser furiously endeavoured to scream out the last verses of his song, the apprentice David, disturbed by this unmusical squalling, opened his chamber-window; and, seeing his sweetheart, Magdalena, in the chamber opposite, and thinking the serenade addressed to her, he was seized with jealousy, and, rushing out into the street, set upon the bold serenader and began to cudgel him with right good will.

Taken thus by surprise, Beckmesser began to cry out for aid, for David was a lusty youth, and was quickly beating him black and blue; and, aroused by the sounds of the scuffle, the neighbours came pouring from the houses on every side, and not understanding the reason for the commotion, but stumbling in the dark against each other, they began to quarrel amongst themselves, and a general scrimmage quickly ensued, in which the mischievous apprentice friends of David gladly took part, enjoying the riot as a great joke.

Thinking that in the midst of this scuffle they might make their escape, Sir Walter tenderly endeavoured to lead Eva round the edge of the crowd; but Hans Sachs, who had kept his eyes constantly on the pair, soon frustrated this pretty plan by seizing Walter's arm in his own iron grasp, and at the same time pushing Eva up the steps of her father's house, where she was quickly seized and taken within by Pogner himself, who, having opened his door to inquire the cause of the scrimmage, was amazed to find his daughter in the midst of the crowd.

Having seen that the half-fainting Eva was safely in her father's care, Hans Sachs, having first caught David and unceremoniously kicked him into his shop, followed himself, dragging the despairing Walter with him; and upon the sound of the night-watchman's horn being heard, the crowd melted away as quickly as it had gathered, so that by the time the sleepy guardian of the peace appeared, the street was deserted and still once more.

Next morning, as Hans, attired in gala dress, ready for the great Festival of St. John's Day, sat in his workshop, the young knight entered from the chamber where he had been resting, and announced to his kind friend that he had just awakened from a beautiful and vivid dream, which he longed to put into song; and the honest, art-loving cobbler entreated him to sing it to him straightway, whilst still fresh in his mind, in the form of a master-song of the correct form, of which he gave him some few hints, declaring that with such a Heaven-sent subject, sung in the richly-flowing stream of melody that was his own priceless gift, he would certainly yet win the maiden he loved so well.

Encouraged thus by the large-hearted Hans, and inspired by his dream, Walter broke forth into a gloriously beautiful song, perfect alike in poetic form and wondrous melody, which the cobbler eagerly wrote down as he sang; and when the song came to an end, Hans, overcome with emotion and joy, hastily pushed the singer back to his chamber, bidding him put on gala raiment, and declaring himself confident of his success in the contest.