The utility model discloses a ball toy which comprises a bottom plate, a separation net modeling shell, a first target piece, a second target piece and a swing piece. The separation net modeling shell is installed on the bottom plate, the first target piece and the second target piece are arranged on the bottom plate, and the first target piece and the second target piece are arranged on the two sides of the separation net modeling shell respectively. The swing part is movably arranged on the separation net modeling shell, a ball is arranged at one end of the swing part, and a balance weight part is arranged at the other end of the swing part. Under the action of external force, the ball body can swing along with the swing part, and under the state that the external force is cancelled and the swing part is in a balanced state, the counterweight part is close to the bottom plate, and the ball body is far away from the bottom plate. According to the ball toy, the partition net modeling shell and the bottom plate are matched to form a mini table court model. And playing under the ball scene can be realized indoors, so that the playing interestingness is improved. And the ball body is pulled by the swinging piece, is not easy to fly around and is easy to hit, the ball body cannot fly out of the range of the bottom plate, and young children can also play and experience the fun of hitting the ball.