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.
Pregnant Mila Kunis wins 'Best Villain' at MTV Movie Awards
Pistorius testifies he didn't consciously pull trigger when he shot girlfriend