A latching mechanism for securing a header to an agricultural vehicle has latching pins located on opposite sides of a centerline of the vehicle. The latching pins are movable between latched and unlatched positions from the same side of the machine. As one example, the harvester is an agricultural combine harvester and the header mounts to a feederhouse. The latching mechanism can be mounted to the feederhouse and moved into and out of engagement with the header to retain or remove the header.