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
-
Center for Learning and Childhood Development Director Dr Kwame Sakyi honoured at Ghana Philanthropy Awards
3 hours -
Asantehene receives 28 looted artefacts
4 hours -
CAF WCL 2024: Ghana’s Thelma Baffour wins title with TP Mazembe
5 hours -
Benjamin Boakye slams politicisation of energy sector issues and ECG’s inefficiencies
5 hours -
Erastus Asare Donkor and Dr Neta Parsram win big at 10th Mining Industry Awards
6 hours -
Government is “suppressing information” about power sector challenges – IES Director
6 hours -
Majority of our debts caused by forex shortfall – ECG Boss
6 hours -
Pan-African Savings and Loans supports Ghana Blind Union with boreholes
7 hours -
Bole-Bamboi MP Yussif Sulemana donates to artisans and Bole SHS
7 hours -
Top up your credit to avoid potential disruption – ECG to Nuri meter customers
7 hours -
Dutch & Co wins 2024 Entrepreneur of the Year Award
7 hours -
We’ll cut down imports and boost consumption of local rice and other products – Mahama
10 hours -
Prof Opoku-Agyemang donates to Tamale orphanage to mark her birthday
11 hours -
Don’t call re-painted old schools brand new infrastructure – Prof Opoku-Agyemang tells gov’t
11 hours -
Sunon Asogli plant will be back on stream in a few weeks – ECG
11 hours