A goat dangling precariously from an overhead cable by its horns was rescued by a group of men along a remote road in Greece.

In a first unsuccessful attempt, the men used a ladder to hook onto the goat and tried to shimmy the animal back towards trees.

Those leafy trees near the small town of Sykourio is where Dr Sandra Baxendell, a goat-only veterinarian, suspected it all began.

"It looks like the goat got into a tree to eat some leaves and became attached to the wire that way," she said.

"Or someone put it up there, but it's unlikely.

"Goats are known for getting up trees."

In a second rescue attempt, the men tied rope to the goat's feet, before pulling the goat along the cable to safety.

Before too long, the goat was able to go on its way.

Sorry, this video has expired Watch the men rescue the hanging goat (Footage courtesy Facebook/Giannis Goulas)

Dr Baxenwell said the men did a good job of rescuing what appeared to be a Damascus goat, and it was unlikely the goat was hurt, as it "wandered off pretty happily".

"The horns are pretty strong, although it's never advisable to handle a goat by horns — they can break," she said.