The Pakistan Cricket Board (PCB) on Tuesday announced that Bangladesh will play three T20Is, an ODI and two Tests in the country this year. The T20I series will be played from 24-27 January followed by the first Test from 7-11 February.
Bangladesh will then return to Pakistan in April for the one off ODI which will be played on 3 April and the second Test from 5-9 April.
Officials from the PCB and Bangladesh Cricket Board (BCB) met in Dubai to discuss the latter's tour of the country.
The BCB had earlier indicated that it is opposed to playing a Test series in Pakistan due to security concerns but was ready to play the T20I series in the country.
The tour is part of the Future Tours Programme and the two-Test series will be counted in the World Test Championship.
"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.