Variational Monte Carlo calculations are carried out to study the ground state of the two-dimensional d-p model which is the most basic one for CuO 2 plane in the cupratesuperconductors. The possibility of superconductivity is investigated using the Gutzwiller-projected BCS and SDW wave functions for the 6 × 6 and 8 × 8 lattices. Near half-filling the SDW state is most stable in a wide range for both hole and electron doping cases. The d-wave superconducting state turns out to be more favorable than the SDW state when the hole doping ratio is more than or almost equal to 0.2. The transfer energy between neighboring O orbitals is found to extend the region of the d-wave state near half filling.