Abstract. Multilevel balancing domain decomposition by constraints (BDDC) deluxe algorithms are developed for the saddle point problems arising from mixed formulations of Darcy flow in porous media. In addition to the standard no-net-flux constraints on each face, adaptive primal constraints obtained from the solutions of local generalized eigenvalue problems are included to control the condition number. Special deluxe scaling and local generalized eigenvalue problems are designed in order to make sure that these additional primal variables lie in a benign subspace in which the preconditioned operator is positive definite. The current multilevel theory for BDDC methods for porous media flow is complemented with an efficient algorithm for the computation of the so-called malign part of the solution, which is needed to make sure the rest of the solution can be obtained using the conjugate gradient iterates lying in the benign subspace. We also propose a new technique, based on the Sherman-Morrison formula, that lets us preserve the complexity of the subdomain local solvers. Condition number estimates are provided under certain standard assumptions. Extensive numerical experiments confirm the theoretical estimates; additional numerical results prove the effectiveness of the method with higher order elements and high-contrast problems from real-world applications.Key words. adaptive coarse space, BDDC, Darcy flow, domain decomposition, PETSc AMS subject classifications. 65F08, 65N55, 65Y05, 68W10 DOI. 10.1137/16M10806531. Introduction. The purpose of this work is to construct and analyze a balancing domain decomposition by constraints (BDDC) method [11] for the finite element (FE) discretization of saddle point problems arising from the mixed formulation of Darcy flows in porous media. Most previous work on domain decomposition methods for saddle point problems is based on the benign subspace approach [15,38,39,40,42], where the original saddle point is reduced to a positive definite problem in the case of discontinuous pressure discretization spaces. Multilevel extensions of these ideas have been presented in [48,47,57]. For domain decomposition methods with continuous pressures, see [29,58,59] and the references therein. We note that our two-level results are equally valid for the FE tearing and interconnecting dual-primal (FETI-DP) method [17], due to the well-known duality between BDDC and FETI-DP [34].After the pioneering work [35], recent research on BDDC methods has focused on controlling the condition number of the preconditioned operators through the adaptive generation of coarse spaces [6,8,23,24,25,37,44,48,64]; these techniques lead to robust preconditioning techniques with tunable rates of convergence; see, in particular, [45]. The adaptive enrichment of the primal space is accomplished by means of solving