A league representative said Pettis tested positive for a performance-enhancing substance.
Pettis, a rookie drafted in the third round out of Boise State, will be suspended without pay for the final two games this season and the first two games next year.
He has caught 27 passes for 256 yards for the Rams.
Millions of Getty images now available for free via embed tool
Ray Liotta sues skin care company over use of likeness