---
title: "Ring Learning With Errors (RLWE)"
description: "Noisy multiples of a secret ring element are indistinguishable from random. The rank-1 case of Module-LWE. Schemes that rely on it, evidence of hardness, and best known attacks."
url: "https://pqt-19a6ffd695e12a.pages.dev/assumptions/rlwe/"
site: "PQ Tracker, maintained by zkSecurity"
reviewed: "2026-11-25"
license: "https://creativecommons.org/licenses/by/4.0/"
---

# Ring Learning With Errors (RLWE)

Lattices · Hardness assumption

Noisy multiples of a secret ring element are indistinguishable from random. The rank-1 case of Module-LWE.

**zkSecurity** · Reviewed 2026-11-25

## Statement

Let R_q = ℤ_q[X]/(X^n + 1). Let s be a secret element of R_q and, for each sample, let a be uniformly random in R_q and e have small coefficients. Given samples

(a, b = a·s + e mod q)

the search problem is to find s; the decision problem is to distinguish the samples from uniform. Ring-LWE is [Module-LWE](https://pqt-19a6ffd695e12a.pages.dev/assumptions/mlwe/) of rank 1: a single ring element takes the place of the matrix. One sample encodes n scalar equations, which gives the smallest keys of the LWE family and the most algebraic structure.

## Use in schemes

- No NIST standard relies on Ring-LWE directly. ML-KEM and ML-DSA use modules of rank 2 or more over a ring of the same kind.
- NewHope, a Ring-LWE KEM, reached round 2 of the NIST process and was not advanced. Kyber, the same design over modules, was.
- The homomorphic encryption schemes BGV, BFV and CKKS rely on Ring-LWE.

## Relation to other assumptions

| Assumption | Relation | Consequence |
| --- | --- | --- |
| [Module-LWE](https://pqt-19a6ffd695e12a.pages.dev/assumptions/mlwe/) | Ring-LWE is the rank-1 case. Conversely, Module-LWE of rank d and modulus q reduces to Ring-LWE over the same ring with modulus q^d and a larger error rate (Albrecht and Deo, 2017). | A general Ring-LWE algorithm, effective at large modulus, breaks Module-LWE and with it ML-KEM and ML-DSA. An attack confined to rank 1 at small modulus does not. |
| [LWE](https://pqt-19a6ffd695e12a.pages.dev/assumptions/lwe/) | A Ring-LWE sample expands to n LWE samples with a structured matrix. | A general LWE algorithm breaks Ring-LWE. The converse is not known. |
| [NTRU](https://pqt-19a6ffd695e12a.pages.dev/assumptions/ntru/) | Decision NTRU reduces to search Ring-LWE. This bounds the hardness of NTRU from above only. | A Ring-LWE algorithm breaks NTRU, and with it FN-DSA key security. An NTRU attack does not imply a Ring-LWE attack. |
| Ideal-SVP | Ring-LWE is at least as hard as worst-case approximate SVP on ideal lattices. Equivalence is not known. | An efficient Ideal-SVP algorithm removes the worst-case guarantee. It does not by itself solve Ring-LWE. |

## Evidence of hardness

- Lyubashevsky, Peikert and Regev (2010): a quantum reduction from worst-case approximate SVP on ideal lattices to search Ring-LWE, and a search-to-decision reduction for cyclotomic rings. Peikert, Regev and Stephens-Davidowitz (2017) extended the decision result to any ring and modulus.
- The reduction is from ideal lattices, a narrower class than module or general lattices. It is asymptotic and is not used to set parameters.
- No known algorithm exploits the ring structure of power-of-two cyclotomic instances with standard error distributions.

## Best known attacks

- **Lattice reduction.** As for LWE and Module-LWE in dimension n: BKZ with sieving, primal and dual.
- **Ideal-SVP.** In cyclotomic rings, quantum algorithms find vectors within a subexponential approximation factor in polynomial time (Cramer, Ducas, Peikert and Regev, 2016; Cramer, Ducas and Wesolowski, 2017). The factors are far larger than those the reduction or the schemes depend on, and the algorithms do not solve Ring-LWE.
- **Weak instances.** Instances over specially chosen number fields or with non-standard error distributions were shown to be weak in 2015 and 2016. Power-of-two cyclotomic rings with standard errors are not affected.

## Limitations

- Security is raised only by increasing the ring dimension, which for power-of-two cyclotomics doubles at each step. Module-LWE fixes the ring at dimension 256 and varies the rank instead.
- Rank 1 is the case with the most structure per unit of dimension. This is the stated reason for preferring modules in ML-KEM and ML-DSA: an attack exploiting ideal structure would not necessarily extend to rank 2 or more.

- **Status**: Standing
- **Studied since**: 2010 (Lyubashevsky, Peikert, Regev, 2010)
- **Exploitable structure**: Ideal lattices of a cyclotomic ring (rank 1)
- **Worst-case reduction**: Yes, from Ideal-SVP (asymptotic only)
- **Quantum speedup**: Small for Ring-LWE; subexponential approximation of Ideal-SVP in cyclotomic rings

### Relied on by

- **[NTRU+](https://pqt-19a6ffd695e12a.pages.dev/algorithms/ntru-plus/)** (Search Ring-LWE: one-wayness of the ciphertext once the public key is replaced by a uniform element)

### Consequence of failure

Schemes built directly on Ring-LWE fail, including RLWE-based homomorphic encryption. A general attack effective at large modulus also breaks Module-LWE (ML-KEM, ML-DSA) by reduction, and NTRU; an attack confined to rank 1 does not reach Module-LWE.

### Related

[Module-LWE](https://pqt-19a6ffd695e12a.pages.dev/assumptions/mlwe/), [LWE](https://pqt-19a6ffd695e12a.pages.dev/assumptions/lwe/), [NTRU](https://pqt-19a6ffd695e12a.pages.dev/assumptions/ntru/), [Module-SIS](https://pqt-19a6ffd695e12a.pages.dev/assumptions/msis/)

**References (8)**

- [Lyubashevsky, Peikert, Regev: On ideal lattices and learning with errors over rings](https://eprint.iacr.org/2012/230)
- [Peikert, Regev, Stephens-Davidowitz: Pseudorandomness of Ring-LWE for any ring and modulus](https://eprint.iacr.org/2017/258)
- [Albrecht, Deo: Large modulus Ring-LWE ≥ Module-LWE](https://eprint.iacr.org/2017/612)
- [Peikert, Pepin: Algebraically structured LWE, revisited](https://eprint.iacr.org/2019/878)
- [Pellet-Mary, Stehlé: On the hardness of the NTRU problem](https://eprint.iacr.org/2021/821)
- [Cramer, Ducas, Peikert, Regev: Recovering short generators of principal ideals in cyclotomic rings](https://eprint.iacr.org/2015/313)
- [Cramer, Ducas, Wesolowski: Short Stickelberger class relations and application to Ideal-SVP](https://eprint.iacr.org/2016/885)
- [Alkim, Ducas, Pöppelmann, Schwabe: Post-quantum key exchange: a new hope](https://eprint.iacr.org/2015/1092)

### Data

[data.json](https://pqt-19a6ffd695e12a.pages.dev/assumptions/rlwe/data.json)
