Six fire departments battled two hours to put out a building fire on a small island just west of the Robert Moses Causeway Tuesday night, Suffolk County officials said.

Police said Arson Squad detectives are investigating the cause of the fire, which occurred on Oak Island and was reported in a 911 call at 10:20 p.m., but said initial indications are that the blaze “appears to be non-criminal.”

Firefighters from Babylon, West Babylon, North Babylon, West Islip, Bay Shore and Lindenhurst responded, police said. One firefighter from Babylon, which was leading the response, was hurt in the blaze, officials said.

Suffolk fire officials said that firefighter was taken to a hospital for evaluation and treatment of minor injuries.

“Two residents and a dog escaped the premises without injury,” Assistant Police Commissioner Justin Meyers said.

Police Marine Bureau officers responded and firefighters were transported to the island by boat, officials said.

advertisement | advertise on newsday

The island is east of Gilgo State Park and its southern shores are just a short water ride from Ocean Parkway. Several homes sit along the island’s southern end.

Firefighters began packing up from the scene about 12:15 a.m.