The invention belongs to the field of server design and particularly discloses an I2C (Inter-Integrated Circuit) interface-based method for realizing the NVME SSD (Non-Volatile Memory Express Solid State Disk) lighting through a CPLD (Complex Programmable Logic Device). According to the I2C interface-based method for realizing the NVME SSD lighting through the CPLD, an I2C of a CPU (Central Processing Unit) is connected to the CPLD to decode the information sent by the CPU and carry out an indicator lamp function on the working condition of NVME SSD; the working condition of the NVME SSD can be effectively and intuitively seen like an ordinary SATA (Serial Advanced Technology Attachment) or SAS (Serial Attached SCSI (Small Computer System Interface)) hard disk, the working condition of the NVME SSD can be intuitively judged by seeing a condition indicating lamp on a user interface through naked eyes, which is very intuitive, convenient and fast; moreover, by adopting the scheme of the CPLD, the follow-up maintenance is easier, and if an additional function needs to be increased, only CPLD FW(Firm Ware) needs to be changed; and the method has the advantages of being low in specific cost, strong in practicality, convenient to maintain and flexible to debug.