Magic will happen.

A formal lease has finally been inked for a magic- and culinary-filled event space along Midtown Manhattan’s Billionaire’s Row being curated and produced by Neil Patrick Harris — in collaboration with the producers of events that include “Queen of the Night,” The Post has learned.

Broker Alex Picken of Picken Real Estate confirmed a 20-year lease was signed for the new nightlife concept at 311 W. 57th St. that will encompass the three-story, 13,000-square-foot former Providence club.

The aggregated rental will exceed $22 million for the entire term.

The space previously housed Le Bar Bat and in an earlier incarnation was a recording studio for the Rolling Stones, Janis Joplin and Jimi Hendrix.

According to Picken, the new yet-to-be-named venue is scheduled to open this fall and will become a top-quality eatery and interactive theater with a pre- and post-showtime lounge nightclub.

311 W. 57th St.Google Maps

“I haven’t seen such an iconic hospitality and nightlife venture of this size and quality established in this city in many years,” Picken said.

Collaborators on the new venue include those behind “Queen of the Night,” “Sleep No More” and “The Box.”

Earlier this year, producer Randy Weiner told the New York Times the venue would resemble a mansion with “dance, variety acts and one-on-one interactions.”