We consider the Poisson equation with the Dirichlet and the Neumann boundary conditions in weighted Sobolev spaces. The weight is a positive power of the distance to a distinguished plane. We prove the existence of solutions in a suitably defined weighted space.