A working machine includes a frame, a cab arranged on the frame, and a lateral support arranged between the frame and the cab for taking up load from the cab to the frame when lateral displacement of the cab takes place in a direction toward the side on which the lateral support is arranged to allow an initial lateral displacement of the cab before its function of taking up load is activated.