In the post-World War II period, the squadron was reformed briefly as a communications squadron based at Mallala, South Australia, in June 1947 before a reorganisation early the following year saw it redesignated as No. 34 Squadron, while the previously existing No. 21 Squadron, equipped with Avro Lincolns at RAAF Base Amberley, became No. 2 Squadron. In 1953, the squadron was re-equipped with GAF Canberras, which it later operated from RAAF Butterworth during the Malayan Emergency, after deploying there in 1958 to relieve the Lincoln-equipped No. 1 Squadron RAAF. During the emergency, the squadron undertook airstrikes against communist forces and after the conflict ended, it remained in Malaysia throughout the early 1960s during Confrontation, before despatching eight Canberras to South Vietnam in April 1967 as part of Australia's commitment to the Vietnam War.