H&M has scored all 42,510 square feet of the long-dormant former ESPN Zone spot in Times Square, along with two huge billboards that wrap above the store’s 185 feet of frontage along Broadway and West 42nd Street.

The Post first reported the Swedish chain was negotiating for the significant space July 3. Now sources say the deal was just inked with 4 Times Square owner Douglas Durst.

H&M was represented by Bob Gibson of Cushman & Wakefield.

Durst was represented by a CBRE team of Amira Yunis, Gary Trock and Matthew Krell.

None of the parties responded to requests for comment.

H&M recently said it would open its largest store of 57,000 square feet at 589 Fifth Ave. and, as The Post first reported, will move from its original 640 Fifth Ave. flagship when its lease expires after building owner Vornado Realty Trust significantly boosted its asking rent.