How long do Xiaomi phones usually get updated with software/ Security patches?

Product Support Policy Overview
We do our best to provide continuous security updates for our smartphones, covering the brands of Xiaomi, Redmi, and POCO. The security updates generally include the latest security patches, security vulnerability fixes, and other security improvements. Typically, we will maintain the security updates for at least 2 years after the first shipment of a certain device model.
We may support the security updates for 3 years or longer for some models, which are subject to actual conditions. If a very serious security vulnerability is discovered, we may also provide the necessary security fixes to you, even if your device is in the EOL product list.