The filming by NBC Universal will cause intermittent traffic stoppages at the intersection of Broadway and 21st Street from 7 a.m. to 5 p.m. on Tuesday and Wednesday.
In addition, 21st Street will be closed to through traffic on both days so that a helicopter, SWAT team van, ambulance and other emergency vehicles can be brought in.
The episode, titled "Tunnel Vision," is being filmed in cooperation with the Oakland Film Office and the Oakland Police Department. The Oakland Fire Department, the California Highway Patrol and other emergency service departments for the city of Oakland have been notified in advance.
As part of the filming, there will be a few actors on rooftops with simulated firearms in the area of Broadway and 21st Street.
Authorities advise people in the area not to call 911 to report the activity.
Filming will continue on Thursday inside a closed bank at Broadway and 21st Street but officials say there won't be a heavy simulated law enforcement presence on that day.
Darnell Martin, who has directed episodes of "Law and Order," "Grey's Anatomy" and other programs, will direct the episode.
The cast includes Derek Luke, Cliff Curtis, Anastasia Griffith, Aimee Garcia, Kevin Rankin and Jamey Sheridan.