KABUL—Afghan government officials and Taliban representatives met in Pakistan on Tuesday, Afghan, U.S. and Pakistani officials said, signaling a possible start to a formal peace process.

The meeting, which took place in Murree, a hill station outside Islamabad, was one of the highest-level contacts between the two warring parties in recent years, offering hope that a formal peace process aimed at ending the long-running conflict could soon begin.