The Producers, based on the film by Mel Brooks, has ended its Broadway run after more than 2,500 performances.
Nathan Lane and Matthew Broderick starred in the show in the beginning
After the final matinee show at the St James Theatre in New York, Brooks - who also wrote the music and lyrics - went on stage to address the audience.
"We have had six years of frolic and joy, and you have been such good audience to give us such a rich, final performance," he said.
The Producers has played around the world and won 12 Tony awards.
The show tells the story of two crooked producers who put on a flop Broadway show about Adolf Hitler.
The Producers opened with Nathan Lane and Matthew Broderick in the lead roles. The duo also starred in a film version.
Tony Danza and Hunter Foster starred in the final show on Sunday.
The St James is expected to play host to Brooks' next production, a version of his 1974 film Young Frankenstein.