A system (34) for controlling lateral tilt of a header (24) of an agricultural machine, uses gauge wheels (50) or skids (52) on lateral ends (54, 56) of the header (24) in combination with operation in a free float mode for maintaining uniform cut height across the header (24), and automatically changes to a controlled tilt mode when one or more conditions for that mode is present. During operation in the controlled tilt mode, if a condition or conditions for free float is present, the system (34) will operate in that mode. The system (34) can also optionally damp relative up and down movements of the gauge wheels (50) or skids (52) and the header (24) on each end, and can limit the tilt in the free float mode.