BACKGROUND AND AIM: Recognizing the factors affecting the number of decayed and filled teeth has a major role in oral health. Dental data usually suffer from over-dispersion and excess zero frequencies. The purpose of this study was to use the Conway-Maxwell-Poisson (COM-Poisson) model to determine some of the factors affecting the number of decayed and filled teeth. METHODS: In this cross-sectional study, a sample of 1000 people from a cohort study in Shahrekord City, Iran, aged 35-70 years, was selected through systematic sampling. The data were analyzed using the Bayesian approach through Markov chain Monte Carlo (MCMC) simulation by OpenBUGS. Zero-inflated Poisson (ZIP), COM-Poisson model, and zero-inflated Com-Poisson (ZICMP) model were fitted on the data and compared using the deviance information criterion (DIC). RESULTS: The mean numbers of decayed and filled teeth were 0.77 +/- 1.63 and 4.37 +/- 4.62, respectively. The Com-Poisson and ZICMP showed to be better fit for the number of decayed and filled teeth, respectively. Those people who were younger, male, smokers, diabetics, did not floss, and did not use mouthwash had significantly more number of decayed teeth (P < 0.05). Those people who were younger, female, non-diabetics, non-smokers, employed, literate, had less body mass index (BMI), flossed, and got higher score of quality of life had significantly more number of filled teeth (P < 0.05). CONCLUSION: By controlling such factors as education, BMI, flossing, using mouthwash, smoking, diabetes, and quality of life, we could improve the oral health.