Matches are scheduled on June 12 and 13 in Edinburgh, following one-off ODI with England on June 10.
Scotland is set to host Pakistan for two Twenty20 Internationals in Edinburgh in 2018, it was confirmed on Monday (September 11).
The matches will take place on June 12 and 13 at The Grange, after Kyle Coetzer's men meet England in a one-off One-Day International on June 10 at the same venue.
Scotland and Pakistan have only met once in the 20-over format, during the group stage of the 2007 ICC World T20 in South Africa, where the latter rode on Shahid Afridi's all-round heroics to clinch a 51-run win.
Pakistan last visited Scotland in May 2013 for a two-match One-Day International series, which it won 1-0 after the second game was abandoned due to rain.
This will be the first time Scotland will be hosting a full member for a T20I, and Coetzer, the skipper, was excited about the prospect of facing the ICC Champions Trophy 2017 winner.
"To have the opportunity to take on a hugely talented Pakistan team at home in two T20Is is wonderful news for both the players and our supporters," he told Cricket Scotland.
"With these matches taking place in the same week that we host England in an ODI in Edinburgh, it gives us a great chance to show how far we have come as a group in both of these formats of the game.
"It also means that having defeated Zimbabwe and Sri Lanka this year, we have another great chance to take some more full member scalps. As a squad, we want to test ourselves against the world's best and in Pakistan and England, we have two of the current top sides in the world coming to Scotland next summer.
"Along with the 2019 ICC Cricket World Cup Qualifier taking place in 2018, the year is really starting to look like an exciting one for everyone involved in Scottish cricket."
June 10: One-off ODI (Edinburgh)
June 12: First T2OI (Edinburgh)
June 13: Second T20I (Edinburgh)