We study the quantization of a charged particle motion without spin inside a flat box under a static electromagnetic field. Contrary to Landau’s solution with constant magnetic field transverse to the box and using Fourier transformation, we found a full solution for the wave function which is different from that one given by Landau, and this fact remains when static electric field is added. However, the Landau’s levels appear in all cases.