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.
Notable deaths of 2014 [PHOTOS]
Julius Randle breaks leg during NBA debut