Campaigners who are marching to London in protest against cuts and privatisation of the NHS were stopped from entering the grounds of Pinderfields Hospital.
Hundreds of people joined the People’s March for the NHS which arrived at the hospital on Saturday.
But hospital bosses stopped them from marching through the hospital grounds saying that the public would not be able to access the hospital.
The 300-mile march was set up by campaigners who fear that the government NHS reforms will see the health service privatised.
They are following the route taken by the 1936 Jarow Crusade against poverty and unemployment in the North East of England.
Dave Coates, Wakefield Keep Our NHS Public chairman, who was at the rally, said: “The march went extremely well. We are certainly getting our message across.”
Kevin Oxley, director of operations for clinical support and facilities at Mid Yorkshire, said: “We regret we were unable to grant permission for the ‘People’s March For The NHS’ to visit our site.
“Our priority must be patients and patient care and we can’t allow anything that compromises this.
“We have no problem with people gathering within the vicinity of the grounds but we have to guarantee public access to our services.”