How Tech Helped San Francisco Clear 9,300 Marijuana Convictions

The DA's office teamed up with Code for America to create an algorithm to quickly scan every pot case going back to 1975.

In this April 20, 2018 file photo, a marijuana plant is seen on Hippie Hill in San Francisco. (AP Photo/Josh Edelson, File)

This is your first of three free stories this month. Become a free or sustaining member to read unlimited articles, webinars and ebooks.

Become A Member

San Francisco will expunge nearly 10,000 marijuana-related convictions that go back decades, the Los Angeles Times reports.

The move comes after the city spent a year reviewing past convictions after the state of California legalized marijuana in 2016, NPR says.

“It was the morally right thing to do,” San Francisco Dist. Atty. George Gascón told the LA Times. “If you have a felony conviction, you are automatically excluded in so many ways from participating in your community.”

Pot convictions can make it harder to find a job, get an education or rent an apartment, Gascón said.

Gascón said his office would expunge a total of 9,362 felony and misdemeanor cases, including 1,230 the office had already cleared. (Some felonies will be reclassified as misdemeanors, others will be dropped completely, The Hill reported.) That’s a lot faster than doing it the old, manual way, in which people had to petition the city. Only 23 people had done that last year, NPR reported.

The LA Times reports that nonprofit Code for America joined forces with the San Francisco DA’s office to create an algorithm that scanned through all digitized criminal records going back to 1975, then automatically filled out the forms that need to be sent to the court. That sped up the process even more.

Gascón told The Hill that his office will soon present the eligible cases to a judge to be approved.

Not everyone is pleased. “To simply embark on an across-the-board expungement of 9,300 without looking at any of the surrounding factors on any of those cases strikes us as cavalier irresponsibility,” John Lovell, legislative counsel to the California Narcotic Officers’ Assn, which lobbies on behalf of police officers who enforce drug laws, told the Times.

Gascón disagrees. “This isn’t a political thing. This is about dignity. People pay their debt to society. People pay the consequences for something we no longer consider a crime,” he said. “They should not be jumping through hoops for this. They should just get it.”

The office added that though San Francisco is just 5 percent black, black San Franciscans had a third of all marijuana-related convictions. Similarly, Latinos make up 15 percent of the city but saw 27 percent of all marijuana convictions. Research shows that blacks and whites use marijuana at roughly the same rates.

Gascón says he hopes San Francisco’s experience can encourage other municipalities to take Code for America’s approach statewide, and indeed Code for America hopes to clear 250,000 convictions across California by the end of the year. Similarly, Gascón told the San Francisco Chronicle that he wants to use Code for America’s algorithm to find other cases that might be eligible for expungement or reclassification. For example, Prop 47 reduced certain felonies to misdemeanors, but much as with marijuana-related convictions, few people have petitioned to have their cases changed.

“What we have shown with marijuana is that this can be done en masse,” Gascón told the Chronicle. “You can just go through the criminal records of thousands of people and provide the relief that they qualify for without having to have a lot of human resources invested in it.”

Code for America’s approach might have come just in time: A state law passed in 2018 requires that all marijuana cases in the state be reviewed by July 1, 2020.

Rachel Kaufman is Next City's senior editor, responsible for our daily journalism. She was a longtime Next City freelance writer and editor before coming on staff full-time. She has covered transportation, sustainability, science and tech. Her writing has appeared in Inc., National Geographic News, Scientific American and other outlets.

Follow Rachel .(JavaScript must be enabled to view this email address)

Tags: san franciscocaliforniamarijuana

Next City App Never Miss A StoryDownload our app ×

You've reached your monthly limit of three free stories.

This is not a paywall. Become a free or sustaining member to continue reading.

  • Read unlimited stories each month
  • Our email newsletter
  • Webinars and ebooks in one click
  • Our Solutions of the Year magazine
  • Support solutions journalism and preserve access to all readers who work to liberate cities
  • Johnny at $5/Month
  • Derek at $5/Month
  • John at $5/Month

Already a member? Log in here. U.S. donations are tax-deductible minus the value of thank-you gifts. Questions? Learn more about our membership options.

or pay by credit card:

All members are automatically signed-up to our email newsletter. You can unsubscribe with one-click at any time.

  • Donate $10 or $5/Month

    Next City notebook

  • Donate $20 or $5/Month

    The 21 Best Solutions of 2021 special edition magazine

  • Donate $40 or $10/Month

    Brave New Home by Diana Lind

  • Donate $100 or $10/Month

    Four surprise books from our collection.