The performance of WDM+OCDMA system was analyzed based on optical orthogonal codes (OOC). Employing four wavelength channels and three OOCs, simulations were performed on a 12-user WDMA+OCDMA system with the data rate of 1Gbit/s, single mode fiber (SMF) of 50 km and dispersion compensation fiber (DCF) of 5 km. And increasing the number of users can be realized by adding wavelength channels or OOCs. The influence of dispersion effect on WDMA+OCDMA system was analyzed, and the effects of relative delays on the multiple-access interference and system performance were also researched.