It said that Morteza Vaziri Afshar was killed in Sanandaj Thursday night during an armed attack which also left two people wounded.
Another member of the Iranian security forces was killed two hours later in a second assault, Mehr news agency reported, adding that a search was launched to find the perpetrators.
Regions of western Iran, which has a large Kurdish minority, are often the sites of clashes between Iranian forces and Kurdish armed rebel movements.