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.

Trump says deal to end war to be signed Sunday, Iran questions timing
India Air Force plane crash kills all five onboard
Ukrainian strike kills one, wounds 3 in southern Russia
Trump says US military strike killed leader of Venezuela's Tren de Aragua gang
Qatar rejects media report on energy production decisions
Trump says Iran war deal close as Strait of Hormuz tensions linger
Victims' families mark Air India crash anniversary with prayers and tributes
Ebola outbreak spreads to crowded displacement camp in Congo
