New York’s famed “Halloween Tower,” once the epicenter for spooky costume manufacturers, is but a ghost — a casualty of the high cost of commercial real estate in the city.

Most of the tenants that trafficked in Halloween regalia have decamped from the building, at 1115 Broadway, as tech companies awash in cash have pushed up rents in the area centered on Madison Square Park.

The 13-story tower, at the corner of 25th Street, counts Jay Z’s 40/40 Club as a tenant. It was dubbed the “Halloween Tower” in 2005, when it housed as many as 15 costume makers, according to Jim Buslik, who represents Adams & Co., owners of the building.

“I thought if we made it Halloween Tower we would get other people in the industry,” he said.

But like the city’s former toy building, which ceased to be about fun and games, the industry that inspired the name for 1115 Broadway has largely moved on. Now, just four costume companies have survived.

“We’re one of the remaining few. It kind of makes me sad,” said Chuck Martinez, chief executive of InCharacter Costumes, a high-end manufacturer that also advertises a “sensual” line of risqué costumes.

Rubie’s Costume Co., considered the largest US costume manufacturer, FunWorld and Rasta Imposta, the maker of fake dreadlock hats, are the other holdouts.

Reps for those companies declined to comment.

1115 BroadwayJohn M. Mantel

Blame tech companies like BuzzFeed, Tumblr and Mashable for scaring away the Halloween industry. With those and others snapping up space in the area, rents are averaging $65 a square foot — up from $45 just 18 months ago and more than double over the past decade.

Nigel Febland, a veteran Halloween factory representative, said he moved his business around the corner to 230 Fifth Ave. about four years ago — and brought over about 14 clients who rent temporary showrooms.

“The whole damn thing has been pushed out. New York has lost a whole lot of business,” he said. “There’s a limit to what we all can pay for a showroom.”

That also led owner Adams & Co. earlier this year to shed the 1914-era building’s moniker that — like the large windows and Madison Square Park across the street — made it attractive for costume-maker showrooms.

The building’s makeover mirrors that of 200 Fifth Ave. and 1107 Broadway, once collectively known as the Toy Center, before the toy companies left, Martinez said.

“Those were the center of the universe for the toy industry in the day,” he said. “As a kid I grew up walking the halls of that. Every toy company big or small had an office in those two buildings.”

Apparently, 1115 Broadway’s newer tenants didn’t like it being Halloween every day. One long-time building employee told The Post that newer tenants had complained about the spooky name.

“There’s such a demand in that district for tenants within in the tech, advertising, media and information industries,” Buslik said. “‘Halloween Tower’ was kind of misleading.”