Mr. Trump, who criticized the recount effort despite his own baseless claims that “millions” had voted illegally, took to Twitter to celebrate the results, pointing out that he had gained votes in Wisconsin. “The Dems and Green Party can now relax,” he said, calling the effort a “scam.”

While the effort had no impact on the outcome of the presidential race, critics said, it highlighted a number of concerns about the election system and recount procedures, including arcane rules, conflicting court opinions and hefty costs.

“The recount has shone a light on that mess, and has really lifted up the call for a voting system we can trust,” Ms. Stein said.

In Michigan, a recount was underway for three days until it was halted last week after court rulings. But questions over the election there are not over.

Officials from the Michigan secretary of state’s office have announced that they will pursue an audit of the vote in 20 precincts in Detroit after the recount turned up inconsistencies. By some estimates, a third of the city’s precincts were deemed not “recountable” because the number of voters recorded on Election Day did not match the number of ballots stored in containers in case of a recount.