The ICC Cricket Code of Conduct is a regulation regarding the conduct of professional players in the sport of cricket. Traditionally, cricket requires "gentlemanly" conduct from all players. The Code of Conduct is written and enforced by the International Cricket Council.
Under the ICC regulations, players may be fined a percentage of the salary, banned for number of matches, or even banned for a number of years or life. The ICC appoints a match referee for each Test match, One Day International and Twenty20; the Referee has the power to set penalties for most offences, the exceptions being the more serious ones.
The following are the general categories of serious offences, carrying the highest penalties:
Other offences are categorized as Level 1, Level 2, Level 3, or Level 4 as follows:
The penalties available for each offence are based on the level. The penalties are as follows:
Fines in Level 3 and 4 Offences are determined by the ICC without regard to match fee.
Offences relating to gambling or match-fixing carry penalties of bans from 12 months to life, and unlimited fines.
If an offence occurred in a Test match, then the ban for a number of Tests applies; if an offence occurred in an ODI, then the ban for a number of ODIs applies.