The downlink transmission of a 1 Gb/s 15-user code-division multiplexing (CDM) over wavelength-division-multiplexing passive optical network (WDM-PON) based on electrical spatial coding and subcarrier multiplexing is experimentally demonstrated. Two wavelengths with 100-GHz spacing are used to carry the 15 spatial encoded subcarriers generated by an arbitrary waveform generator. Our results show that error-free operation can be achieved after 20-km standard single-mode fiber (SSMF) transmission when 15 simultaneous users are present assuming that forward-error correction coding is used.Index Terms-Code-division multiplexing (CDM), digital signal processing (DSP), passive optical network (PON), subcarrier multiplexing.