There go the pies.

The Sara Bareilles musical “Waitress” will end its Broadway run on Jan. 5, the Hollywood Reporter announced, after nearly four years and countless turns by many guest actors, Al Roker and Bareilles herself among them.

The show, based on Adrienne Shelly’s 2007 indie movie featuring Keri Russell as the beleaguered server of the title, was more than a coup for Bareilles, who’d never written for theater before. It also became the first Broadway musical to boast an all-female creative team, headed by “Hair” Tony winner Diane Paulus.

The show may have been the first to have its own, behind-the-scenes pie maker, who was charged with creating pies themed to the storyline, including the “I Don’t Want Earl’s Baby” pie, an unhappy marriage of ham, onion, cheese and nutmeg.

The show’s success was sweet, however: “Waitress” has grossed more than $149 million in New York alone. And it employed a roving cast of otherwise underused dancers, who — outfitted in aprons and little caps outfitted with plastic pies — offered discount tickets in Times Square.