Patrick Stewart will topline the upcoming Broadway production of David Mamet’s 1977 play “A Life in the Theater.”

Stewart, last on the Rialto in 2008 in Rupert Goold’s revival of “Macbeth,” returns to Gotham after appearing last year in a smash West End staging of “Waiting for Godot” in which he co-starred with Ian McKellen.

Stewart is reprising a role in “Life” that he first played in a separate 2005 staging of the show in London. New Broadway production is helmed by Neil Pepe, director of last season’s revival of Mamet’s “Speed-the-Plow.”

One more thesp remains to be cast in the two-hander “Life,” about the relationship between an experienced older actor (Stewart) and a younger one. Producers are no doubt on the lookout for a second recognizable name to help boost the show’s appeal to auds.

“Life in the Theater” is produced by Jeffrey Richards, Jerry Frankel and Steve Traxler, who have a string of Mamet productions under their belts, many of which (“Glengarry Glen Ross,” “Speed-the-Plow”) have proved profitable. Their production of new Mamet play “Race,” starring James Spader, has logged solid sales since it bowed late last year.

Rehearsals for “Life in the Theater” are skedded to begin Aug. 23, with an exact opening date and venue to be determined.