"Sharif invited Prime Minister Singh to visit Pakistan and Singh invited Sharif to visit India. Both accepted the invitations," National Security Advisor Shivshankar Menon said during a media briefing after the meeting.
"No dates have been set yet," he said.
Prime Minister Singh's ancestral hometown is at Gah in the Punjab province of Pakistan.
Sharif had earlier said that he would be happy to welcome Singh in Pakistan to visit ancestral hometown in Gah.