Cooley, a Republican, had 3,875,037 votes, 46.1 percent, to 3,831,825 for Harris, a Democrat, 45.5 percent, for a 43,212-vote lead, according to an updated count of vote by mail, provisional and damaged ballots released by the Secretary of State's Office.
Cooley began the day leading by 40,958 votes. His lead had shrunk to 19,189 votes Monday morning.
When polls closed last Tuesday, Cooley declared victory, but by early Wednesday, Harris led by nearly 15,000 votes. However, with thousands of ballots remaining to be counted, the race was too close to call.
Under state law, county registrars of voters must complete the vote counting by Nov. 30 and provide their counts to the Secretary of State's Office by Dec. 3.