The officials said the two wounded were taken to Niamey, the capital, and are in stable condition. The officials were not authorised to discuss the incident publicly so spoke on condition of anonymity.
The officials said the commandos, who were Green Berets, were likely attacked by al-Qaida in the Islamic Maghreb militants.
In a statement, US Africa Command said the forces were with a joint US and Nigerien patrol north of Niamey, near the Mali border, when they came under hostile fire.
Trump was in Las Vegas meeting with victims of Sunday night's shooting massacre, along with first responders and doctors.
(Only the headline and picture of this report may have been reworked by the Business Standard staff; the rest of the content is auto-generated from a syndicated feed.)