Two militants blew themselves up on Thursday following an exchange of fire with Tunisian security forces in the city of Jilma, 250 km (156 miles) south of the capital Tunis, the interior ministry said.
The militants killed themselves after being encircled by security forces who stormed their hideout in the city, the ministry said in a statement.
After an uprising against autocratic leader Zine Abidine Ben Ali in 2011, Tunisia has been battling extremist groups operating in remote areas near the border with Algeria.
Authorities estimate about 3,000 Tunisians have joined ISIS and other extremist groups in Iraq, Syria and neighboring Libya, while high unemployment has stoked unrest in recent years in southern and central areas
The North African country saw three major attacks in 2015, including two against tourists, one at a museum in Tunis and the second on a beach in Sousse. The third targeted presidential guards in the capital, killing 12.
Also on October 29, 2018, a woman suicide bomber blew herself up near a police vehicles in the center of the Tunisian capital, injuring at least twenty people.
All attacks were claimed by ISIS.