An agricultural work machine is provided comprising a surroundings detection device for detecting a surroundings in sections, and one or more controllable working elements, wherein the surroundings detection device generates surroundings detection signals, which can be processed in a control and regulating device assigned to the agricultural work machine, wherein the surroundings detection device is designed as a scanner, which scans the surroundings in scanning planes, and wherein each scanning plane is assigned to the control of working elements.