Toyota said modules in the power window master switch may have been lubricated inconsistently during the manufacturing process.
Of the total, about 2.7 million are in North America, 1.2 million in Europe, and 600,000 in Japan, the automaker said. It said it was not aware of any crashes caused by the glitch.
Toyota said modules in the power window master switch may have been lubricated inconsistently during the manufacturing process.
Debris caused by wear from the electrical contact points can accumulate and cause a short circuit.
That in turn could cause the switch assembly to overheat and melt, and potentially lead to a fire, it said.
Among other models subject to the recall are the Matrix, RAV4, Highlander, Tundra, Sequoia and Scion xB. The vehicles were produced between January 2005 and December 2010, Toyota said.
Toyota also issued a separate recall in Japan of about 140,000 Crown and Crown Majesta models for a glitch that could cause the hood to open inadvertently.
Toyota recalls 7,129 units of Corolla in India to fix airbags
Car recalls in India and abroad this year
Toyota recalls 1,100 Corolla Altis in India