Foreign Secretary Liz Truss has warned Russia it will face "severe economic consequences" if it invades Ukraine.
She said G7 foreign ministers meeting in Liverpool this weekend would put on a show of unity and make clear such a move would be a "strategic mistake".
Ms Truss said the UK and its allies had to "deter Russia from taking that course of action".
Tensions are growing as Moscow amasses troops on Ukraine's border - but the Kremlin has denied it plans to invade.
Reiterating previous warnings from the US and its allies, Ms Truss said the G7 "are going to absolutely be strong in our stance against aggression... with respect to Ukraine".
She added: "If Russia were to take that action, it would be a strategic mistake, and there will be severe consequences for Russia.
"And what we're doing this weekend is working with like-minded allies to spell that out."
Ukraine shares borders with both the EU and Russia, but as a former Soviet republic it has deep social and cultural ties with Russia.
However, Russia has accused Ukraine of provocation, and sought guarantees against eastward Nato expansion and deployment of weapons close to its border.
Ahead of the G7 meeting, Ms Truss held talks with Ukrainian foreign minister Dmytro Kuleba in London.
Asked if she could rule out a military response to Russian aggression, Ms Truss said the UK was working with Ukraine on "defence and security capability".
"We are providing them with support," she said. "We are also working to help them with their energy resilience. So they're not solely dependent on Russian energy supplies. And that is the way ultimately that we will help support Ukraine."
Ms Truss said the UK and EU were trying to ensure Western economies were less dependent on Russian energy.
The foreign secretary said the Nord Stream 2 gas pipeline between Germany and Russia would be "a problem" if Russia invaded Ukraine.
It would be an issue to discuss with her new German counterpart at the G7 talks.
Ms Truss said: "We absolutely need to reduce dependence on Russian gas and energy. And this should be part of an overall strategy of reducing dependence on non market economies, reducing dependence on malign actors, and making sure that the free world is able to have that strategic independence it needs to survive and thrive."
US President Joe Biden and Russian President Vladimir Putin on Tuesday held a virtual summit aimed at reducing tensions in the region.
Mr Biden said he had made it clear to Mr Putin that there would be "economic consequences like none he's ever seen" if he invaded Ukraine.
Additional reporting by Alex Kleiderman
Latest Stories
-
We may all resort to vote buying if electorates prioritise such over development – Asiedu Nketiah
35 mins -
NDF engages mineral extraction communities in advocacy and litigation resolution
39 mins -
Adabraka community in A/R unites to combat electoral violence
46 mins -
Forestry Commission cracks down on endangered bush meat trade
47 mins -
Global GDP could plunge by 24% by 2,100 without urgent climate action
48 mins -
High Court dismisses lecturer’s bid to block Deputy IGP’s appointment
56 mins -
MTN records 35.5% growth in profit to GH¢3.76bn in quarter 3, 2024
1 hour -
Deloitte to hold training on navigating customs and excise duty Obligations
1 hour -
Akufo-Addo, Bawumia should have prioritised National Peace Campaign launch – Mahama
1 hour -
AGI works to clamp down on substandard foreign mattresses penetrating Ghanaian markets
1 hour -
Immigration Service intercepts 54 gallons of fuel
1 hour -
Ace Medical Insurance makes its mark at Ghana Club 100 Awards
1 hour -
Dafeamekpor takes Speaker to High Court to affirm vacant seats ruling
2 hours -
Government is not funding GMX music streaming platform – Director of Marketing
2 hours -
Energy sector not advancing enough – ACEP
2 hours