Broadway’s “Something Rotten!,” a raucous Renaissance musical comedy, will close in January after a run of a bit less than two years.

The show, the tale of two brothers who accidentally invent musical theater in their attempts to overshadow Shakespeare, saw sales snowball to more than $1 million a week in the wake of its April 2015 opening. Grosses remained in the millionaires’ club throughout that summer, although they began to taper in the fall.

It’s not yet certain whether the production will manage to recoup its $14 million capitalization costs before it closes on Broadway. Either way, producers, led by Kevin McCollum, can expect additional revenue from a national tour that launches in Boston in January.

“Something Rotten!” has music and lyrics by Wayne Kirkpatrick with a book by Karey Kirkpatrick and John O’Farrell. Casey Nicholaw (“The Book of Mormon,” “Aladdin”) directs and choreographs. The cast, which originally starred Brian D’Arcy James (“Spotlight”) in the lead role, is now headed by Rob McClure appearing alongside Will Chase, Josh Grisetti and Leslie Kritzer.

“Something Rotten!” will shutter at the St. James Theater Jan. 1. The next tenant of the venue hasn’t yet been officially confirmed, but industry insiders widely expect it to be Disney’s upcoming Broadway version of “Frozen,” should that title remain on schedule.