The 1950s in Hong Kong began against a backdrop of the resumption of British sovereignty after the Japanese occupation of Hong Kong ended in 1945, and the renewal of the Nationalist-Communist Civil War in mainland China. It prompted a large influx of refugees from the mainland, causing a huge population surge: from 1945 to 1951, the population grew from 600,000 to 2.1 million. The government struggled to accommodate these immigrants. Unrest in China also prompted businesses to relocate their assets and capital from Shanghai to Hong Kong. Together with the cheap labour of the immigrants, the seeds of Hong Kong's economic miracle in the second half of the 20th century were sown.
As the Communists drew near to a victory in early 1949, there were fears that Hong Kong was going to be invaded by the Communists. The British Government was determined to keep Hong Kong as a capitalist outpost within a communist sphere of influence, though the memories of the Berlin Blockade and the perceived antagonism of communist governments was still fresh in their mind. The garrison was reinforced and plans of emergency evacuation to Australia were made. However, the People's Liberation Army were ordered to stop advancing at the Shenzhen-Hong Kong border, and Hong Kong remained a British colony.
Hong Kong was a valuable trade centre at the mouth of China, and hoped that by retaining this connection doing business with the new government in Beijing would be easier. To give up Hong Kong to the Communists without a fight would be seen as a national weakness in the face of the growing communist threat in Europe and Asia, especially the Emergency in Malaya. Debates did take place during the 1950s at the British Parliament in Westminster in which it was discussed that Hong Kong would have to be handed back to China if the colony's entrepôt trade could not be maintained. The people were outraged at any suggestion of this, so the Government of Hong Kong became committed to turning Hong Kong into a manufacturing centre.