In this work, we investigate the energy efficiency in optical code division multiplexing access (OCDMA) networks with forward error correction (FEC). We have modeled the energy efficiency considering the capacity of information transmitted and the network power consumption. The proposed network power consumption model considers the optical transmitter, receiver, optical amplifiers, FEC and network infrastructure as encoders, decoders, star coupler and network control in the overall optical power network consumption balance. Furthermore, an expression relating the signal-to-noise-plus-interference ratio gain for forward error correction with low-density parity-check code scheme considering the power consumption and bandwidth occupancy has been derived. Numerical results for OCDMA networks with aggregated FEC procedure have revealed the viability of the FEC deployment aiming to increase the overall energy efficiency of OCDMA networks.