The Near-Infrared Spectrograph (NIRSpec) is one of the four science instruments onboard the James Webb Space Telescope (JWST). The instrument features a focal plane array (FPA) consisting of two 2048 × 2048 HAWAII-2RG sensor chip assemblies (SCAs) with a cutoff wavelength of approximately 5.3 μm. The detectors are read out via a pair of SIDECAR ASICs. To ensure a stable operating environment and best performance, the FPA is temperature controlled via a dedicated control loop by the NIRSpec focal plane electronics. The targeted in-orbit operating temperature of the NIRSpec FPA is close to 42.8 K. Due to the low background levels that the JWST will provide, most NIRSpec observations of very faint targets will be detector noise limited. Therefore, stringent noise requirements on the detector system were put in place. In order to meet these requirements, NIRSpec offers a dedicated readout mode for its detectors that is called improved reference sampling and subtraction (IRS2 ). In this paper we present the noise performance of the NIRSpec detectors as a function of readout mode and exposure parameters. We find that the NIRSpec detector system meets its stringent noise requirement of 6 electrons total noise in a ̃ 1000 second exposure. We also highlight the types and effects of different kinds of bad pixels that are present in the detectors in small numbers.