BAKERSFIELD, Calif. (KBAK/KBFX) — As children head out for Halloween trick-or-treating, law enforcement agencies across California, including the Bakersfield Police Department, are stepping up efforts to keep kids safe through Operation Boo.

The public safety initiative is designed to protect trick-or-treaters from sex offenders by enforcing special Halloween restrictions on registered sex offenders on parole who have conditions related to minors.

“It is a known operation that makes sure those sex offenders who are not inviting the Halloween festivities into their home. They cannot participate in Halloween,” said Detective Michael Broida of the Bakersfield Police Department’s Special Victims Unit.

Under Operation Boo, those offenders are not allowed to decorate their homes, give out candy or answer the door for anyone except law enforcement or adult family members, unless there is an emergency. Officers conduct unannounced home visits and compliance checks.

“There’s kids going door to door to strangers houses. They’re told their whole lives to not go to strangers houses and not knock on the door. That’s what makes Halloween so unique, but it’s also high risk if it’s not being kept a close eye on,” Broida said.

Sex offenders covered under Operation Boo are not allowed to leave their homes from 5 p.m. on Oct. 31 to 5 a.m. on Nov. 1. Even with those restrictions in place, Broida urged parents to keep tabs on their kids.