Mohammad Amir delivers the ball on the third day of the final Test between Pakistan and the West Indies at the Sharjah Cricket Stadium. File / AP
The 27-year-old, regarded as one of the best left-arm pacers after countryman Wasim Akram, said he wants to move away from the traditional format.
"It has been an honour to represent Pakistan in the pinnacle and traditional format of the game," Amir is quoted as saying in a Pakistan Cricket Board (PCB) release.
"I, however, have decided to move away from the longer version so I can concentrate on white ball cricket."
Amir said he is committed to play for Pakistan in ODIs and Twenty20s.
"Playing for Pakistan remains my ultimate desire and objective, and I will try my best to be in the best physical shape to contribute in the team's upcoming challenges, including next year's ICC T20 World Cup (in Australia).
"It has not been an easy decision to make and I have been thinking about this for some time. But with the ICC World Test Championship commencing shortly, and Pakistan boasting some very exciting young fast bowlers, it is appropriate that I call on my time in Test cricket so that the selectors can plan accordingly."
PCB managing director Wasim Khan praised Amir's services.
"Amir has been one of the most exciting and talented left-arm fast bowlers in Test cricket in recent times. We respect his decision and look forward to him continuing to play an integral role in white ball cricket for Pakistan."
Mohammad Amir celebrates the dismissal of India's captain Virat Kohli during the Cricket World Cup match. File / AP
Amir is currently in England where he is signed to play for Essex in the English season.
Amir made an impressive entry into international cricket as a 17-year-old, taking six wickets in his debut Test against Sri Lanka at Galle in 2009.
The following year, he was instrumental on a tour in England, helping Pakistan to level a two-match neutral-venue series against Australia with seven wickets in the Leeds Test.
He took 20 wickets in four Tests against England but it culminated in a shocking spot-fixing saga unearthed by the now-defunct tabloid News of the World.
Amir, along with then Test captain Salman Butt and new-ball partner Mohammad Asif, was charged for illegally taking money in return for delivering deliberate no-balls in the Lord's Test.
All three were banned for a minimum of five years and were also jailed by a UK court.
Amir returned to play for Pakistan again in 2016 but the other two failed in their bids to resume their international careers.
Overall, Amir took 119 wickets in 36 Tests, the last of which was against South Africa earlier this year. His best bowling returns —six for 44 — were against the West Indies in Kingston in April 2017.
Amir, who is married to British citizen Nargis Malik, has already applied for a "spouse visa," which means he can stay in England for 30 months.
Sarfaraz Ahmed's side needed to smash the world record for margin of victory in a one-day international but, after winning the toss at Lord's, they failed to muster enough runs to give them a chance.
Bangladesh must be all out for seven or lower if Pakistan are to deny New Zealand a place in the semi-finals alongside Australia, India and England.
Waqar shares a meaningful note to define the sportsmanship of the champions after India suffered their first defeat of this World Cup against the hosts
The first Test will take place at Southampton's Ageas Bowl from July 8-12, with the second and third Tests at Emirates Old Trafford in Manchester on July 16-20 and July 24-28.
The curtailed Formula One season will start with two races behind closed doors in Austria on July 5 and July 12 followed by six other grands prix in Europe, the organisers said on Tuesday.
Serie A will return after a three-month coronavirus-enforced absence on June 20 with Torino hosting Parma in the first of four postponed matches on the opening weekend, the Italian league confirmed on Monday.