MFEM is a free, lightweight, scalable C++ library for finite element methods.


MFEM is used in many projects, including BLAST, Cardioid, VisIt, RF-SciDAC, FASTMath, xSDK, and CEED in the Exascale Computing Project. We host an annual workshop and a seminar series.

See also our Gallery, Publications, Videos and News pages.


Date Message
Mar 23, 2023 Version 4.5.2 released.
Jan 5, 2023 Playlist and Recap of 2022 Workshop.
Oct 11, 2022 New Enzyme + MFEM project for efficient AD.
Aug 15, 2022 MFEM tutorial on AWS.
Jan 20, 2022 FEM@LLNL seminar series starting.

Latest Release

New featuresExamplesCode documentationSources

Older releasesPython wrapperLaunch Binder


Building MFEMGetting StartedFinite ElementsPerformance

New users should start by examining the example codes.

We also recommend using GLVis for visualization.


Use the GitHub issue tracker to report bugs or post questions or comments. See the About page for citation information.