Currently, there are three types of optical communication networks based on the communication channel between the transmitter and receiver: the optical fiber channel, visible light channel, and optical wireless channel networks. The last type has several advantages for underwater communication, wireless sensors, and military communication networks. However, this type of optical network suffers from weather conditions in free-space communications and attenuation owing to the scattering and absorption mechanisms for underwater communication. In this study, we present a new transceiver architecture of a coherent optical code-division multiple-access (OCDMA) system based on a hybrid M-ary differential pulse position modulation scheme and a spreading code sequence called weighted modified prime code for underwater communication to minimize channel dispersion, increase the transmission rate per second, enhance the network bit error rate (BER) performance, and improve network security. Using an OCDMA system, we can simultaneously expand the network coverage area and increase the number of users sharing the network over the same channel bandwidth. The simulation results in this study proved that the proposed system can accommodate 1310 active users and a network throughput of 180 Gbps*user over a transmission distance of 930 m without any repeater at a 10−9 BER performance, compared to the 45 Gbps*user network throughput and 100 m transmission distance reported in the literature.