Australian special forces soldiers and their Afghan National Police partners have killed four insurgents in Afghanistan.

The Defence Force says two insurgent commanders, Mullah Ghulam and Mullah Gharfour, were among those killed during a gunfight in Uruzgan Province on Friday.

The Defence Force says Mullah Ghulam was the deputy commander in the Khod Valley, and Mullah Gharfour had trained numerous insurgents in southern Afghanistan.

Defence says both had experience with homemade bombs.

The Commanding Officer of the Special Operations Task Group (SOTG) says the deaths will restrict the insurgents' operations in the area.

"The removal from the battlefield of these insurgent leaders will be a substantial blow to insurgent command and control and will reduce their ability to wage attacks against Afghan and ISAF forces in this area," the commanding officer said.

Another insurgent fighter was detained during the operation. No Afghan or Australian troops were injured in the mission.