Immobilization of enzyme on metal−organic frameworks (MOFs) has drawn increasing interest owing to their many well-recognized characteristics. However, the pore sizes of MOFs (mostly micropores and mesopores) limit their application for enzyme immobilization to a great extent owing to the large size of enzyme molecules. Synthesis of MOFs with macropores would therefore solve this problem, typically encountered with conventional MOFs. In this work, macroporous zeolitic imidazolate frameworks (ZIF-8), referred to as M-ZIF-8, were synthesized and used for immobilization of Aspergillus niger lipase (ANL). Immobilization efficiency using M-ZIF-8 and enzymatic catalytic performance for biodiesel preparation were investigated. The immobilized ANL on M-ZIF-8 (ANL@M-ZIF-8) showed higher enzymatic activity (6.5-fold), activity recovery (3.8-fold), thermal stability (1.4-and 3.4-fold at 80 and 100 °C, respectively), reusability (after five cycles, 68% of initial activity was maintained), and porosity than ANL on conventional ZIF-8 (ANL/ZIF-8). In addition, by using ANL@M-ZIF-8 for catalyzing a biodiesel production reaction, a higher fatty acid methyl ester yield was achieved.