Meanwhile coffee met with some opposition in Prussia and Hanover. Frederick the Great became annoyed when he saw how much money was paid to foreign coffee merchants for supplies of the green bean, and tried to restrict its use by making coffee a drink of the "quality". Soon all the German courts had their own coffee roasters, coffee pots, and coffee cups.

Many beautiful specimens of the finest porcelain cups and saucers made in Meissen, and used at court fêtes of this period, survive in the collections at the Potsdam and Berlin museums. The wealthy classes followed suit; but when the poor grumbled because they could not afford the luxury, and demanded their coffee, they were told in effect: "You had better leave it alone. Anyhow, it's bad for you because it causes sterility." Many doctors lent themselves to a campaign against coffee, one of their favorite arguments being that women using the beverage must forego child-bearing. Bach's Coffee Cantata[64] (1732) was a notable protest in music against such libels.

On September 13, 1777, Frederick issued a coffee and beer manifesto, a curious document, which recited:

It is disgusting to notice the increase in the quantity of coffee used by my subjects, and the amount of money that goes out of the country in consequence. Everybody is using coffee. If possible, this must be prevented. My people must drink beer. His Majesty was brought up on beer, and so were his ancestors, and his officers. Many battles have been fought and won by soldiers nourished on beer; and the King does not believe that coffee-drinking soldiers can be depended upon to endure hardship or to beat his enemies in case of the occurrence of another war.

Richter's Coffee House in Leipsic—Seventeenth Century

For a time beer was restored to its honored place; and coffee continued to be a luxury afforded only by the rich. Soon a revulsion of feeling set in; and it was found that even Prussian military rule could not enforce coffee prohibition. Whereupon, in 1781, finding that all his efforts to reserve the beverage for the exclusive court circles, the nobility, and the officers of his army, were vain, the king created a royal monopoly in coffee, and forbade its roasting except in royal roasting establishments. At the same time, he made exceptions in the cases of the nobility, the clergy, and government officials; but rejected all applications for coffee-roasting licenses from the common people. His object, plainly, was to confine the use of the drink to the elect. To these representatives of the cream of Prussian society, the king issued special licenses permitting them to do their own roasting. Of course, they purchased their supplies from the government; and as the price was enormously increased, the sales yielded Frederick a handsome income. Incidentally, the possession of a coffee-roasting license became a kind of badge of membership in the upper class. The poorer classes were forced to get their coffee by stealth; and, failing this, they fell back upon numerous barley, wheat, corn, chicory, and dried-fig substitutes, that soon appeared in great numbers.

This singular coffee ordinance was known as the "Déclaration du Roi concernant la vente du café brûlé", and was published January 21, 1781.