This article tries to from normative perspective to describe, analyze and interpret the codes of ethics for self regulation on the Magistrate under the Ming and the Ch'ing dynasty. The main findings are: 1. The Magistrate should eliminate all private desires. and do his best to perform public duties: 2.On character the Magistrate should demonstrate the highest standards of nobleness and sympathy: 3. The Magistrate should maintain calm as possible as it can on emotion and do not easily to express it: 4. On ability the Magistrate should strive for personal professional excellence: 5. The Magistrate should have a simple private lives: 6.The basic purpose of the codes of ethics for self regulation is to estabilish the necessary psychological prerequisties for the effective implementation of the Magistrate's official duties,