About 214,000 RAV4s and 94,000 Highlanders and Highlander HVs will be recalled from the 2007 and 2008 model years, according to a company statement.
The recall only affects vehicles sold in North America, Toyota said.
Toyota said owners of the vehicles would be notified of the recall by mail in May.
Toyota said that, in cases where two sensors fail at almost the same time, the side curtain airbags designed to protect passengers in a rollover accident could be inflated outside such an accident.
In cases where just one of the sensors fails, the airbags warning light will be activated, the automaker said