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 says Iran ceasefire 'on life support' after he rejects Tehran's response
India's Modi to begin five-nation tour, including UAE
EU ministers agree on sanctions targeting violent West Bank settlers
Last six passengers leave Hantavirus-hit ship as captain hails their patience
Suspect in Trump attempted assassination pleads not guilty
UK's Starmer promises to be bolder to try to rescue his job
Philippine lawmakers to vote on impeachment of presidential hopeful Duterte
Six people found dead in boxcar in Texas, police say
