The black flying-fox roosts mainly in mangroves, rainforest, and monsoon and paperbark forests.