There have been no injuries reported.
RC2 Corporation, which imports and distributes the wooden railway toys, issued the recall in cooperation with the U.S. Consumer Product Safety Commission (CPSC).
The recall covers wooden vehicles, buildings and other parts sold from January 2005 through June 2007. The toys are manufactured in China.
Consumers are instructed to immediately take the toys away from children and contact RC2 for a replacement toy, according to a statement by CPSC.
Toys marked with manufacturing codes "WJ" or "AZ" are not included in this recall. The code may be located on the bottom of the product or inside the battery cover.
Consumers can contact RC2 Corp. at (866) 725-4407 or visit the firm's Web site.