Olympic rules state that the entire relay team can be disqualified and stripped of medals if one runner fails a doping test.
Carter and Bolt were teammates on the winning 4x100-metre team, which set a world record of 37.10 seconds. Carter ran the opening leg, and Bolt took the baton third in a team that also included Michael Frater and Asafa Powell.
"The Jamaican team is disqualified," the IOC said in a statement. "The corresponding medals, medallist pins and diplomas are withdrawn and shall be returned."The relay title in Beijing completed the first of Bolt's gold medal sweeps in the 100, 200 and relay at three straight Olympics.
The Canadian team of Pierre Browne, Anson Henry, Jared Connaughton, Hank Palmer — who finished sixth in the race — will now move into the top five.