A teenage boy has faced court in Dubbo after being charged with alleged firearm possession and a breach of bail conditions, according to NSW Police.

Police said officers from the Orana Mid-Western Police District were involved in the incident in East Dubbo. The matter resulted in the teenager being arrested and subsequently appearing before a children's court.

The incident has raised concerns about young people becoming involved in serious offences involving weapons and highlights the challenges faced by police and the community in preventing youth crime.

According to police, the boy was allegedly in possession of an unregistered firearm or replica firearm. Officers responded to the situation and arrested the teenager after an initial attempt to evade police. The circumstances surrounding the alleged possession remain part of the investigation and court proceedings.

The teenager was also charged with an alleged breach of bail. Bail conditions are imposed by courts to manage risks while a person is awaiting further proceedings, and alleged breaches can result in additional legal action.

Following the arrest, the boy appeared before a children's court in Dubbo. Police sought to have him refused bail, and the court proceedings will determine the next steps in the matter.

Because the accused is a young person, authorities have not publicly identified him. The allegations remain allegations and have not been proven in court.

The case comes amid continued attention on community safety and youth offending across regional New South Wales. Police and local communities face the difficult task of addressing serious behaviour involving young people while also ensuring that appropriate legal and support processes are followed.

Firearm-related incidents are treated seriously by NSW authorities because of the potential risks to members of the public. Police routinely encourage people who have information about weapons or suspected criminal activity to report it so that appropriate action can be taken.

For the Dubbo community, the case is likely to renew discussion about youth crime, bail conditions, access to weapons and the role of families, schools, community organisations and law-enforcement agencies in preventing young people from becoming involved in serious offending.

The court process will now determine how the matter progresses. Further hearings may provide additional information about the allegations and the evidence presented by police.

NSW Police have confirmed the charges and court appearance, while the allegations against the teenager remain before the court.