An asteroid purportedly the size of a 10-storey building will pass by the Earth at half the distance to the Moon, Nasa has warned.

Asteroid 2019 GC6 will pass within roughly 136,000 miles of Earth on Thursday, safely avoiding a devastating collision.

Nasa warned the orbital trajectory of the asteroid means it may still pose a risk in the future, with estimations suggesting it could be anywhere between 7.5 metres and 30 metres in length.

Shortly after it was discovered on 9 April by astronomers at the Catalina Sky Survey in Arizona, scientists at Nasa’s Jet Propulsion Laboratory in California placed it on a list of asteroids that risk colliding with Earth in the next 100 years.

It is difficult to accurately predict its exact path but it is set to pass close to the Earth again in 2034, 2041 and 2048.

The most incredible space images of Earth Show all 30 1 /30 The most incredible space images of Earth The most incredible space images of Earth Striking Africa Explore ESA astronaut Tim Peake's stunning photos of Earth, taken from the International Space Station during his six month mission (captions by Tom Peake) "The striking colour and texture of Africa Illizi, Algeria" The most incredible space images of Earth Favourite Reef "Every day spent living in space is a great day, but today was particularly special. I got to speak with one of my inspirational heroes Prof Stephen Hawking and his amazing daughter Lucy, who developed the Principia Space Diary to engage children with STEM subjects. As well as talking about dark matter, quantum entanglement, alien life and light beam powered nanocraft we also got to see an amazing pass over the Bahamas and this - my favourite reef smile emoticon" The most incredible space images of Earth Russia's north-east coast "Sunrise approaching Russia's frozen north-east coast" The most incredible space images of Earth Hello London "Hello London! Fancy a run? :) #LondonMarathon" The most incredible space images of Earth Bahamas "50 shades of blue: Bahamas" The most incredible space images of Earth Yinchuan "Snow on the mountains next to Yinchuan in China" The most incredible space images of Earth Rocket flames in Africa "Is it just me or do I see some rocket flames down there? These strange land features are in the Erg Iguidi desert, with its yellow stripes of sand stretching from Algeria to northern Mauritania in the Sahara" The most incredible space images of Earth Stunning colours "Sunlight reflecting the stunning colours of this Himalayan lake" The most incredible space images of Earth The real Everest "The real thing: found Everest! Last picture turned out to be third-tallest mountain Kanchengjunga" The most incredible space images of Earth Go Exomars "Go #Exomars – have a great mission. Earth has more in common with Mars than you might think… #AfricaArt" The most incredible space images of Earth Tenerife "Amazingly clear view of Tenerife" The most incredible space images of Earth Midday winter sun "Some midday winter sun glinting off Greenland’s snow-capped peaks" The most incredible space images of Earth Sand dunes "Great texture in these huge sand dunes, Saudi Arabia" The most incredible space images of Earth Dragon Dam "The dam makes this river look like a dragon’s tail. Oahe Dam north of Pierre, South Dakota in the United States. (North is to the right)" The most incredible space images of Earth Smoking volcano "Spotted volcano smoking away on Russia’s far east coast this morning – heat has melted snow around top" The most incredible space images of Earth New Zealand "New Zealand looking stunning in the sunshine. Mt Cook centre left with the Grand Plateau to the front and Mt Tasman (3,497m) to the right of the Grand Plateau. Fox Glacier in the middle then Franz Josef curving right. Tasman Lake (largest at front) is at the foot of the Tasman glacier which runs along the front of them. The Hooker Glacier flows out behind Mt Cook coming down to meet the Mueller Glacier on the left of the photo. The Murchison Glacier is at the front of the photo running parallel with the Tasman Glacier" The most incredible space images of Earth Plankton bloom "Another great pass over Patagonia and a swirling plankton bloom off the coast" The most incredible space images of Earth Alaska "We don’t often get such clear views of Alaska" The most incredible space images of Earth Lights along the Nile "Lights along the Nile stretching into the distance from Cairo" The most incredible space images of Earth Kamchatka "The Pacific ‘Ring of Fire’ clear to see amongst the volcanoes of Kamchatka, Russia" The most incredible space images of Earth Cumulonimbus "I’m guessing there was an impressive storm going on under that cumulonimbus cloud" The most incredible space images of Earth Night Sahara "Night-time Sahara – you can really see how thin the Earth’s atmosphere is in this picture" The most incredible space images of Earth Japan "Tokyo and Japanese coast. This image shows most of Japan with the largest mass of light corresponding to Tokyo. The white lights on the left are fishing boats" The most incredible space images of Earth Morning sun volcanoes "Morning sun striking active volcanoes in Guatemala" The most incredible space images of Earth Tapajos River "The vast waters of the Tapajos river, Amazonia" The most incredible space images of Earth Patagonia "Beautiful glacial river water flowing from this Patagonian ice field Lake Viedma, West is up" The most incredible space images of Earth Dubai Palms "Minus the #Dragon photobomb this time..." The most incredible space images of Earth Sediment in Ethiopia "Sediment spilling into this mountain lake, Ethiopia" The most incredible space images of Earth Italy "We have phases of ‘short nights’ on the International Space Station – sunlight is nearly always visible right now. No prizes for guessing where this is…" The most incredible space images of Earth Panama Canal "From one mighty ocean to another – ships passing through the Panama canal"

It is not uncommon for rogue space debris to collide with Earth, with tons of cosmic material passing through the atmosphere every day.

The vast majority burns up before it reaches the ground, but every decade or so a larger asteroid collides with Earth.

In 2013, an asteroid 20m in diameter entered the Earth’s atmosphere over the city of Chelyabinsk in Russia, causing a massive explosion.

A subsequent study calculated it released more than 30 times the explosive energy of the Hiroshima bomb, contributing to more than 1,500 people in the local area seeking medical treatment.

“If humanity does not want to go the way of the dinosaurs, we need to study an event like this in detail,” Professor Qing-Zhu Yin of the University of California said at the time.

“Chelyabinsk serves as a unique calibration point for high-energy meteorite impact events for our future studies.”

But due to their relatively tiny size, asteroids are notoriously difficult to spot and often go undetected until a few days before they are due to pass or collide with Earth.

The impact site of the main mass of the Chelyabinsk meteorite in the ice of Lake Chebarkul (PA)

Astronomers at the Jet Propulsion Laboratory recently described it as like spotting a lump of coal in the night’s sky.

“Near-Earth objects [NEOs] are intrinsically faint because they are mostly really small and far away from us in space. Add to this the fact that some of them are as dark as printer toner, and trying to spot them against the black of space is very hard,” said Amy Mainzer, principal investigator of Nasa’s asteroid-hunting mission at the lab.