We present a new analysis of the quasielastic scattering of a 9Li projectile by a target 12C nucleus at 540 MeV. First, we obtain the elastic scattering results by using the double folding model (DFM) with the M3Y effective nucleon-nucleon (Michigan 3 Yukawa) interaction. We find the inelastic scattering results for excited states of both the projectile’s nucleus and the target’s nucleus in the coupled-channels (CC) formalism. In this context, the deformed states of the Coulomb potential, nuclear potential and Coulomb+nuclear potentials are investigated separately. Moreover, these calculations are repeated for different deformation parameters (s) of the 9Li projectile. The quasielastic scattering results of excited states of both nuclei are calculated. Finally, the effect of the surface potential on the DFM results is examined. The obtained results provide an opportunity for a test of different theoretical model calculations in explaining the quasielastic scattering of 9Li+12C.