The recalled products include Eukanuba dry dog foods, Iams dry dog foods and Iams dry cat foods.
The company says the recall is just a precaution and that no instances of salmonella have been reported.
"Salmonella can affect animals eating the products and there is risk to humans from handling contaminated pet products, especially if they have not thoroughly washed their hands after having contact with the products or any surfaces exposed to these products," Proctor and Gamble said in a statement.
The potential salmonella was discovered during routine testing.
For a full list of recalled products visit, visit the Iams website.
If the codes on the bag of food you purchased match up with a code found on the list, the company advises that you discard the products and call Proctor and Gamble.