Superparamagnetic mesoporous Mg–Fe bi-metal oxides with varied Mg–Fe atomic ratios have been successfully synthesized as solid base catalysts. The M2F-400 catalyst with Mg/Fe atomic ratio= 2 showed extraordinarily high activities for Knoevenagel reactions even at room temperature. It could be magnetically separated, recycled, and reused for at least five cycles.