"I don't think we are prepared to talk right now," Trump said, throwing into question Washington's strategy of pushing the group toward the negotiating table.
"We don't want to talk with the Taliban," Trump said. "They are killing people left and right, innocent people."
He added: "There may be a time but it's going to be a long time."
Kabul on Monday suffered its third major assault in recent days, as the Taliban and the ISIS escalate their offensives.
The terrorists have stepped up their attacks on beleaguered Afghan troops and police in recent months, sapping morale already hit by desertions and corruption.
A suicide attack on an Afghan army battalion Monday killed at least 11 soldiers and wounded 16, a defense ministry spokesman said.
And on January 20 Taliban fighters stormed Kabul's landmark Intercontinental hotel and killed at least 25 people, the majority of them foreigners, in an assault lasting more than 12 hours.
In August Trump concluded a months-long review of America's strategy to win the brutal war in Afghanistan, now entering its 17th year.
The strategy called for an increase in the tempo and intensity of strikes against the Taliban, as well as pressure from Pakistan to deny the group safe haven.
The aim is to persuade some Taliban factions to enter talks with the government in Kabul.
This month's spate of bombings and Trump's comments indicate that end game may further away than the White House would like.