This paper presents an improvement design of an Optical Code Division Multiple Access for Radio over Fiber (OCDMA-RoF) system. This improved system is divided into two main subsystems, Central Stations (CS) and Base Station (BS). Implement OCDMA code into RoF system promised a secure, cost-effective, and high-capacity mobile and multimedia wireless services. The analysis was made based on the relationship between length of fiber, frequency carrier, BER performance and number of optical line terminal (OLT) and optical network unit (ONU). The Bit Error Rate (BER) performance was measured, evaluated, and compared through software simulation. Results demonstrate the proposed framework can expand the fiber cable up to 60km and maintain the performance until 500Mbps data bit rate while keep up the BER at 10-9 that is coordinating the understanding of hypothetical expectations and huge change over the past outline of OCDMA-RoF framework. The work exhibited has significant ramifications for future investigations of the OCDMA-RoF framework and may one-day take care of the issue of fiber optic long transmission.