LANSING, Mich. — President-elect Donald J. Trump and his allies have filed separate legal challenges in Michigan, Pennsylvania and Wisconsin in a suddenly robust effort to stop the presidential election recount efforts there.

None of the challenges immediately derailed the recounts in those states, but they promised to complicate them with more legal wrangling by Mr. Trump, groups supportive of him, state officials and Jill Stein, the Green Party presidential candidate. Ms. Stein initiated the recounts and a successful fund-raising drive after suggesting that voting machines were susceptible to hacking.

On Friday, Mr. Trump filed a lawsuit in the Michigan Court of Appeals in an attempt to block the recount there, which had not yet begun. “If the Bureau of Elections moves forward with the recount, it will waste the State’s scarce resources, create a logistical nightmare for counties across the State, and assure that Michigan’s Electoral College voters will not be counted,” the filing said.

Bill Schuette, Michigan’s attorney general, filed a separate lawsuit in a bid to halt the recount, saying that it put the state’s voters at risk of “paying millions and potentially losing their voice in the Electoral College in the process.”