$n$-ary algebras of the first degeneration level are described. A detailed classification is given in the cases $n=2,3$.