The performance of FSO communication link is subject to numerous atmospheric factors in wireless communication like fog, rainfall, and haze which leads to deteriorate the performance of a system in term of BER and power at the receiver side. Due to numerous advantages of OCDMA over other access techniques, it allows various users to access a channel simultaneously without intervention with the other user. It has the ability to provide security, large number of users, privacy, reduce interference from multiple users and operate asynchronously. So, in this paper, Multi-Diagonal codes along with the fiber brags grating filters for Spectral amplitude coded OCDMA technique is developed for FSO system and performance analysis is performed in terms of BER and received power.