The application discloses a totally-enclosed screw compressor, which comprises a tank body, a
flange, a motor and a compression
assembly, an oil inlet interface is arranged on the side wall of the tank body, the
flange is fixedly connected to the inner circumferential wall of the tank body, the
flange is provided with a mounting hole, the mounting hole is arranged in correspondence with the oil inlet interface, the motor and the compression
assembly are both mounted in the tank body, the compression
assembly comprises a casing and a screw assembly, the screw assembly is mounted in the casing, the motor is connected with the screw assembly and drives the screw assembly to rotate, a connecting part is arranged on the casing, the connecting part is connected with the flange through bolts to realize the fixation of the casing, a sealing element is arranged between the connecting part and the flange, and the motor is eccentrically arranged on one side close to the mounting hole. The application can avoid misplacement or deviation during installation, so that the installation personnel can more quickly and accurately align the mounting hole with the oil inlet interface, the alignment during installation is facilitated, the precision during the assembly of parts can be improved, the convenience and reliability during the installation process are improved, misassembly is prevented, and time is saved.