TD Bank is in talks to move to a 65-story tower SL Green Realty Corp. has proposed for Madison Avenue and 42nd St. near Grand Central Terminal, The Post has learned.

The NJ-based bank would consolidate multiple divisions in the base of the planned 1.1 million square-foot building and would be its anchor tenant, according to sources briefed on the discussions.

The bank would also install a major flagship bank branch.

“It would include branding and signage and will really be somewhat dramatic,” said one source.

CBRE is the lead real-estate broker but the move would involve multiple bank divisions that are represented by other brokers.

SLG declined comment.

The project is tied to the stalled Midtown East rezoning that the de Blasio administration hopes to rework after making changes to address previous landmarking and other issues.

Alicia Glen, the deputy mayor for economic development, called it “an incredibly exciting project” in an interview with Crain’s New York Business.

Without identifying the tenant she added, “It’s a project that they’ve already identified a very high quality tenant that we would like to see come to New York.”