“Beetlejuice,” which overcame a sluggish start to become a fan favorite on Broadway, is being evicted from its theater to make room for another musical that promises to be more lucrative.

The Shubert Organization, which is the largest landlord on Broadway, has ordered “Beetlejuice” to vacate the Winter Garden Theater, where its last performance will be on June 6. The musical is being edged out to make way for next fall’s revival of “The Music Man,” a heavily promoted project from the powerful producer Scott Rudin that stars one of Broadway’s most reliable audience draws: Hugh Jackman.

The ouster of a show that is doing well — “Beetlejuice” grossed nearly $1.6 million over Thanksgiving week, setting a record for the Winter Garden — is unusual, reflecting the high demand for limited theater space at a time when Broadway is booming.

“It’s sad and a shame, and also, in its own way, historic,” said Hal Luftig, a “Beetlejuice” co-producer who has been working on Broadway for 30 years. “I don’t think there’s ever been a case when a show has turned itself around in such a fashion and then has to leave its theater.”