Carboxylesterase 2 (CES2), an important metabolic enzyme, plays a critical role in drug biotransformation and lipid metabolism. Although CES2 is very important, few animal models have been generated to study its properties and functions. Rat Ces2 is similar to human CES2A-CES3A-CES4A gene cluster, with highly similar gene structure, function and substrate. In this report, CRISPR/Cas9 technology was firstly used to knock out rat Ces2a, a main subtype of Ces2 mostly distributed in liver and intestine. This model showed the absence of CES2A protein expression in liver.Further pharmacokinetic studies of diltiazem, a typical substrate of CES2A, confirmed the loss of function of CES2A both in vivo and in vitro. At the same time, the expression of CES2C and CES2J protein in liver decreased significantly. The body and liver weight of Ces2a knockout rats also increased, but the food intake did not change. Moreover, the deficiency of Ces2a led to obesity, insulin resistance and liver fat accumulation, which are consistent with the symptoms of nonalcoholic fatty liver disease (NAFLD). Therefore, this rat model is not only a powerful tool to study drug metabolism mediated by CES2, but also a good disease model to study NAFLD.