It lives primarily on the red mangrove Rhizophora mangle but is also commonly seen on the white mangrove Laguncularia racemosa and the black mangrove Avicennia germinans, ascending the trees when the tide rises and descending to the exposed mud when the tide goes down.