The invention relates to the technical field of computers and discloses a computer fixing device for a ship. The computer fixing device includes a table, the top of the table is fixedly connected witha clamping plate through a bottom plate, the top of the clamping plate is connected with a computer base in a clamping mode, a first fixing plate is fixedly connected to one side of the clamping plate, a second fixing plate is movably connected to one side, far away from the first fixing plate, of the top of the bottom plate, a moving rod is fixedly connected with the side face of the second fixing plate, a stop collar is movably connected with the outer surface of the central part of the moving rod, the bottom of the stop collar is fixedly connected with the top of the bottom plate through afixing rod, and a handle is fixedly connected with one end, far away from the second fixing plate, of the moving rod through a connection block. According to the computer fixing device, the handle ispushed to provide convenience for linear movement of the moving rod and fixation of the computer base. The clamping plate is arranged to provide convenience for clamping connection of the computer base and has the advantage of conveniently fixing the computer on the ship, and the shaking problem of the computer in navigation caused by the fact that the computer is easy to shake as the ship shakesis solved.