A company has recalled more than 200 million eggs after an outbreak of salmonella was traced to one of its farms in North Carolina.

The federal Food and Drug Administration reported Friday that eggs from the affected farm were distributed to nine states — Colorado, Florida, New Jersey, New York, North Carolina, Pennsylvania, South Carolina, Virginia and West Virginia — and were likely connected to 22 reported cases of salmonella infections.

The agency learned about a cluster of salmonella outbreaks in multiple states last month, and investigators worked with the Centers for Disease Control and Prevention and state authorities to trace the source of the illness, the F.D.A. said. That led them to an egg farm in Hyde County, N.C., owned by Rose Acre Farms of Seymour, Ind.

The affected farm has paused its egg distribution and the company has voluntarily recalled more than 206 million eggs. The F.D.A. urged consumers to check their purchases and avoid eating eggs that might be contaminated.