This study evaluates the performance of a two-dimensional optical code division multiple access (2D-OCDMA) system using underwater wireless optical communication (UWOC) over different water types. Key factors such as bit error rate (BER), link distance, inclination angle, beam divergence, and user codes were analyzed, revealing that performance declines with water impurity and user numbers. Results indicate optimal transmission conditions in pure sea water versus increased degradation in coastal ocean water due to scattering and absorption effects.