The Premier's chief of staff was forced to "read the riot act" to several Young Liberal government staffers amid accusations of bullying on social media as part of a factional war.

The Herald has been told by sources that Gladys Berejiklian's most senior staff member, Sarah Cruikshank, called in several staff members from ministerial offices to issue the warning.

NSW Premier Gladys Berejiklian is keen to avoid Young Liberals playing out any factional wars. Credit:Alex Ellinghausen

All the staff members involved are members of the Young Liberals, the Herald understands.

"She read them the riot act and warned them that if there is any of this bullying nonsense again, they will be out," a senior Liberal source told the Herald.