The purpose of this research is to present a structural equation model for ethical competence in electronic banking. The research is descriptive and conducted through a survey. In the qualitative phase, the statistical population includes professors and experts in the field of electronic banking and also senior managers working in Tejarat Bank. They have been chosen using purposeful sampling technique and the data collection reached saturation after 11 interviews. In the quantitative phase, based on krejcie and Morgan table, among 435 experts in charge of marketing and modern services in Tejart Bank, 205 are chosen by simple random sampling method. The data collection instruments in qualitative phase are the two semi-structured interview and document review approaches. In quantitative phase, samples fill out made-questionnaires. Results suggest that the ethical competence model in electronic banking consists of 3 dimensions (beneficiaries, social responsibility and information technology), 9 major components (employees, shareholders, clients, rivals, ethical responsibility, economical responsibility, voluntary responsibility, legal responsibility and information technology) and 56 minor components.