We introduce a property for L-infinity algebras, which we call the splitting property, and prove that an L-infinity algebra has the splitting property if and only if it is homotopy abelian.