A hard fork is a radical change to the protocol of a blockchain network that makes previously invalid blocks or transactions valid, and vice versa. This requires all nodes or users to upgrade to the latest version of the protocol software. It is essentially a divergence in the blockchain, resulting in two separate chains with a shared history up to a certain point.