A homogenization problem related to the micromagnetic energy functional is studied. In particular, the existence of the integral representation for the homogenized limit of a family of energies $$ \mathcal{E}_{\varepsilon}(m)=\int_{\Omega} \phi\left(x,\frac{x}{\varepsilon},m(x)\right)\,{\rm d}x-\int_{\Omega}h_e(x)\cdot m(x)\,{\rm d}x+\frac{1}{2}\int_{\mathbb R^3}|\nabla u(x)|^2\,{\rm d}x$$ of a large ferromagnetic body is obtained.