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. See also our Gallery, Publications and News pages.

October Simulation/Visualization Contest

We are holding a simulation and visualization contest open to all attendees of our upcoming workshop. The winner as selected by the workshop organizing committee will receive an MFEM T-shirt. We will also feature the images in the gallery.

To submit your visualization from MFEM-related simulations in the contest, please fill out the Google form or email your submission to with your name, institution, a short description, and visualization software used.


Date Message
Jul 29, 2021 Version 4.3 released.
Jul 10, 2021 MFEM Community Workshop in October.
Apr 22, 2021 MFEM featured on S&TR magazine cover.
Feb 16, 2021 New page on GPU performance.

Latest Release

New featuresExamplesCode documentationSources

Older releasesPython wrapper


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.