In 1989, Harris became a lawyer after studying at Hastings College of Law at the University of California. She worked in the office of the District Attorney of Alameda in 1990. In 1998, Harris left to work for the District Attorney’s office in San Francisco. In 2003, Harris became the District Attorney of San Francisco.