How it works
ECC (error-correcting code) memory adds extra bits so the memory controller can detect and usually correct single-bit flips before bad data reaches the CPU. Regular consumer DIMMs store data without that safety net: a flipped bit from cosmic rays, marginal voltage, or a flaky chip can pass straight into a filesystem write. ECC modules use a Hamming-style code (and on modern DDR5, on-die ECC plus a separate chip-side ECC path depending on the module class) so the controller can fix single-bit errors and flag multi-bit ones.
Unbuffered ECC UDIMMs are what many small TrueNAS / Proxmox boxes want: same 288-pin DIMM form factor as desktop RAM, but the motherboard and CPU must explicitly list ECC support. Registered / buffered ECC (RDIMM) is the server default and will not seat in a desktop board. Mixing ECC and non-ECC sticks, or stuffing ECC into a board that only accepts non-ECC, usually means no POST or ECC disabled. Always match the board QVL (qualified vendor list) for part number, rank, and speed.
DDR5 consumer modules also advertise "on-die ECC," which protects inside the DRAM chip only. That is not the same as system-level ECC that protects the path from DIMM to CPU. When people say "buy ECC for TrueNAS," they mean the system-level kind that shows up in dmidecode / edac-util as correctable error counts.
When it matters
It matters when a memory error would quietly corrupt a ZFS write, a database page, or a VM disk image you care about for years. Home media NAS appliances (Synology, most consumer mini PCs) almost always ship non-ECC RAM and never expose an ECC upgrade path; that is normal and fine for photo libraries with a real 3-2-1 backup habit. The ECC debate spikes on DIY TrueNAS builds, where folklore sometimes treats ECC as mandatory. In practice, ECC is nice-to-have insurance for long-lived pools; backups and CMR disk choices still matter more than the ECC checkbox.
Buy ECC when the motherboard QVL lists ECC UDIMMs (or RDIMMs for a real server board), you are storing irreplaceable data on a single chassis for years, and the price delta fits the budget. Skip it on sealed appliance NAS boxes, soldered mini PCs, and boards that only list non-ECC SODIMMs. Never treat ECC as a substitute for offsite copies or a UPS.
Related products
A literal ECC UDIMM for boards that list it on the QVL, an x86 4-bay NAS people use for TrueNAS (check whether that chassis actually accepts ECC before you order sticks), and a typical appliance NAS that ships non-ECC by design.
The Kingston Server Premier 32GB DDR5 ECC UDIMM is an unbuffered ECC DDR5 stick for motherboards and CPUs that explicitly support ECC UDIMMs; confirm the exact Kingston part on the board QVL before buying (registered RDIMMs will not work in desktop ECC UDIMM slots).
The UGREEN NASync DXP4800 Plus is an x86 4-bay NAS (Pentium Gold, DDR5, 10GbE) often used for TrueNAS SCALE; treat it as the chassis where the ECC question comes up, and verify current RAM / ECC support in the maker docs before ordering ECC sticks.
The Synology DiskStation DS225+ is a sealed 2-bay DSM appliance with non-ECC RAM and no DIY DIMM upgrade path; it is the normal home-NAS path where ECC is simply not on the shopping list.
Read next
Pool checksums and self-healing: ZFS. Appliance snapshots without DIY ECC: Snapshot, Btrfs, SHR. Drive recording for members: CMR. Chassis choice: Synology DS225+ vs UGREEN NASync DXP4800. Off-box copies still win: 3-2-1 Backup Strategy for NAS.