BEIRUT—Iranian authorities are taking extraordinary security measures ahead of cuts to energy and food subsidies this month, in an effort to prevent unrest by a public upset about rising expenses and inflation.

President Mahmoud Ahmadinejad cautioned the public on Wednesday against politicizing the economic reforms and threatened to severely punish businesses that raise prices of consumer goods in reaction to subsidy cuts.

In...