Four members of an Iowa family whose bodies were recently found in a condominium in Mexico died of inhalation of toxic gases, the authorities said on Saturday.

Kevin Sharp, 41; his wife, Amy, 38; and their children, Sterling, 12, and Adrianna, 7, had been vacationing in Akumal, a small coastal town on the Yucatán Peninsula, the authorities said on Friday.

The state prosecutor’s office of Quintana Roo, where Akumal is, said on Twitter on Saturday that the cause of death was suffocation by inhalation of toxic gases, ruling out violence or suicide. The statement said investigators had not determined what type of gas was involved.

It said the four had probably died 36 to 48 hours before they were found on Friday. Local officials and firefighters inspected the room on Saturday and are preparing a report, the statement said.