An abandoned two-story Ridge home with mushrooms growing inside has been declared unsafe and unsanitary by the Brookhaven Town Board.

The determination makes it likely the house on Ridge Haven Drive will be demolished, town officials said at a board meeting Thursday night.

The home’s owners have 30 days to repair the structure before it is torn down, Town Attorney Annette Eaderesto said.

Brookhaven has demolished dozens of vacant houses over the past several years.

“What it says is, if you don’t maintain your property, we’re going to knock it down,” Supervisor Edward P. Romaine said. “We’re not fooling around.”

advertisement | advertise on newsday

Town officials said the house is unfit for habitation due to mold, roof damage and other problems. Inspectors found mushrooms growing in a second-floor bedroom, officials said.

The house appears to be in foreclosure and has been put up for sale by the owners, officials said.

Officials said they have received complaints about the house since 2008, and the house has been cited for numerous code violations. They said attempts to reach the owners have been unsuccessful.