In this paper, we study the Lie algebras in which every subspace is its subalgebra (denoted by HB Lie algebras). We get that a nonabelian Lie algebra is an HB Lie algebra if and only if it is isomorphic to $g\dot{+}\mathbb{C}id_g$, where $g$ is an abelian Lie algebra. Moreover we show that the derivation algebra and the holomorph of a nonabelian HB Lie algebra are complete.