Rebuilt in Palestine, the 2/7th undertook garrison duties in Syria and then Ceylon before being transported back to Australia in August 1942. In January 1943, the battalion was deployed to New Guinea, taking part in the fighting against the Japanese in the Salamaua–Lae campaign until October 1943. Following a period of over a year training in northern Queensland, the battalion's final campaign began in the Aitape–Wewak area of New Guinea in 1944–1945 during which it was used mainly in a mopping-up role. The battalion was disbanded in Australia in early 1946 after the conclusion of hostilities.