The Fars news agency on Wednesday quoted security official Shahriar Heidari as saying the troops were killed on Tuesday night while patrolling along the border in western Kermanshah province. A border outpost commander was among those killed.
Heidari says an unspecified “terrorist group” was behind the attack. No other details were immediately available.
Iran has boosted border security amid the blitz offensive in neighboring Iraq by Sunni militants from the al-Qaida breakaway Islamic State of Iraq and the Levant. The militants have snatched much of northern and western Iraq from Baghdad‘s control.
In the past, sporadic clashes have taken place between Iranian troops and opposition groups in western Iran.