The 57-year-old Anderson took office as District Attorney in January of this year after defeating incumbent Pat Lycos last May in the Republican primaries, and Democrat Lloyd Wayne Oliver in November.
He announced he had cancer in May.
Anderson was a former judge and prosecutor.
"My prayers are with the family of Mike Anderson today. He was a well respected public servant. His death is a loss to Harris County."
—Houston Mayor Annise Parker