Six months of the ban will be suspended if Irfan, 34, fulfils certain conditions imposed on him.
He last played for Pakistan in 2016.
The announcement was made after Irfan publicly asked for the country's 'forgiveness' on his failure to report the fact that bookies had approached him during the PSL tournament.
While addressing media, Irfan said: "You are aware that on March 14, the board called in and suspended me on the basis of two allegations. I accept that it was my fault in the charge that I failed to let the board know when bookies approached me."
"PCB's code of conduct makes it clear that we have to report any such interaction immediately," Irfan added.
"I am formally asking the nation for their forgiveness and hope that I will be pardoned by them," Irfan said, concluding his brief address.
Irfan had also submitted a written statement to the PCB on March 27 admitting to the charges levelled against him and appeared for two meetings on March 27 and 28 to explain his case, a PCB press release said.