A economic operation optimization for microgrid with battery storage and load transfer is proposed,which divides the day into valley period, normal period and peak period, and designs battery charge compensation function and discharge penalty function at valley and normal periods and designs charge compensation and penalty function at peak period. Microgrid is reasonably guided to charge and discharge battery ,purchase and sell electricity to the main grid at different periods, which not only reduces the microgrid economic operation cost, but also helps the “peak clipping and valley filling” of main grid. LINGO optimizing software is applied to solve the mixed- integer nonlinear models. The result indicates with the battery charge and discharge management and load transfer, microgrid economic operation cost throughout the day reduces by 13.4%.