Militant Aymen Smiri blew himself up on Tuesday evening after security forces surrounded him in the Tunisian capital's Intilaka neighbourhood.
There were no other casualties, officials confirmed.
"Following a long chase, special forces surrounded the terrorist," the interior ministry said in a statement. "When forces began shooting, he blew himself up with an explosive belt he was wearing."
It's the third such incident within a week, which comes months ahead of an election and at the peak of the tourist season.

Trump backs down on strikes on Iran's power network
ICE agents begin deploying at some US airports
Pilot, co-pilot killed after passenger jet hits fire truck at LaGuardia airport
Kuwait launches probe into espionage, state security cases
Trump, Iran threaten to escalate conflict with attacks on energy and water facilities
Fuel reservoir in Russia's Primorsk port on fire after drone attack, governor says
Ambulances from Jewish community organisation torched, UK police say
Israeli airstrikes kill four in Gaza, Palestinian officials say
