Krupa's lawyer, David Montgomery, said he signed the withdrawal papers on Sunday. He filed them Monday, just before a hearing on a challenge to Krupa's candidacy was to begin in Commonwealth Court in Philadelphia.
Krupa, a tavern owner from Lock Haven, was originally the Constitution Party nominee for governor but that party joined forces with a tea-party group and he used its label. At least one state leader of the tea-party movement called Krupa an impostor.
A Libertarian candidate, York lawyer Marakay Rogers, also faces a challenge in her bid to run for governor.
The major-party candidates are Republican Tom Corbett and Democrat Dan Onorato.
A second candidate for statewide office in Pennsylvania says he's dropping out.
Mel Packer, the Green Party's nominee for Sen. Arlen Specter's seat, said Monday he cannot overcome a challenge by Democratic nominee Joe Sestak.
The 65-year-old Packer said he has only about 1,000 votes to spare above the 19,000 he needs to qualify for the ballot.
Packer, a physician's assistant at a Pittsburgh hospital emergency room, said he has neither the money or time to spend on what he regards a futile fight. He said he's signing papers to stop the challenge and withdraw his candidacy.