The incident took place on Nov. 27, Resolute Support, the official name of the NATO mission, said in a statement. One American contractor was also wounded.
The last time three service members were killed in the same incident was on June 10, 2017, in Jalalabad.
"The wounded service members and contractor were evacuated and are receiving medical care," Resolute Support said.
No other details about the deadly incident were available.
Five service members so far have died in Afghanistan in November -- the deadliest month for U.S. forces this year. But President Donald Trump has refrained from commenting on their deaths and rarely speaks about the 17-year war.
Trump has not yet visited U.S. troops deployed in Iraq and Afghanistan but has hinted that a trip is being planned.
Asked by a reporter on Thanksgiving when he will travel to overseas combat zones, Trump responded, "I do, but I can't tell you."
On Tuesday, Trump was asked as he departed the White House whether he was "afraid" to visit the troops in a war zone after The Washington Post reported that a former senior White House official had said Trump was "afraid people want to kill him."
“No," Trump responded. "I’m going to a war zone.”
The U.S. currently has more than 14,000 forces in Afghanistan as part of a NATO-led mission to advise and assist the Afghan military in their fight against the Taliban and ISIS.
Asked on Saturday if he wanted to withdraw those forces, Trump replied, "Well, we're always looking to do the right thing, and we'll be seeing over a period of time. But we're looking. We're in very strong negotiations in Afghanistan right now, which a lot of people don't know about."
Five U.S. service members killed in Afghanistan in November
Army Ranger Sgt. Leandro Jasso was killed in Afghanistan over the weekend.
On Tuesday, Resolute Support announced that Jasso's death was likely the result of accidental friendly fire from Afghan forces he was accompanying during an assault on al Qaeda positions in western Afghanistan's Nimroz Province.
On Nov. 3, Maj. Brent Taylor, 39, was killed in an insider attack in Kabul. Taylor, a member of the U.S. Army National Guard, was also the mayor of North Ogden, Utah and the father of seven children.
ABC News' Meghan Hughes and Justin Fishel contributed to this report.