Shabana Mahmood looks set to become incoming prime minister Andy Burnham’s chancellor. As Britain’s home secretary, she has built a reputation for being tough on letting people into the country. At the Treasury, one of her main tasks will be to stop businesses from leaving it.

This year some of the UK’s best-known brands have been swooped on by overseas buyers. In June, Tate & Lyle, one of the longest-standing members of the London Stock Exchange, shook hands on a deal to be bought by American rival Ingredion. Last week, low-cost airline easyJet accepted an acquisition offer from investment firm Apollo. Global tycoons also continue to circle the UK’s telecoms industry. And this week a raft of specialist UK-listed companies, including manufacturer Rotork and energy group DCC, agreed takeovers or received offers. Altogether, the first half of this year has been the strongest for sales of UK companies to international buyers in decades.

Investors acquiring valuable enterprises with promising business lines at attractive prices is how open and globalised capital markets work. But, viewed as part of the long-running transfer of British companies into foreign ownership, this year’s high-profile sales also reflect a self-reinforcing cycle of pessimism in UK boardrooms. As more big names move abroad, the negative vibes around listing and growing enterprises in the country persist and keep valuations depressed.

The outflow would be less concerning if businesses, particularly in new growth sectors, were listing in the country and attracting capital. Yet so far this year the value of takeover bids for companies on the LSE is 27 times greater than the value of new listings. UK initial public offerings have slumped over the past two decades.

The buying power of US investors and the allure of America’s business ecosystems are part of the challenge. Yet, by global standards, Britain is not an unattractive place to do business. It has the third-largest venture capital ecosystem outside the US and China. Last year, the UK was Europe’s top destination for financial and professional services foreign direct investment. Talent in world-class universities and a brimming tech and life sciences sector are another draw.

Boosting sentiment around the UK economy would help unlock these strengths and support London listings. That begins with a stable, pro-business government. Since the Brexit referendum in 2016, political and policy uncertainty has undermined valuations and investment plans. Burnham and Mahmood, if she does become chancellor, must avoid lingering rumours around higher taxes and adding to existing regulatory burdens. Bond markets reacted with relief over reports that Britain’s new chancellor may not be from the left of the Labour Party. Still, Burnham’s caution towards the tech sector and little clarity over Mahmood’s agenda cloud the growth outlook.

Reforms can act as a catalyst. Efforts to ease listing rules and consolidate and free up pension pots should be built upon to boost the capital available for UK scale-ups. Pension funds have dramatically shifted their portfolios away from UK equities over the past decade, sapping domestic liquidity in the process. Mandating more investment in Britain would undermine the fiduciary duties of trustees, but extra incentives for funds investing in UK assets can play a role. Other stimulus options include slashing the uncompetitive 0.5 per cent stamp duty reserve tax on the purchase of shares in UK companies and making more IPO expenses tax deductible.

Still, no single tax tweak or regulatory adjustment is a magic wand. A lot relies on the confidence and clarity boardrooms and investors are given by policymakers. Too often, negativity and uncertainty obscure the UK’s considerable strengths. Change the narrative and provide more incentives for reluctant capital, and more companies will choose to grow, invest and list in Britain.