The Toronto Zoo says an orangutan escaped its enclosure Thursday evening as officials work to determine how exactly the ape got out.

Kembali, one of seven Sumatran orangutans in the zoo’s care, accessed an area “just outside” the new outdoor habitat at the Scarborough attraction, officials said in a post on social media.

The zoo said staff responded quickly and cleared guests from the area and the male orangutan was returned to its habitat “without incident.”

Police were also called to the scene as a precaution, the zoo said.

Speaking to CP24 Friday morning, Grant Furniss, the director of wildlife care at the Toronto Zoo, said they’re not “100 per cent” sure how Kembali escaped.

“[We’re] relying now on guests' video footage or pictures, and we'll hopefully be able to put the puzzle together and figure it out,” he said, noting that orangutans are “super smart” animals.

He said the zoo regularly runs drills to simulate similar situations and that Thursday’s incident ended with the “best outcome” possible.

The 13,000 square-foot outdoor habitat, which was opened last summer and cost $11 million to construct, will remain closed indefinitely until zoo officials determine how Kembali was able to make its way outside.

As the investigation takes place, Furniss said the orangutans will still be viewable to visitors from their indoor enclosure.