The utility model relates to the technical field of computer mainboards, and discloses a computer mainboard fixing structure for a computer, which comprises a case side shell, a connecting mechanism arranged on the front side of the case side shell, a mounting mechanism arranged on one side of the connecting mechanism, a mainboard body arranged on one side of the mounting mechanism, and a fixing box, the fixing box is arranged on one side of the connecting mechanism, springs are fixedly connected to the inner wall of the fixing box, moving blocks are fixedly connected to the ends, away from the fixing box, of the springs, and connecting plates are fixedly connected to the sides, away from the springs, of the moving blocks. According to the computer mainboard fixing structure for the computer, through the arrangement of the mounting mechanism, under the mutual contact action of the first soft block and the second soft block, the purpose of mounting limiting can be achieved, meanwhile, it is guaranteed that the situation that the mainboard body is damaged due to too large pressure is avoided, operation can be achieved without the help of external tools in the mounting process, and use is convenient. Good installation efficiency can be achieved, and the operation convenience of the device is improved.