Armed men wearing masks attacked an outpost on the Tajik-Uzbek border in an overnight operation, leaving 17 people dead.
According to Tajik authorities, the 20 attackers killed a border guard and a policeman before 15 of them were killed by return fire.
Another five officers were taken captive, they added.
While the identity of the attackers is yet to be officially revealed, officials said an investigation into the attack 50 km southwest of the capital, Dushanbe, is underway.

Russian attack on Ukraine's Dymer in Kyiv region kills 11, official says
India announces $1.62 billion package for flood-hit Nepal
Schools across Germany, Denmark receive bomb threats
India finds sample of popular Bisleri water unsafe, to widen checks to all brands
South Korea's education minister quits over exam cheating chaos
COP31 climate talks break down as EU, others reject deal
Indonesia factory fire search to resume Monday as 24 body bags recovered
Libya suspects drone attack caused Benghazi ship explosion
