The generalized Casimir invariants of real indecomposable Lie algebras admitting a nontrivial Levi decomposition are determined. 1 J 2 3 , I• Invariants of subalgebra:• Semi-invariance conditions:• Invariants of L p,q,r 9,13• Invariants of subalgebra:• Semi-invariance conditions:• Semi-invariance conditions:• Invariants of L p,q 9,17• Semi-invariance conditions:• Invariants of subalgebra:• Semi-invariance conditions:• Invariants of L p,q 9,32• Invariants of subalgebra:• Semi-invariance conditions:X 9 (J 1 ) = −J 1 , X 8 (J 2 ) = −2J 2 , X 9 (J 3 ) = −pJ 3 , X 9 (J 4 ) = −J 3 − pJ 4 .