The authors have designed an adaptive optical codes-based system for communications over the indoor wireless optical channel when large numbers of users access to the channel simultaneously. This system uses a code-division multiple access (CDMA) scheme based on the named random optical codes (ROC). The authors present the characteristics of this kind of optical codes and several results about its performance over noisy indoor wireless optical channels. Finally, the authors describe a CDMA system which adapts its performance to the number of users which are accessing simultaneously to the channel. The proposed system is able to maintain a target bit error rate adapting its data throughput independently of the number of simultaneous users in the optical environment, whenever certain conditions are accomplished.