Voters in Iceland have overwhelmingly rejected proposals to pay the UK and the Netherlands in the wake of collapse of the Icesave bank.
With a third of results counted, 93% of voters said "No" in a referendum.
The British and Dutch governments want reimbursement for the 3.8bn euros (£3.4bn; $5.2bn) they paid out in compensation to customers in 2008.
Speaking to the BBC, Chancellor Alistair Darling said the UK would get its money back, if not for many years.
"It's not a matter of whether the sum should be paid. There is no question we will get the money back but what I am prepared to do is to talk to Iceland about the terms and conditions of the repayment," he told the BBC's Politics Show.
Asked about how long it would take for the UK to be repaid, Mr Darling said it would take "many, many years".
The referendum followed the breakdown of talks on Friday between Iceland, the UK and the Netherlands.
Prime Minister Johanna Sigurdardottir refused to vote in Saturday's poll and said her government was seeking to continue the negotiations.
The government had hoped to avoid the vote by agreeing a new repayment plan before the weekend.
Icelandic voter: "I voted no of course"
Ossur Skarphethinsson told Reuters news agency he expected a new Icesave deal "in the next weeks, perhaps sooner".
Britain and the Netherlands want the money as repayment for bailing out customers in the Icesave online bank, which folded in 2008 due to the global financial meltdown.
President Grimsson rejected suggestions the vote was meaningless.
"It's not a pointless exercise because the referendum, according to our constitution, is on whether the deal which the British and the Dutch insisted on at the end of last year, should remain in force as a law in this country," he told the BBC.
The rage and the feeling of unfairness here is overwhelming
"It is encouraging that in the last few weeks the British and the Dutch have acknowledged that that deal, on which the referendum takes place, is an unfair deal and that is by itself a tremendous achievement by the referendum... we will be able to continue the negotiations."
Many Icelanders believe the plan should be rejected because they feel they are being penalised for the mistakes of the banking industry.
"I will vote 'No' simply because I disagree very strongly with us... having to shoulder this burden," Ingimar Gudmundsson, a lorry driver, told AFP news agency.
"We want to pay our debts but we want to do it without going bankrupt," Steinunn Ragnarsdottir, a pianist who voted in Reykjavik City Hall, told Reuters.
There is also anger against the UK for using anti-terrorist legislation to freeze Icesave assets in the country.
Some 230,000 Icelanders were eligible to vote on Saturday
Arni Gunnarsson, a former Icelandic MP, told the BBC News website: "We have not forgotten how Britain used battleships against Iceland during the cod wars.
"We find this a very strange method of thanking the Icelandic people for sacrificing the lives of their seamen during World War II.
"The colonial attitude is still going strong. The UK should come to its senses."
The Reykjavik government approved the repayment plan last December but it was blocked by President Grimsson in January, which led to the referendum being called.
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.