Abstract-Optical code-division multiple access (OCDMA) combines the large bandwidth of the fiber medium with the flexibility of the CDMA technique to achieve the high-speed connectivity.OCDMA has the potential to support asynchronous, bursty communications. The establishment of OCDMA needs to overcome the cardinality problem of 1-D codes. In order to increase the number of users, unipolar codes with larger capacity need to be designed. In this paper we have analyzed the performance of an incoherent OCDMA scheme based on wavelength/time codes. This paper shows that 2-D codes have better spectrum efficiency than 1-D OCDMA codes of the same cardinality.Index Terms-Code-division multiple access (CDMA), unipolar codes, wavelength hopping/time spreading (W/T), encoding, cardinality, multiple access interference (MAI).