In the revised arrangement, Bangladesh will play three T20s in Lahore between January 24 and 27, then return to Pakistan for a Test match starting on February 7 in Rawalpindi that will be a part of the ICC World Championship.
After the conclusion of Pakistan Super League (PSL) season five in March, Bangladesh will play an ODI in Karachi on April 3, with the second Test starting two days later at the same venue.
Tests series against Sri Lanka last month in Rawalpindi and Karachi were Pakistan's first on home soil since a militant attack on Sri Lanka's team bus in Lahore in 2009.
"I am pleased that we have amicably achieved a resolution that is in the best interest of this great sport as well as both the proud cricket playing countries."
"I also want to thank ICC Chairman Shaskank Manohar for the leadership he provided and ensured the sport continues to grow and thrive in the two countries," said PCB Chairman Ehsan Mani.
"Bangladesh will visit Pakistan thrice, which should give them the comfort that Pakistan is as safe and secure as any other cricket playing country," said PCB Chief Executive Wasim Khan.
Tour schedule:
24 Jan – 1st T20I, Lahore
25 Jan – 2nd T20I, Lahore
27 Jan – 3rd T20I, Lahore
7-11 Feb – 1st Test, Rawalpindi
3 Apr – One-off ODI, Karachi
5-9 Apr – 2nd Test, Karachi