This talk will give some efficient numerical method for three-dimensional deterministic and stochastic Maxwell equations. It needs to solve a large scale of algebraic system at every marching time step by general unconditionally stable scheme. To get over the obstacle, it employs the splitting method to reduce the 3D problem to 1D problems which greatly decreases the scale of the algebraic systems. The energy-preserving property is paid special attention. Some theoretical results of the new schemes, such as convergence, are discussed. Lastly, numerical results are reported to illustrate the validness of the new schemes.