As a lieutenant colonel, McNicoll commanded the 6th Battalion, 2nd Australian Brigade, at Gallipoli and was seriously wounded during an infantry charge in the Second Battle of Krithia on 8 May 1915. The brigade suffered 36 percent casualties in the course of two hours of action. He was found on the battlefield that evening by Charles Bean, then a war correspondent—later, Australia's official war historian. Bean piled discarded packs around McNicoll as protection against the still-continuing small arms fire and returned in the night with a stretcher party. McNicoll was invalided to Alexandria and then to London, where a second operation finally located and removed the bullet from his abdomen. Following a year's recuperation in Melbourne, McNicoll was promoted to brigadier general and given command of the 10th Infantry Brigade of the 3rd Division—under the command of Major General John Monash and, later, John Gellibrand. From December 1916 to the armistice nearly two years later, the brigade was part of numerous actions on the Western Front, including Messines, Ypres, the Somme, and Amiens.
Later life
After the war McNicoll returned to teaching as founding principal of what is now the Argyl School in Goulburn, in southern New South Wales. In 1931 he stood for and won the seat of Werriwa in the federal parliament, running as a member of the Country Party. He resigned towards the end of his first term, however, when he was appointed Administrator of the MandatedTerritory of New Guinea. He served in that position from 1934 up to the time of the Japanese invasion in 1942. The manifold responsibilities of Administrator ranged from education and justice to defence, with often conflicting advice or direction coming from the Permanent Mandates Commission and the Australian government and pressures as well from the various religious missions and commercial mining and plantation interests—the latter nearly the sole source of the Territory's revenues. Keenly interested in exploration, he led an expedition to the upper Sepik in 1935 and subsequently sponsored the Hagen-Sepik Patrol which explored the last great unknown tract of the Territory. He was knighted for his work organising relief efforts after the 1937 volcanic eruption that nearly destroyed the territory's capital, Rabaul. He married Hildur Marschalk Wedel Jarlsberg, from a distinguished Norwegian family, on 10 June 1905. Their marriage produced five children, all sons: Ronald Ramsay McNicoll ; Sir Alan Wedel Ramsay McNicoll ; Colin Wedel Ramsay McNicoll ; Frederick Oscar Ramsay McNicoll ; and David Ramsay McNicoll. Ronald and Alan both attained senior positions in the Australian military—becoming a major general and vice admiral respectively—while David was a well known Sydney-based journalist. McNicoll died in Sydney on 24 December 1947, aged 70 years.