Solomon Islands and Australia have signed a treaty affirming there will be no foreign military base in the Pacific nation in a deal seen as a blow to China’s ambitions in the region.

Matthew Wale, the prime minister, and 15 of his ministers visited Canberra for talks spanning security, infrastructure, education and health.

“Solomon Islands has been for a number of years a source of uncertainty and doubt in the region,” Mr Wale told journalists on Wednesday alongside Anthony Albanese, his Australian counterpart.

“Those days are gone.”

The treaty cements Australia as the island nation’s “primary security partner” and commits Au$740m (£370m) over a decade to fund free education and other programmes in the country.

It affirms the “sovereign decision” by the Solomon Islands that there will be no foreign military or security base on its soil.

The Solomons’ “sensitive” infrastructure will also “remain free from militarisation, foreign interference and unauthorised access”.

The treaty text shows this covers airports, ports, energy and telecommunications – where China has built infrastructure under million-dollar loans since the country switched ties from Taiwan in 2019 – but the clause will not be applied retrospectively.

The Solomon Islands will also be required to consult with Australia before making deals with other countries on critical infrastructure or security cooperation outside the Pacific Islands Forum regional bloc, Mr Albanese said.

He praised the deal as a “new chapter in our partnership to strengthen our shared prosperity and our security”.