In this paper we investigate the dynamics of a test particle in the gravitational field with a quadrupole. By constructing Poincaré sections for different values of the parameters and initial conditions, we find a chaotic evolution. Prom these Poincaré sections, we further confirm that the chaotic evolution of the test particle originates from the quadrupole.