Bootstrapping is a computationally intensive procedure that homomorphically evaluates the decryption circuit on an encrypted ciphertext to produce a new ciphertext encrypting the same plaintext with a refreshed noise budget. In fully homomorphic encryption (FHE), every homomorphic operation—especially multiplication—accumulates cryptographic noise within the ciphertext. Without intervention, this noise eventually overwhelms the signal, rendering the ciphertext undecryptable. Bootstrapping breaks this linear constraint by resetting the noise to a baseline level, effectively enabling unlimited-depth computation on encrypted data without ever decrypting it.
Glossary
Bootstrapping

What is Bootstrapping?
Bootstrapping is the critical procedure in fully homomorphic encryption that enables unlimited computation on encrypted data by refreshing a ciphertext's exhausted noise budget.
The procedure works by encrypting the secret key under itself—creating a circular security assumption—and using this encrypted key to evaluate the decryption circuit homomorphically. In the TFHE scheme, this is extended to programmable bootstrapping, which simultaneously resets noise and evaluates an arbitrary lookup table function on the encrypted data. The primary trade-off is computational cost: bootstrapping is typically the most expensive operation in an FHE workflow, often consuming over 90% of total evaluation time. Optimizations like modulus switching and relinearization are used to delay bootstrapping as long as possible, reserving it for when the noise budget is critically low.
Key Characteristics of Bootstrapping
Bootstrapping is the critical procedure that transforms a somewhat homomorphic encryption (SWHE) scheme into a fully homomorphic encryption (FHE) scheme by refreshing the ciphertext's depleted noise budget.
Homomorphic Decryption
Bootstrapping evaluates the decryption circuit homomorphically while the data remains encrypted. The scheme uses an encrypted version of the secret key (an evaluation key) to strip the inner layer of encryption, effectively resetting the noise without ever exposing the plaintext. This is the core computational loop that breaks the noise accumulation barrier.
Noise Budget Refresh
Every homomorphic operation, especially multiplication, injects cryptographic noise into the ciphertext. Once the noise exceeds a critical threshold, decryption becomes impossible. Bootstrapping reduces the noise to a nominal level, restoring the noise budget and enabling the evaluation of circuits of arbitrary depth. It is the primary enabler of unbounded computation on encrypted data.
Programmable Bootstrapping (PBS)
In the TFHE scheme, bootstrapping is extended beyond noise reduction. Programmable Bootstrapping simultaneously resets the noise and evaluates a lookup table (LUT) on the encrypted data. This allows the evaluation of arbitrary univariate functions—like activation functions in neural networks—in a single atomic step, drastically accelerating encrypted inference.
Computational Bottleneck
Historically, bootstrapping has been the dominant performance bottleneck in FHE, often consuming over 90% of total computation time. The procedure requires evaluating a deep circuit (the decryption function) homomorphically, which involves numerous blind rotations and key-switching operations. Modern hardware acceleration and algorithmic optimizations are focused on minimizing this latency.
Gentry's Blueprint
Introduced in Craig Gentry's 2009 breakthrough, bootstrapping solved the open problem of constructing FHE. The concept relies on a scheme that is bootstrappable—meaning it can evaluate its own decryption circuit plus at least one additional gate. By recursively applying this self-referential property, a somewhat homomorphic scheme can be lifted to a fully homomorphic one.
Squashing the Decryption Circuit
For a scheme to be bootstrappable, its decryption algorithm must be simple enough to evaluate homomorphically. Squashing is a technique that reduces the multiplicative depth of the decryption circuit by adding a 'hint' about the secret key to the public key. This sparse subset-sum problem transforms deep decryption into a shallow circuit suitable for bootstrapping.
Bootstrapping vs. Other Noise Management Techniques
A comparative analysis of the primary techniques used to manage the noise budget in fully homomorphic encryption ciphertexts, evaluating their computational cost, depth impact, and operational scope.
| Feature | Bootstrapping | Modulus Switching | Rescaling (CKKS) |
|---|---|---|---|
Primary Mechanism | Homomorphically evaluates the decryption circuit on the ciphertext | Scales down the ciphertext modulus to proportionally reduce absolute noise | Divides the ciphertext by a scaling factor after multiplication |
Effect on Noise Budget | Resets noise budget to maximum capacity | Extends the noise budget linearly without full reset | Stabilizes scale and manages noise growth post-multiplication |
Computational Cost | Extremely high; dominates total computation time | Relatively low; a lightweight scalar operation | Low; a lightweight modular arithmetic operation |
Enables Unlimited Computation | |||
Requires Predefined Circuit Depth | |||
Typical Use Case | Unbounded programs, arbitrary function evaluation | Extending the depth of a known arithmetic circuit | Maintaining precision in approximate fixed-point arithmetic |
Scheme Compatibility | FHE (TFHE, FHEW), Leveled FHE (BGV, BFV, CKKS) | Leveled FHE (BGV, BFV) | CKKS only |
Relative Execution Time | Minutes to hours for complex circuits | Microseconds to milliseconds | Microseconds to milliseconds |
Frequently Asked Questions
Clear answers to the most common technical questions about the bootstrapping operation, the critical procedure that enables unlimited computation in fully homomorphic encryption by refreshing a ciphertext's noise budget.
Bootstrapping is a cryptographic procedure that homomorphically evaluates the decryption circuit of an FHE scheme on an encrypted ciphertext to produce a new ciphertext encrypting the same plaintext but with a refreshed noise budget. First introduced by Craig Gentry in 2009, it is the breakthrough technique that enables unlimited computation on encrypted data. Without bootstrapping, each homomorphic multiplication or addition consumes a finite noise budget, and once exhausted, the ciphertext becomes undecryptable. Bootstrapping essentially 'resets the clock' by removing accumulated noise, allowing arbitrarily deep circuits to be evaluated. The process involves:
- Encrypting the secret key under itself and publishing it as a public evaluation key
- Homomorphically evaluating the scheme's own decryption function on the noisy ciphertext
- Producing a fresh ciphertext with low noise that encrypts the identical plaintext
This self-referential property—using encryption to evaluate its own decryption—is what makes FHE possible.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Bootstrapping is a critical noise management technique that enables unlimited computation in fully homomorphic encryption. The following concepts are essential for understanding how bootstrapping fits into the broader FHE ecosystem.
Noise Budget
The finite amount of cryptographic noise a ciphertext can tolerate before decryption fails. Each homomorphic multiplication roughly squares the noise, while additions increase it linearly. When the noise exceeds a critical threshold, the ciphertext becomes undecryptable. Bootstrapping is the mechanism that resets this budget to its original level, enabling circuits of arbitrary depth. Monitoring noise consumption is a core responsibility of FHE compilers.
Programmable Bootstrapping
An extension of standard bootstrapping in the TFHE scheme that performs two operations simultaneously: it refreshes the ciphertext's noise budget and evaluates a lookup table (LUT) function on the encrypted data. This enables the evaluation of arbitrary univariate functions—such as activation functions like ReLU or sigmoid—in a single step. Programmable bootstrapping is what makes TFHE particularly efficient for binary and discrete neural network inference.
Modulus Switching
A lightweight noise management technique that scales down the ciphertext modulus to proportionally reduce the absolute noise, effectively extending the noise budget without executing a full bootstrapping operation. While modulus switching is computationally cheaper than bootstrapping, it permanently reduces the modulus and can only be applied a limited number of times. It is often used in leveled FHE schemes to manage noise between bootstrapping operations.
TFHE Scheme
A fast fully homomorphic encryption scheme that evaluates individual binary gates on encrypted bits via a technique called blind rotation. TFHE's bootstrapping is exceptionally fast—on the order of milliseconds per gate—making it the preferred scheme for applications requiring low-latency evaluation of arbitrary functions. The scheme's programmable bootstrapping capability is foundational for private machine learning inference on encrypted data.
Leveled Fully Homomorphic Encryption
A variant of homomorphic encryption that can evaluate circuits of a predetermined multiplicative depth without bootstrapping. The scheme parameters are chosen at setup to accommodate a specific number of operations, after which decryption is no longer possible. Leveled FHE avoids the computational overhead of bootstrapping entirely, making it suitable for applications where the computation depth is known in advance, such as fixed-architecture neural network inference.
Relinearization
A key-switching technique that reduces the size of a ciphertext after a homomorphic multiplication. Without relinearization, each multiplication would cause the ciphertext dimensions to grow quadratically, rapidly becoming unmanageable. While distinct from bootstrapping, relinearization is a complementary noise and size management tool used in schemes like BFV and CKKS to maintain computational efficiency between bootstrapping operations.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us