The invention discloses a computer mainframe with the dustproof and heat dissipation functions, and relates to the technical field of computers. The computer mainframe comprises a box, a first partition plate is fixedly connected between the top and the bottom of the inner wall of the box, a second partition plate and the third partition plate are fixedly connected between the left side of the first partition plate and the left side of the inner wall of the box in sequence from top to bottom, a motor is fixedly connected with the top of the second partition plate, a turbine is arranged on the surface of an output shaft of the motor in a sleeving mode, a worm is rotationally connected to the right side of the top of the first partition plate through a bearing, a rotating rod is fixedly connected to the top of the worm through a coupling, and the end, far away from the second partition plate, of the rotating rod penetrates through the box and extends to the outside of the box. According to the computer mainframe with the dustproof and heat dissipation functions, the purpose of conducting dust prevention on the computer mainframe is achieved, the phenomenon that due to the fact that dust is sucked, the interior of the mainframe box is polluted is avoided, and meanwhile the phenomenon that due to the fact that charged dust is sucked, and the short circuit of a mainboard is caused is avoided.