It was the Shaw Lane team's first win in four games and the hosts took the initiative from the off. First half tries from Will Smith and Paddy Jensen gave them a 10-0 lead at the break.
Their lead was added to in the second with both Greg Colbridge and Jack Iles going over.
A late rally from the visitors ensured they got some points on the board but Barnsley deserved the win in difficult conditions.
Full report and pictures in Friday's Chronicle.