We proposed newly two-dimensional (2-D) spectral amplitude coding optical code division multiple access (OCDMA) scheme using modified double weight (MDW) code capable of suppressing phase-induced intensity noise (PIIN). The architecture of the spectral/spatial MDW OCDMA system with the property of multi-access interference cancellation is presented. The proposed code exhibits good cross-correlation property. At the optimized data transmission rate of 0.745 Gbps, 2-D MDW, M = 63, N = 3, reaches maximum cardinality of 200% increases compared to 2-D perfect difference code, M = 57, N = 3. The performance is severely deteriorated if the data rate further increases above 0.745 Gbps. The proposed code meets the optical transmission requirements at 10−9 bit error rate error floor, with lowest effective transmitted power (Psr), −17.5 dBm, in comparison to the others through minimizing interference noise that result in PIIN suppression. The proposed system reaches optimum requirements performance in terms of cardinality, data transmission rate, and low effective transmitted power.