This Halloween, millions of Americans will, as every year, be handing out candy. But this year, the real trick could be finding treats made in the U.S.A. Because of government cronyism aimed at protecting big sugar producers, much of the candy in your child’s bag will come from overseas.

According to the U.S. Department of Agriculture, in 2012, the price of raw sugar was 40 percent higher in the United States than in the rest of the world. And, while an international sugar glut is expected to send prices tumbling everywhere else later this year, U.S. prices will remain about the same. That’s because of a U.S. government program that guarantees sugar processors a minimum price.

That program costs American taxpayers about $1.4 billion each year, while directly benefitting fewer than 5,000 beet and sugar cane farmers. Most of them, like most big farmers, are fairly well off to begin with. Meanwhile, the U.S. Commerce Department’s International Trade Administration says that U.S. consumers pay an extra $826,000 for each sugar-production job saved.

According to the U.S. International Trade Commission (yes, there is an International Trade Administration and an International Trade Commission), the sugar program imposes a $49 million net cost on the economy. That’s enough to buy 8.8 million five-pound bags of sugar. A study commissioned by the Sweetener Users Association sets the direct price even higher: between $2.9 billion to $3.5 billion per year.

The sugar program costs jobs as well.

The Hershey chocolate company has cut 1,500 jobs. Atkinson Candy Co. now makes 80 percent of its peppermint-flavored products at a factory in Guatemala that opened in 2010.

According to a 2006 U.S. Department of Commerce report, the U.S. has lost more than 10,000 candy-making jobs since 1997. The report adds that three candy-making jobs are lost for each sugar-growing and processing job saved by higher domestic sugar prices. “As long as the government has the ability to hand out favors to some industries and punish others, resources will be diverted away from productive private-sector activities to fund lobbying campaigns in Washington, D.C.,” notes Heritage’s Bryan Riley. “This Depression-era program, which was supposed to end in 1940, has outlived its intended lifespan by 72 years. It should be abolished.”

Until it is, the trick’s on American food consumers.