SynopsisA subalgebra M of a Lie algebra L is called modular in L if M is a modular element in the lattice of the subalgebras of L. Our aim is to study the finite-dimensional Lie algebras all of whose maximal subalgebras are modular. We characterize these algebras over any field of characteristic zero.