A small earthquake has been recorded in South Wales, about eight miles north of the Rhondda Valley, just before midnight.

Matt O’Shea, from the Blaenau Gwent area, told Sky News his “whole house shook for about five seconds”.

Twitter user @Loz_Coult94 posted: “Thought someone was breaking into my house, no… just an earthquake IN WALES!?”

Others on social media described objects such as bookshelves and desks shaking.

“I’m in rhymney and felt the house shake, looked online to see if anyone else did.. and it was an earthquake in South Wales. I think I need a change of trousers,” tweeted @KrissOttley.

The 11.59pm tremor was 3.8 magnitude and occurred at a depth of two kilometres, according to the European-Mediterranean Seismological Centre (EMSC).

Google’s Android Earthquake Alert System said it was 4.2 magnitude. The British Geological Survey has not yet issued any information.