The blunder was spotted by a local builder who complained to Kirklees council.
Road workers failed to notice the the manure while using a machine to lay down a white line on Hopton Lane, in Upper Hopton, Mirfield.
Kirklees Council said the section of road would now be repainted.
Local resident Shaun Maddox, who runs his own construction business, told the Huddersfield Daily Examiner: “It’s a waste of council taxpayers’ money and I couldn’t let it go unnoticed.
“I reported it to the council and they apologised, blaming contractors, and said that they were investigating.
“If no-one had flagged this up someone would have got away with shoddy workmanship and someone gets paid for a bad job.
“If any of my lads had done that they would be sacked.
“This is how contracts are lost and people are put out of work.”
A spokesman for Kirklees Council said: “The machine used by the contractors is a large one and the manure wasn’t spotted in time. This bit of road will be re-lined.”