The Off Broadway incarnation of “Million Dollar Quartet” has posted a closing notice for June, ending a stretch of Gotham perfs that began on Broadway before shifting to Off Broadway’s New World Stages.

In exiting the Rialto in favor of Off Broadway, “Million Dollar Quartet” followed in the footsteps of “Avenue Q,” which left behind a costlier Broadway production contract to extend its lifespan Off Broadway.

The story of four early rock ‘n’ roll greats playing together in a single recording session at Sun Records, “Quartet” opened at Broadway’s Nederlander Theater in April 2010, picked up a Tony for performer Levi Kreis and ran for a little more than a year before moving to New World Stages for a run that opened last July.

The Off Broadway staging of “Quartet” shutters June 24 after an overall total of 901 Gotham perfs.