diff --git a/dune/xt/grid/structuredgridfactory.hh b/dune/xt/grid/structuredgridfactory.hh
index d16247e36ca79d4c8f0e67cc96cbcf9af885fc4a..cbecb6baaddd0a6b58f9cc30e39aefd26751be90 100644
--- a/dune/xt/grid/structuredgridfactory.hh
+++ b/dune/xt/grid/structuredgridfactory.hh
@@ -262,7 +262,11 @@ public:
                  const Dune::FieldVector<ctype, GridType::dimension>& upperRight,
                  const std::array<unsigned int, GridType::dimension>& elements,
                  std::array<unsigned int, GridType::dimension> = default_overlap<GridType>(),
-                 Dune::MPIHelper::MPICommunicator mpi_comm = Dune::MPIHelper::getCommunicator())
+                 Dune::MPIHelper::MPICommunicator
+#  if HAVE_MPI
+                     mpi_comm
+#  endif
+                 = Dune::MPIHelper::getCommunicator())
   {
     if (Dune::MPIHelper::isFake)
       return Dune::StructuredGridFactory<GridType>::createCubeGrid(lowerLeft, upperRight, elements);