In this paper, by using variational methods, we study the existence of nonplanar periodic solutions for the following spatial restricted 3-body and 4-body problems: for N = 2 or 3 , N mass points with positive masses m 1 , … , m N move in a central configuration (for N = 2 , two bodies are in a Euler configuration; for N = 3 , three bodies are in a Lagrange configuration), and they move in the plane of N circular obits; the N + 1 th mass point, called the zero mass point, moves on the perpendicular axis passing through the center of the masses.