# Modulus switching in openfhe-python

**URL:** <https://openfhe.discourse.group/t/modulus-switching-in-openfhe-python/2279>\
**Category:** Library Questions\
**Created:** [February 20, 2026, 4:42pm UTC](https://openfhe.discourse.group/t/modulus-switching-in-openfhe-python/2279 "2026-02-20T16:42:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ypolyakov](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/ypolyakov/32/47_2.png) [@ypolyakov](https://openfhe.discourse.group/u/ypolyakov)\
**Post date:** [March 2, 2026, 12:48pm UTC](https://openfhe.discourse.group/t/modulus-switching-in-openfhe-python/2279/2 "2026-03-02T12:48:16Z")

</div>

Note that your question is about level reduction, rather than modulus switching. Modulus switching in CKKS is rescaling. In BGV/BFV, modulus switching scales down the noise while in CKKS is scales down both the message and noise.

In the `FIXEDMANUAL` mode OpenFHE often automatically calls level reduction. If you want to do it manually, I suggest reading [How can i do levelreduce explicitly while using flexibleauto mode](https://openfhe.discourse.group/t/how-can-i-do-levelreduce-explicitly-while-using-flexibleauto-mode/1687) Basically you can call the `LevelReduceInPlace` method of CryptoContext for this.

---

_[View the full topic](https://openfhe.discourse.group/t/modulus-switching-in-openfhe-python/2279)._
