New York has more than $12 billion in unclaimed money sitting around — and some of it belongs to the likes of Tina Fey, Mariah Carey and even Beyoncé.

The superstars are among dozens of wealthy celebs who show up in the dizzying “unclaimed funds” database kept by state Comptroller Thomas DiNapoli’s office, which catalogues more than 30 million accounts just waiting to be paid out.

“30 Rock” star/creator Fey has had uncollected funds sitting there since 2005, and Sean “Diddy” Combs has unclaimed funds dating back to at least 1991, in the form of insurance payouts, dividends, uncashed checks and even a bank account set up by his late dad, Melvin, records show.

Carey has unclaimed payouts dating back to 2002.

Angelina Jolie has uncashed checks dating back to 2004, Glenn Close has an Exxon cash dividend from 1994, and Tina Fey has funds uncollected since 2005.

Comedian and “Rescue Me” star Denis Leary has several unclaimed payouts, as does “Raging Bull” Robert De Niro and TV news host Paula Zahn.

Woody Allen has unclaimed dividend money from 2012, and Yoko Ono has an unclaimed payout from Sprint that same year, according to the records.

The state’s database, at osc.state.ny.us, doesn’t specify how much money a particular recipient is owed, but 50 percent of claims amount to less than $100, according to the Comptroller’s Office.

Still, it’s not all chump change.

One lucky New Yorker has a staggering $1.7 million waiting to be claimed, all of it from a single account.

Beyoncé and record mogul Tommy Mottola have money waiting for unredeemed Bergdorf Goodman gift cards.

Steven Spielberg and Al Pacino have unredeemed Giorgio Armani gift cards.

Several politicians also have money waiting to be picked up, including Hilary Clinton, Eliot Spitzer, George Pataki and Anthony Wiener.

Meanwhile, deadbeat hip-hop impresario Damon Dash and cash-strapped celeb mom Dina Lohan might want to check the list, because both have money waiting to be claimed.

Additional reporting by Jennifer Gould Keil