ALBANY — They’re finally putting the rum in Rum Raisin.

The Democratic-controlled state Senate passed a bill Monday that would “authorize the manufacture and sale of ice cream or other frozen desserts made with liquor.”

Up to 5 percent of light alcoholic beverages like wine, cider and beer is already allowed to be infused with ice cream, but the bill would add liquor to the mix.

It would apply to sealed packages of ice cream made by dairy processors and manufacturers, liquor and craft beverage producers, restaurants and other food retailers.

Only people 21 and older would be able to purchase the liquor-laden frozen treats.

Bill sponsors said it’ll help the state’s struggling dairy industry. “This legislation will help New York dairy farmers, liquor and craft beverage producers, dairy processors and manufacturers, and food retailers and restaurants meet the increasing consumer demand for these new and innovative products,” said state Sen. Rachel May (D-Syracuse).

She told The Post she wants to try maple and vanilla ice creams with a splash of bourbon.

Assembly sponsor Donna Lupardo (D-Binghamton) said she could see a rum and coconut flavored dish hitting the spot on a hot summer day.

The bill passed the state Senate by a 60 to 0 margin, but has yet to clear the Assembly.