RTHK said a detailed document was issued to staff setting out its editorial responsibilities, policies and procedures. It follows criticism in a government review in February.
The broadcaster reported the document, issued by management, stressed that RTHK programmes must not provoke or deepen hatred, discrimination or hostility towards the Beijing or Hong Kong governments.
It states that "under no circumstances should our programmes provide a platform to encourage, incite, promote, glorify, endorse or sympathise with any act or activity endangering national security or otherwise contain any contents which are contrary to the interests of national security."
Staff that did not comply risked disciplinary action.
RTHK said in an emailed response to Reuters the "document seeks to assist RTHK staff and its service providers to acquire a thorough and comprehensive understanding of RTHK's editorial policies and guiding principles".
China imposed a sweeping national security law on Hong Kong last year that critics say has been used to crush dissent in the city, an accusation authorities in Beijing and Hong Kong reject.
Since that law took force, authorities have arrested and jailed activists, seized assets of democracy campaigners, detained newspaper editors, banned books and protest slogans and also censored films.
'ONE COUNTRY, TWO SYSTEMS'
Hong Kong returned to Chinese rule in 1997 under a "one country, two systems" agreement that promised it wide-ranging freedoms unavailable on the Communist Party-ruled mainland.
Protests that roiled the city in 2019 were fuelled by perceptions that Beijing was tightening its grip on those freedoms, which authorities have denied.
RTHK's role has come under increased scrutiny as the government implements its national security law.
The document "would enable RTHK to better fulfil its public purposes and mission as a public service broadcaster, and its responsibilities as a government department", a press release on RTHK's website said.
"RTHK is editorially independent under the Charter. This point is reaffirmed in the document.. However, editorial autonomy also involves responsibility," the press release said.
RTHK quoted Kitty Choi, an adviser to the director of broadcasting, saying that staff could continue to interview people who were critical of the government.
The document also reminds staff to avoid contacts with foreign governments or political organisations to prevent conflict with their official duties.
They must also be cautious in their use of social media.
Some staff expressed confusion and concern to Reuters. "I'm not sure that I will be able to produce any more programmes that aren't directly in line with the government's stance," one staff member said.
The memo follows several recent moves by the government to overhaul the broadcaster, with a review in February finding deficiencies in its editorial management and a lack of transparency in handling complaints.
A senior civil servant, Patrick Li, was appointed as director of broadcasting in March.
(Additional reporting by Jessie Pang; Editing by Anne Marie Roantree and Alex Richardson) ((firstname.lastname@example.org; 852 6749 4661;))