A Western Cape schoolboy is in intensive care after being hit on the head with a shoe inside a pillowcase, allegedly by another pupil, it was reported on Friday.

The Cape Times reported that York High School Grade Eight pupil Andrew Searle, 14, had been in a George hospital since Tuesday night.

His father Sean Searle said a group of boys apparently entered the school's dormitory, where his son was sleeping, and hit him once on the leg and on the side of the head.

"It is what they call a dormitory raid. It was not sanctioned by the school," Searle said.

"About an hour later, he experienced severe head pains and asked his friends to call the housemaster."

The teenager was rushed to a nearby hospital, where a neurosurgeon discovered he had bleeding on the brain. The blood was drained and the boy was sedated.

Education MEC Donald Grant's spokesperson Bronagh Casey told the newspaper "horseplay" among Grade Eight, Nine and 10 pupils had got out of hand, and that some children had been suspended from the hostel, but not the school.

She said the governing body would look at taking further action.