Apple has claimed that Samsung infringed its design patent and copied the look of its popular device, the iPad.
The Samsung tablet is considered by most analysts as the biggest rival to Apple’s iPad.
The ban does not apply to the Galaxy Tab 10.1 II, the tablet’s new edition.
The trial for the case is scheduled to begin in California on 30 July.
Although Samsung has a right to compete, it does not have a right to compete unfairly, by flooding the market with infringing products,” said US District Judge Lucy Koh.
The judge had previously denied Apple’s appeal for an injunction on the Galaxy tablet and smartphones, but was asked by a federal appeals court to reconsider Apple’s request on the tablet PC.
In December 2011, a German court threw out Apple’s complaints about Samsung’s redesigned Galaxy 10.1N.
Apple and Samsung are involved in a variety of legal cases in various countries across the globe amid claims and counter claims of patent infringement.
Analysts said that given the growth potential, the two firms were using every possible tactic to ensure that they capture a bigger share of the market.
“They are going to use every legal maneuver they can, including patent battles, to keep each other out of the market,” Tim Charlton of Charlton Media told the BBC.