We study compact finite difference methods for the Schrodinger-Poisson equation in a bounded domain and establish their optimal error estimates under proper regularity assumptions on wave function and external potential V(x). The Crank-Nicolson compact finite difference method and the semi-implicit compact finite difference method are both of order Ҩ(h4 + τ2) in discrete l2,H1 and l∞ norms with mesh size h and time step t. For the errors ofcompact finite difference approximation to the second derivative andPoisson potential are nonlocal, thus besides the standard energy method and mathematical induction method, the key technique in analysisis to estimate the nonlocal approximation errors in discrete l∞ and H1 norm by discrete maximum principle of elliptic equation and properties of some related matrix. Also some useful inequalities are established in this paper. Finally, extensive numerical re-sults are reported to support our error estimates of the numerical methods.