According to the increased demand for high-quality fruits and vegetables and the disappearing the trade limitations in recent years, mechanized agriculture has increasingly been required. Meanwhile, early detection of plant diseases, which reduces the quality and quantity of products, has been widely considered. On the other hand, cucumber is the first produced greenhouse crop in Iran. The presence of the disease in this plant causes reducing the growth and decreasing the yield. Cucumber mosaic virus (CMV) is one of the most common viral diseases with a wide host range. Early, rapid, and automatic diagnosis of this disease can be effective in controlling loos management and increasing productivity. Health monitoring and diagnosis of CMV are commonly performed using molecular methods such as polymerase chain reaction (PCR) that requires the precise sampling and time-consuming experiments. Therefore, development of a non-destructive method which can early detect the symptoms of the disease seems to be necessary. In this study, the ability of visible and near-infrared (Vis/NIR) spectroscopy to detect the early symptoms of CMV was evaluated. For this purpose, the leaves with the CMV suspected symptoms were first collected, by iecting the cucumber greenhouses and farms around the city of Isfahan. In the next step, 214 cucumber plants were cultivated, 124 of which were infected with CMV by mechanical insemination method, and the remaining 90 plants were kept intact. A photo-diode array Vis/NIR spectrometer equipped with a CCD detector with the resolution of 2 nm and the range of 200-1100 nm was used to record the leaf spectra. The spectrometer was equipped with a bifurcated fiber optic, a sample holder, and a halogen light source. After the mechanical inoculation of the virus, the samples were irrigated regularly for a maximum of 17 days until the symptoms emerged. During this period, spectral collection was carried out every two days until the end of the seventeenth day. Then, the samples were divided into three Keywords: NIR Spectroscopy, cucumber, Cucumber mosaic virus, Soft independent modeling of class analogy, Linear discriminant, Quadratic discriminant, Support vector machine, Artificial neural networks.