---
title: "Deprecation: #82869 - Replace @inject with @TYPO3\\CMS\\Extbase\\Annotation\\Inject"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-82869"
source: "Changelog/9.0/Deprecation-82869-ReplaceInjectWithTYPO3CMSExtbaseAnnotationInject.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Deprecation: #82869 - Replace @inject with @TYPO3\\CMS\\Extbase\\Annotation\\Inject

See [forge#82869](https://forge.typo3.org/issues/82869)

## Description

The `@inject` annotation has been deprecated and must be replaced with the doctrine annotation
`@TYPO3\CMS\Extbase\Annotation\Inject`.

## Impact

From version 9.0 on, `@inject` is deprecated and will be removed in version 10.

## Affected Installations

All extensions that use `@inject` for dependency injection

## Migration

Use `@TYPO3\CMS\Extbase\Annotation\Inject` instead.
