We show that quantum error correction is
realized by the renormalization group in scalar field theories.
We construct a $q$-level system in the IR region by using
coherent states. We encode it in the UV region by acting
on the states in the $q$-level system the inverse of the unitary
operator that gives the renormalization group flow
of the ground state. We find that the condition for quantum error
correction is
satisfied for operators that create coherent states.
We confirm this to the first order in the perturbation theory.
This result suggests a general relationship between
the renormalization group and quantum error correction
and should give insights into their role
in the AdS/CFT correspondence.