When the Second World War began, Crawford was called up for full-time duty with the Australian Army. After a brief period in command of the 4th Battalion, he volunteered for the Second Australian Imperial Force in March 1940. In due course, he was tasked with the establishment of the 2/17th Battalion. The battalion was duly formed at Liverpool, and was intended to be attached to the 20th Brigade, 7th Division for service in the Middle East. The battalion was formed mainly from New South Welshmen and would spend the next six months in training. Crawford was a firm believer in discipline; his nickname of "Cake Eater" was derived from his strict adherence to formal protocols for official social functions.
North Africa
Crawford's battalion arrived in the Middle East in November 1940 and was initially based in Palestine. However, in February 1941, it was decided to reorganise the AIF forces present in the Middle East, and this resulted in the battalion's parent formation, 20th Brigade, being transferred to the newly formed 9th Division. This new formation replaced the 6th Division in the area around Tripoli, with the 2/17th Battalion situated at near Mersa Berga by early March. The Italian forces in Libya's Cyrenaica region had largely been destroyed during Operation Compass. However, the Germans were gradually building up their forces in the area and, on 24 March, Erwin Rommel's Afrika Korps attacked the Allied lines. This eventually forced the withdrawal of 9th Division to Tobruk, a critical port city. The 2/17th Battalion was placed on the southern portion of the defensive perimeter on 10 April. The following day, it beat off an initial attack by German infantry and armour. Probing attacks followed, and Crawford recognised these as preparatory skirmishing for a heavier attack in the following days. Reorganising his battalion's defences, he was able to respond appropriately when the expected attack commenced on the evening of 13 April. Despite tanks penetrating the battalion's lines, Crawford's control of subsequent counterattacks saw the attack rebuffed. The battalion remained on the outskirts of Tobruk, manning its defensive positions and carrying out patrols until the night of 21 October, at which stage it was relieved. During his time at Tobruk, Crawford was recommended for the Distinguished Service Order and was twice mentioned in despatches for his leadership during the period March to July 1941. The battalion, together with the rest of the division, spent the next several months in Palestine and Syria. In January 1942, Crawford handed over command of his battalion to Maurice Fergusson when he was assigned to the position of liaison officer, I Corps headquarters.
Home Front
In April 1942, Crawford was promoted temporary brigadier and placed in command of the 11th Brigade, a militia formation, in Queensland. He was also commander of York Force, a militia unit defending the Cape York Peninsula. On 7 March 1943, Crawford was a passenger on a Royal Australian Air Force plane, which, following take off, went missing. Reported overdue that evening, it took searchers five days to locate the crash site, which was in remote and difficult terrain. Crawford was one of three men killed in the crash and was buried with full military honours. He was survived by his wife, Gladys Marjory Lyndon Clay, whom he had married in 1928, and his daughter. His DSO insignia was presented to his wife in June 1944.