Copulas are important tools to construct multivariate distributions using their marginals. These functions provide a exible way to measure the strength of depen- dency structure among variables. In many cases, the parameters of the marginals and copula are a response related to a set of covariates. Considering the covariates affect in the accuracy of copula parameters estimation. Generalized additive model (GAM) is a flexible models which capture a linear and non-linear relationships be- tween response and explanatory variables. In this paper application of GAM model in copula is investigated. Next, using copula GAM the best model is determined for analyzing diabetic patients in Ilam province.