Deprecated code is code that is no longer included in the language specifications. Generally, this happens because it is replaced with more accessible or efficient alternatives. This happens when a new version of a programming language or framework is released.