In this paper, we study the homogenization of the demagnetization field operator in periodically perforated domains using the two-scale convergence method. As an application, we homogenize the Landau-Lifshitz equation in such domains. We consider regular homothetic holes.