About 6,500 swimsuits were imported from Indonesia and China by Gap Inc. of San Francisco and sold in the United States and Canada from February through April 2010 for between $17 and $20.
The swimsuits have halter tops that were made too short, the commission said. Due to the shortness, the plastic ring at the neck of the swimsuit can press against the child's throat, posing a strangulation risk.
No injuries were reported, but the company has received two complaints from consumers.
Consumers were advised to take the swimsuits away from children and return them to the retail outlet for a full refund.
Consumers can call 888-747-3704 for information.
Lytro unveils camera that can focus a photo after shooting it
Yosemite climber falls 30 feet, suffers major injuries